Page 1 of 1

help needed in editing part !

Posted: Mon Dec 19, 2005 8:40 pm
by burnhallian
HawleyJR | Please use

Code: Select all

and

Code: Select all

tags where appropriate when posting code. Read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]

hello all !

can someone help me... actually im trying to edit a form. so when i edit it, it does not give me the whole part of what i have already submitted it just gives me the first letter of what i have submitted earlier. what i want is that it should get the whole thing from the database that i have to edit....  thanx in advance.  the code of one is below:

Code: Select all

<tr><td valign="top" colspan="2"><font face="Arial" size="3"><b>Completion report done by   &nbsp  </b> <input type="varchar" name="reportby" size="30" maxlength="250"

value = <?php echo $row['reportby']; ?> /><HR></td> 

</tr>
HawleyJR | Please use

Code: Select all

and

Code: Select all

tags where appropriate when posting code. Read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]

Posted: Mon Dec 19, 2005 8:43 pm
by d3ad1ysp0rk
<input type="text"> not varchar.

Also, you didn't close your quotes (or open them?) for the value attribute.

Posted: Mon Dec 19, 2005 9:05 pm
by burnhallian
thanx man ! it worked :D
and thanx for ur instant reply also