Hi all,

I am having a problem with my php and forms. Any help would be verty greatly appreciated. The problem is form objects are not showing up at times and they are at other times.

Has any one heard of this happening and if so is there a fix?

I looked at the source code and noticed that everything is there but it isn't showing up on the screen. I also noticed that I could highlight the textarea but the information that is suppose to show up in the textarea is not there and it appears as though the textarea is not there at all either.

My php code is as follows:

<form enctype="multipart/form-data" method="post" action="postPic.php">
<input type="hidden" name="pic" value="<? echo $pic; ?>" />
<input type="hidden" name="city" value="<? echo $city; ?>" />
<input type="hidden" name="saying" value="<? echo $saying; ?>" />
<input type="file" name="uploadFile" id="uploadFile" class="input" /><br />
It looks like from here
<div class="input">
Message to go with this picture.<br />
<textarea name="say" rows="5" cols="20"><? echo $say; ?></textarea></div>
to here isn't showing up on the screen but looking at the source code below it is there just not showing up on the screen.
<div class="submit"><input type="image" src="../images/upload.png" name="submit" value="Upload" /></div>

</form>

It appears that everything in the div with a class name of input is missing on the screen

The source code from the page follows:

<form enctype="multipart/form-data" method="post" action="postPic.php">
<input type="hidden" name="pic" value="6" />
<input type="hidden" name="city" value="Grandville" />
<input type="hidden" name="saying" value="3" />
<input type="file" name="uploadFile" id="uploadFile" class="input" /><br />
Starting here it isn't showing on the screen
<div class="input">
Message to go with this picture.<br />
<textarea name="say" rows="5" cols="20">Christian reality</textarea></div>Ending here
<div class="submit"><input type="image" src="../images/upload.png" name="submit" value="Upload" /></div>

</form>

It isn't making much sense to me so any help is appreciated.

If it is echo'ing in source it isn't a problem with the php. I suggest it has to do with the design of the site.

Instead of using <div class="input">

Do <input type="text" class="input" ....

you may find it works a little better.
not a solution, just a suggestion

This article has been dead for over six months. Start a new discussion instead.