How to post coding inside of an echo, php?

jack

New member
I'm rusty with my php and right now the only thing I can't figure out is how to do the following:

Example:
echo"
<input class='field' type='text' name='user' id='user' value='<? echo $form->value("user"); ?>' size='30' />

the problem here is that $form->value("user") must be in quotes.. if i remember correctly.
if i take it out of quotes and use 'user' instead, then everything within value=' ' shows up.. and nothing's supposed to show up.

How do i get: <? echo $form->value("user"); ?>

To work in : <input class='field' type='text' name='user' id='user' value='' size='30' />
pleaseinsertacoin, i definately never knew that so that'll help in the future i know but it didn't help the situation at hand sadly
 
Back
Top