simple question - adding HTML img resize tags within PHP echo
Hey, I have this line of code
and i want to add width and height dimensions to it. I tried by making it:
but this gives me an error on my page saying:
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' on line 51
Line 51 is the line of code I posted above.
Please help. Thanks!
Hey, I have this line of code
PHP:
echo "<td><img src =\"" . $rowB['user_image']."\"></td>";
and i want to add width and height dimensions to it. I tried by making it:
PHP:
echo "<td><img src =\"" width="100" height="60" . $rowB['user_image']."\"></td>";
but this gives me an error on my page saying:
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' on line 51
Line 51 is the line of code I posted above.
Please help. Thanks!
Last edited:






