PHP script for a page to display a .jpg image
I created a page in PHP that displays a form which feeds info into a mysql database. However, once users complete the form, I need a script that will allow the page to display a specific .jpg image.
Is there a script to this. Need help PLS????
August 14th, 2010, 10:01 AM
I'm guessing you mean if they have submitted data you want to show a image like
blah blah you completed this form...
on ur script page which you are sending data to you should have a $_POST['xxx'] on it in which i'm hoping you are using
// do your form checking to make sure everything is ok...
// everything is good
echo '<img src="path/to/image.jpg" />';