help needed in editing part !

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
burnhallian
Forum Commoner
Posts: 28
Joined: Tue Jul 12, 2005 2:47 am

help needed in editing part !

Post 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]
d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post by d3ad1ysp0rk »

<input type="text"> not varchar.

Also, you didn't close your quotes (or open them?) for the value attribute.
User avatar
burnhallian
Forum Commoner
Posts: 28
Joined: Tue Jul 12, 2005 2:47 am

Post by burnhallian »

thanx man ! it worked :D
and thanx for ur instant reply also
Post Reply