Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Populate form field with db data 1

Status
Not open for further replies.

frozenpeas

Technical User
Sep 13, 2001
893
CA
Hi, my fields are just showing up blank. Does anyone know why?

Thanks.

I am calling the row properly and am able to use the data elsewhere. I think it's the syntax of my code. I have narrowed the problem down to the lines below.

Code:
<?
echo '<input name=&quot;date&quot; type=&quot;text&quot; id=&quot;date&quot; maxlength=&quot;6&quot; size=&quot;6&quot; value=&quot;'.$row['date'].'&quot;>';
?>
 
You shouldn't just post code and expect the reader to figure it out. And I guess your code isn't lovely? ______________________________________________________________________
TANSTAAFL!
 
frozenpeas,

There is a difference between casual and deliberate obtuseness. I practice the latter.
______________________________________________________________________
TANSTAAFL!
 
Hey, you're the one who had his knickers in a twist. ______________________________________________________________________
TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top