Parse Error
unexpected t constant encapsed string on line 14 below. what is it please?
php language Code:
line 14 : Code:
echo '<b>User not added:</b>' , mysql_error(); Code:
echo "<b>User not added:</b>" , mysql_error(); |
What language?
Just from a wild wild guess base on common languages I would say replace the , by + |
thanks for the reply. it is php language [ i edited the 1st post to reflect]
i attempted your solution, it didnt work. thanks though |
The string concatenation character in PHP is the dot.
So try: echo '<b>User not added:</b>'.mysql_error(); Hmm, thinking about it, that might not work. Try a two liner: $errmsg=mysql_error(); echo "<b>User not added:</b>$errmsg" |
All times are GMT -5. The time now is 03:43 AM. |