Jump to content

[SOLVED] rewrite help for undefined attribute name


mallard

Recommended Posts

Can someone help me rewrite this little piece of code to make it cleaner? The code works the way it is now but my editor flags the PHP part as an undefined attribute name.

<input name="time" type="text" id="time" size="5" <?php if($edit) print("value='$location'"); ?>>

Thanks for any help!

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.