PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Guys I need to put each of my table coloumns into this eco statement but it wont work as the records will appear with quotes around them and if i mess around with it too much then it wont work at all - how would i put in the following coloumns into this statement: salutation, firstname, surname, organisation? please help im stuck. thank you.
while ($row = mysql_fetch_object($sql)) {
echo "$count. "$row->salutation">$row->firstname<br />\r\n"; // this is example, you may enter here anything you like
$count += 1;
}
I done what u suggested but took out the extra quote marks because salutation was still appearing with quote marks but now each data item is appearing right next to each other e.g MrAndy what should I do
?>