Jump to content

[SOLVED] Putting a php variable into a form


cliftonbazaar

Recommended Posts

I have a form that shows peoples details and on this particular page they can change their details, so it needs to be a form that shows what values they have already have.

 

echo "<TR><TD>City/Suburb :</TD><TD><INPUT TYPE=Text NAME=city VALUE=".$user['city']." SIZE=15></TD>";

 

VALUE=".$user['city']." simply doesn't work, I have tried a few other variations (including VALUE ' ".$user['city']." ') but I'm still stuck  ???

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.