Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End How To Display Stored Image Using Path? Reply To: How To Display Stored Image Using Path?

#164295
MBM
Participant

I’m having the same problem with the form i.e. I can upload an image without any date in the form fields. I must have made a change and it’s screwed everythng up. I’ve checked yesterday’s backup but I made it before the code was working. I don’t think the php is the issue?

<form action="comics.php" method ="post" enctype="multipart/form-data">

<div><input id="name" class="insetcard" name="name" type="text" placeholder="Name" value="<?PHP print $name ; ?>"/>
<p class="error"><?php echo $nameErr;?></p></div>

etc, etc

<input type="file" name="upload" />

<input name="Submit" type="submit" class="submitbutton" value="submit">