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. Quote 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>"; Quote 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 :/ Quote 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. Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/69994-solved-echo-a-table/#findComment-351990 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.