Jump to content

Archived

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

my_r31_baby

is there a problem with this?

Recommended Posts

<td><input type="text" name="username" value= "<?php=$_POST['username']?>" size="40%"></td>

Everytime i load the page as soon as i enter the php code i get blank pages... Any ideas?

Share this post


Link to post
Share on other sites
you have to use short open tags when the = to print/echo

<td><input type="text" name="username" value= "<?=$_POST['username']?>" size="40%"></td>

or

<td><input type="text" name="username" value= "<?php echo $_POST['username']?>" size="40%"></td>

Share this post


Link to post
Share on other sites

×

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.