i keep getting an error when i put <td width="50%" bgcolor="#F3F3F3"> in a print. the error message is "Parse error: parse error, unexpected T_LNUMBER in /home/bertie/public_html/mobster/test3.php on line 41"
anyone know whats causeing this???
also is there a nice big php forum around? have just started on big project and dont wanna clutter up this area with my dumb questions.
<?php
mysql_connect('localhost','bertie_username','wordpass');
mysql_select_db('bertie_mobster');
$result = mysql_query('SELECT * FROM employees ORDER BY id DESC');
while($employees = mysql_fetch_array($result)) {
print "<tr><td width="50%" bgcolor="#F3F3F3"><p align="justify"><font size="2"><b>" . $employees['date'] . "</b></font></td>";
print "id" . $employees['id'] . "";
print "msg" . $employees['msg'] . "";
}
?>
anyone know whats causeing this???
also is there a nice big php forum around? have just started on big project and dont wanna clutter up this area with my dumb questions.
<?php
mysql_connect('localhost','bertie_username','wordpass');
mysql_select_db('bertie_mobster');
$result = mysql_query('SELECT * FROM employees ORDER BY id DESC');
while($employees = mysql_fetch_array($result)) {
print "<tr><td width="50%" bgcolor="#F3F3F3"><p align="justify"><font size="2"><b>" . $employees['date'] . "</b></font></td>";
print "id" . $employees['id'] . "";
print "msg" . $employees['msg'] . "";
}
?>
















