Davo Posted May 26, 2008 Share Posted May 26, 2008 Hey everyone I'm trying to set up a table as one of my variables but not having any luck. Maybe I've been staring at the screen too long?! Keep getting - Parse error: syntax error, unexpected T_LNUMBER in /home/nzpd/web/nzpd.co.nz/html/Services.php on line 15 Heres the code, any help much appreciated! $Blurb="<table width="60" height="330" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="72" align="left" valign="center">Project Management</td> </tr> <tr> <td><img src="Images/Transparent.gif" width="60" height="14" /></td> </tr> <tr> <td height="72" align="left" valign="center">Industrial Design</td> </tr> <tr> <td align="left" valign="top"><img src="Images/Transparent.gif" width="60" height="14" /></td> </tr> <tr> <td></td> </tr> <tr> <td align="left" valign="top"><img src="Images/Transparent.gif" width="60" height="14" /></td> </tr> <tr> <td></td> </tr> <tr> <td align="left" valign="top"><img src="Images/Transparent.gif" width="60" height="14" /></td> </tr> <tr> <td align="left" valign="top"></td> </tr> </table>"; Thanks Link to comment https://forums.phpfreaks.com/topic/107285-solved-tables/ Share on other sites More sharing options...
Perad Posted May 26, 2008 Share Posted May 26, 2008 $Blurb='<table width="60" height="330" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="72" align="left" valign="center">Project Management</td> </tr> <tr> <td><img src="Images/Transparent.gif" width="60" height="14" /></td> </tr> <tr> <td height="72" align="left" valign="center">Industrial Design</td> </tr> <tr> <td align="left" valign="top"><img src="Images/Transparent.gif" width="60" height="14" /></td> </tr> <tr> <td></td> </tr> <tr> <td align="left" valign="top"><img src="Images/Transparent.gif" width="60" height="14" /></td> </tr> <tr> <td></td> </tr> <tr> <td align="left" valign="top"><img src="Images/Transparent.gif" width="60" height="14" /></td> </tr> <tr> <td align="left" valign="top"></td> </tr> </table>'; Link to comment https://forums.phpfreaks.com/topic/107285-solved-tables/#findComment-550075 Share on other sites More sharing options...
papaface Posted May 26, 2008 Share Posted May 26, 2008 $Blurb= '<table width="60" height="330" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="72" align="left" valign="center">Project Management</td> </tr> <tr> <td><img src="Images/Transparent.gif" width="60" height="14" /></td> </tr> <tr> <td height="72" align="left" valign="center">Industrial Design</td> </tr> <tr> <td align="left" valign="top"><img src="Images/Transparent.gif" width="60" height="14" /></td> </tr> <tr> <td></td> </tr> <tr> <td align="left" valign="top"><img src="Images/Transparent.gif" width="60" height="14" /></td> </tr> <tr> <td></td> </tr> <tr> <td align="left" valign="top"><img src="Images/Transparent.gif" width="60" height="14" /></td> </tr> <tr> <td align="left" valign="top"></td> </tr> </table>'; Use ' instead of " Link to comment https://forums.phpfreaks.com/topic/107285-solved-tables/#findComment-550076 Share on other sites More sharing options...
Davo Posted May 26, 2008 Author Share Posted May 26, 2008 Legends! Thanks guys. Link to comment https://forums.phpfreaks.com/topic/107285-solved-tables/#findComment-550078 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.