Hellz Posted May 13, 2009 Share Posted May 13, 2009 echo "<tr><td>$row[Artist]</td><td>$row[Album] </td><td>$row[Price]</td><td>$row[ProductDesc]</td><td><img src=$row[image] ><td><input type='text" /> <td><a href=\"cart.php?ProductId=$row[ProductId]\">Add Item</a></td> </tr>\n"; All im trying to do is add a simple text box in but it does work. any help would be appriciated! Sorry i have fixed it myself but dont know how to delete this thread Link to comment https://forums.phpfreaks.com/topic/157964-solved-adding-a-simple-text-box-problem/ Share on other sites More sharing options...
jackpf Posted May 13, 2009 Share Posted May 13, 2009 If you use double quotes you need to put {} around your arrays. Link to comment https://forums.phpfreaks.com/topic/157964-solved-adding-a-simple-text-box-problem/#findComment-833168 Share on other sites More sharing options...
Dathremar Posted May 13, 2009 Share Posted May 13, 2009 quotes problem use <input type='text' /> not <input type='text" /> - 2nd quote is double quote Link to comment https://forums.phpfreaks.com/topic/157964-solved-adding-a-simple-text-box-problem/#findComment-833169 Share on other sites More sharing options...
Maq Posted May 13, 2009 Share Posted May 13, 2009 Sorry i have fixed it myself but dont know how to delete this thread You don't have to delete it, there is a tab option where you can mark threads as solved. Link to comment https://forums.phpfreaks.com/topic/157964-solved-adding-a-simple-text-box-problem/#findComment-833298 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.