Wierd echo error?


Posted on 16th Feb 2014 07:03 pm by admin

Hi, i got the most wierd php error ever and i don't know why..
Code: echo "<td><strong>MP:</strong></td>";
echo "<td>";
echo "".$char['mn']."";
echo "</td>"
echo "<td><strong>Armor:</strong></td>";
echo "<td>";
echo "".$char['armor']."";

Now i get this error:
Parse error: syntax error, unexpected T_ECHO, expecting ',' or ';' in C:I***characters.php on line 241
Line 241 says:
echo "<td><strong>Armor:</strong></td>";
What is wrong with this one? :/ Thanks for sharing your wisdom

No comments posted yet

Your Answer:

Login to answer
271 Like 12 Dislike
Previous forums Next forums
Other forums

unexpected T_VARIABLE error
Hey all! I'm getting an unexpected T_VARIABLE with the following function:

function getHighes

Simple AND question
Hello,

I've got following code:

Code: if(strpos($row[13],"http://")

Keeping data in form
How can I keep whatever I write in the form?

Pre-Fill out a PHP form...??
This is for work actually (geek squad). We have to fill out this online php form at work over and ov

adding up might be solved tell us cheers.
i think i finally solved this anybody.

last time i was getting the wrong results.

Code

Having a problem get the selected item from a drop down menu
I have been looking at this for days now.

I have a drop down menu that get it's values from a

Splitting Attributes
SQL> SELECT I_NAME, substr(I_NAME,1,instr(I_NAME,'O')) "First part",

substr(I_NAME, IN

Handling text changed in text box control using Ajax
I need to create a web form with a text box control. When someone types text into the textbox I nee

Record count of entire database
Does anyone know if there is a way to obtain the number of records in each table of the database usi

difference between datetimes
($row['totime']-$row['fromtime'])/60

this is giving me 0

example of totime and fromtim

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash