Forum Moderators: coopster
I am getting a parse error, saying Parse error: parse error, expecting `','' or `';''
This is the part of the code:
echo "<table cellpadding=0 cellspacing=0>";
echo " <tr>";
echo "<td><input type=checkbox name=\"check_sun[]\" value="1">";
The line that is getting an error is
echo "<td><input type=checkbox name=\"check_sun[]\" value="1">"; .
I thought having double quotes was ok and apparently it was not. Using single quotes eliminated the parsing error and I was wondering why this was the case?
Regards,
Fib_81
echo '<table cellpadding=0 cellspacing=0>
<tr>
<td><input type=checkbox name="check_sun[]" value="1">';
Give it a try...you'll find it's mighty useful...:-)