Problem with forms

Reply

Join Date: Apr 2007
Posts: 1
Reputation: jampaul3 is an unknown quantity at this point 
Solved Threads: 0
jampaul3 jampaul3 is offline Offline
Newbie Poster

Problem with forms

 
0
  #1
Apr 18th, 2007
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.
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 4
Reputation: landae is an unknown quantity at this point 
Solved Threads: 1
landae landae is offline Offline
Newbie Poster

Re: Problem with forms

 
0
  #2
Apr 18th, 2007
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.
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 136
Reputation: dr4g is an unknown quantity at this point 
Solved Threads: 5
dr4g's Avatar
dr4g dr4g is offline Offline
Junior Poster

Re: Problem with forms

 
0
  #3
Apr 20th, 2007
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC