Prismatic Posted July 12, 2006 Share Posted July 12, 2006 Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in profile.php on line 73Lines 67 - 73[code]<?phpecho "</b><br><table cellspacing='2' border='0' cellpadding='2' width='100%' class='BoardRowA'> <tr><td class='MainMenuRow' colspan='2'>Info</td></tr> <tr> <td width='25%' height='20' align='right' class='BoardColumn'><b>UID:</b></td> <td class='BoardRowB'>". $row[id] ".</td></tr> <tr><td class='BoardColumn' height='20' width='25%' align='right'><b>Boards Username:</b></td> <td class='BoardRowB'>". $RequestedUsernameStyle ." ". $RequestedUserstars ."<b>". $RequestedUserLevel ."</b></td></tr>";?>[/code]73 is this one[code] <td class='BoardRowB'>". $RequestedUsernameStyle ." ". $RequestedUserstars ."<b>". $RequestedUserLevel ."</b></td></tr>";[/code] Link to comment https://forums.phpfreaks.com/topic/14387-can-you-spot-the-error-because-i-cant/ Share on other sites More sharing options...
obsidian Posted July 12, 2006 Share Posted July 12, 2006 it's actually this row that has the error... change:[code]<?php// this...echo "<td class='BoardRowB'>". $row[id] ".</td></tr>";// to this...echo "<td class='BoardRowB'>" . $row['id'] . "</td></tr>";?>[/code] Link to comment https://forums.phpfreaks.com/topic/14387-can-you-spot-the-error-because-i-cant/#findComment-56770 Share on other sites More sharing options...
micah1701 Posted July 12, 2006 Share Posted July 12, 2006 that was tricky, but the error is two lines abovechange<td class='BoardRowB'>". $row[id] ".</td></tr>to<td class='BoardRowB'>". $row[id] ."</td></tr> note the second period moves one place left. Link to comment https://forums.phpfreaks.com/topic/14387-can-you-spot-the-error-because-i-cant/#findComment-56771 Share on other sites More sharing options...
Prismatic Posted July 12, 2006 Author Share Posted July 12, 2006 DOH! So so simple :P Thanks guys! Link to comment https://forums.phpfreaks.com/topic/14387-can-you-spot-the-error-because-i-cant/#findComment-56772 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.