|
-
Jun 3rd, 2008, 01:28 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] Help fixing this Parse error: syntax error, unexpected T_STRING, expecting ',' or ';'
Hi all i try to run the following script but i keep getting error:
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in c:\server\www\music\paging.php on line 99
pointing at :
'<a href="#" onclick="music=play.open('divbox', 'div','. $row['idyoutube'] .', '. $row['title'] .', 'width=450px,height=400px,left=200px,top=150px,resize=1,scrolling=1'); return false;" title="Play This Video">' .
could any one help me fix this problem ?Thanks
PHP Code:
while ($row = mysql_fetch_assoc($result)) {
if ($i % $colsPerRow == 0) {
// start a new row
echo '<tr>';
}
echo '<td width="' . $colWidth . '%">' .
.
'<a href="#" onclick="music=play.open('divbox', 'div','. $row['idyoutube'] .', '. $row['title'] .', 'width=450px,height=400px,left=200px,top=150px,resize=1,scrolling=1'); return false;" title="Play This Video">' .
'<img width="120" src="' . $row['thumbnail_url'] . '" height="90" border="0">' .
'<br>' . $row['title'] . '</a><br />' . $row['view_count'] . '|' . $row['comment_count'] . '=>Status:' . $row['embed_status'] . '</td>';
if ($i % $colsPerRow == $colsPerRow - 1) {
// end this row
echo '</tr>';
}
$i += 1;
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|