Jump to content

[SOLVED] echo problems


blueman378

Recommended Posts

hi guys well heres the codce

echo '<tr><td>';
    echo $row[cName] . '</td>
<td>5</td>
<td><a href="catprocess.php$action=Delete&$cat=' . $row['cName'] . '">'
<img src="Delete.png" alt="Delete"></a></td></tr>';

 

heres the error

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in C:\wamp\www\admin\Category manager.php on line 88

 

88 is the bottom line there

 

thanks

Link to comment
Share on other sites

echo '<tr><td>';
    echo $row[cName] . '</td>
<td>5</td>
<td><a href="catprocess.php$action=Delete&$cat=' . $row['cName'] . '">'
<img src="Delete.png" alt="Delete"></a></td></tr>';

 

Hmm, try this instead:

echo '<tr><td>';
    echo $row[cName] . '</td>
<td>5</td>
<td><a href="catprocess.php$action=Delete&$cat=' . $row['cName'] . '">
<img src="Delete.png" alt="Delete"></a></td></tr>';

Link to comment
Share on other sites

hi guys well i modified it a bit so now i have,

echo '<tr><td>';
    echo $row[cName] . '</td>
<td>'"; include("gamecount.php); echo </td>
<td><a href="catprocess.php$action=Delete&$cat=' . $row['cName'] . '">
<img src="../images/Delete.png" alt="Delete" Title="Delete"></a><a href="catprocess.php$action=Browse&$cat=' . $row['cName'] . '">
<img src="../images/Browse.png" alt="Browse" Title="Browse"></a></td></tr>';

error:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in C:\wamp\www\admin\Category manager.php on line 86

 

oh and your code before worked, thanks

 

so any ideas this time?

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.