syntax error |
syntax error |
tudsy |
Aug 10 2016, 04:50 AM
Post
#1
|
Advanced Member Group: Members Posts: 246 Joined: 30-September 14 Member No.: 21,611 |
Hi
I am having problems in finding the following error in my code: Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/ecovibdc/public_html/ECOVIB2D/MYART/ecovib2d.php on line 75 Can any one help? Attached File(s) code.txt ( 3.78k ) Number of downloads: 280 |
Christian J |
Aug 10 2016, 08:24 AM
Post
#2
|
. Group: WDG Moderators Posts: 9,650 Joined: 10-August 06 Member No.: 7 |
On lines 69 and 88 there are nested echo statements.
You're also running PHP inside the echo statement (e.g. defining variables inside the echo statements on line 49 and 73), which may give unexpected results. CODE $x='foo'; echo "$x='bar'"; (the above echoes foo='bar', it does not assign the value "bar" to $x). |
Lo-Fi Version | Time is now: 17th April 2024 - 09:21 PM |