Thursday, December 04, 2008

Okay. So, the previous error was actually pretty straightforward. in PHP, concatenation is done by . , so for example, a string with a value (such as what I had before) is done like so:
("stringData".$phpVariable."more string data")
So (fixed in previous post) I needed static references to the columns, which are `firstName` and `lastName`. Now, I have a situation where everything goes through, but my output is not displayed, but it gets the right amount of data entries. Just have to see where I'm screwing up in this tidbit:

$row = mysql_fetch_assoc($result);
do {
print("{$row['`eMail`']}");
print("{$row['`firstName`']}");
print("{$row['`lastName`']}");

$row = mysql_fetch_assoc($result);
} while($row);
?>
Post when I figure it out.

No comments: