PHP using HTML editor - Page 2

User 2194035 Photo


Registered User
7 posts

I tried the iframe script you suggested. Still no image. Where there used to be a little square where the image should have been, there was a white-outlined rectangle with no image.

Is it possible that my PHP installation got corrupted and is messing everything up?
User 187934 Photo


Senior Advisor
20,181 posts
Online Now

Did you look at this?
Eric Rohloff wrote:
I would take a close look at this.
<iframe><src="headerpics/abb-heading-1d.jpg"></iframe>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2194035 Photo


Registered User
7 posts

Yes. As I said, I tried <iframe><src="headerpics/abb-heading-1d.jpg"></iframe> and the image did not display.
User 188640 Photo


Registered User
895 posts

Once upon a time there was a man who was trying to find a picture. He knew which storage building he kept the picture in but he couldn't find the right 'PATH' to the storage building. :D

Stephen,

I'm pretty sure Eric was giving you a hint when he said:

"I would take a close look at this.
<iframe><src="headerpics/abb-heading-1d.jpg"></iframe>"
A Rose is Just a Weed in a Corn Patch!
User 474778 Photo


Registered User
215 posts

Stephen,

As the guys have hinted, the info you've presented does suggest that (somehow) your browser no longer finds that .png file.

It's all too easy when trying a new idea (such as using PHP's require() or include() functions for the first time) to accidentally break something that previously worked.

Debugging suggestion: Use your browser to examine the HTML source code that WAMP is handing to it. (Exactly how to do that depends upon which browser you are using.) Find the line in the HTML code that points to the page's header image. Compare the path shown there to the path in the page's older, pre-PHP version that worked as desired. Do the paths shown in both versions point to the same file location?
halfnium -AT- alum.mit.edu
Yes, I looked just like that in 1962.
User 10077 Photo


Senior Advisor
1,095 posts

Your html has errors

<iframe><src="headerpics/abb-heading-1d.jpg"></iframe>"

which is why everyone is telling you to check your html code.
ASK ME ANYTHING
I provide personalized help for Coffeecup Users including training for Site Designer and Web Form Builder via Zoom.
Email me at support@usconsumernet.org or call 865-687-7698.

Did you know that Web Form Builder can be used for both simple and complicated forms and that it's not limited to the default fonts and buttons? Take a look at a form we developed for WindowTinting.com.
https://forms.windowtinting.com/forms/w … ppingcart/
User 2147646 Photo


Registered User
233 posts

Eric Rohloff wrote:
I would take a close look at this.
<iframe><src="headerpics/abb-heading-1d.jpg"></iframe>


Eric was not suggesting you should try this, he was pointing out your error :)
In the post where you pasted the PHP code you will find the above code, change it to <img src="headerpics/abb-heading-1d.jpg" /> ;)


Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.