SicKn3sS Posted September 20, 2007 Share Posted September 20, 2007 Hey, how can I echo a table such as this? <tr><td>$field:</td><td><input type="text" field="$value" value="$value" /></td></tr> I don't know how to make it echo the quotes as html. Link to comment https://forums.phpfreaks.com/topic/69994-solved-echo-a-table/ Share on other sites More sharing options...
pocobueno1388 Posted September 20, 2007 Share Posted September 20, 2007 echo "<tr><td>$field:</td><td><input type='text' field='$value' value='$value' /></td></tr>"; Link to comment https://forums.phpfreaks.com/topic/69994-solved-echo-a-table/#findComment-351547 Share on other sites More sharing options...
SicKn3sS Posted September 21, 2007 Author Share Posted September 21, 2007 It just shows up as nothing now :/ Link to comment https://forums.phpfreaks.com/topic/69994-solved-echo-a-table/#findComment-351956 Share on other sites More sharing options...
pocobueno1388 Posted September 21, 2007 Share Posted September 21, 2007 What do you mean "nothing". Is there at least a text box showing up? Or is the text box not showing the $value variable, if not then your variables don't hold a value. Link to comment https://forums.phpfreaks.com/topic/69994-solved-echo-a-table/#findComment-351960 Share on other sites More sharing options...
SicKn3sS Posted September 21, 2007 Author Share Posted September 21, 2007 Ahh I see, I forgot to pass it a variable. It works now thanks Link to comment https://forums.phpfreaks.com/topic/69994-solved-echo-a-table/#findComment-351990 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.