View Single Post
Old 01-15-2008, 06:11 PM   #7 (permalink)
xenon
The Frequenter
Newcomer 
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

Please, oh please, turn error reporting on (error_reporting(E_ALL)) when in debug mode. The problem is in the printing business:

PHP Code:
print"<input type="checkbox" class="delete-checkbox" value="{$row['id']}" name="deletebox[]" />"
Why aren't the double quotes inside the print statement escaped or smth? Like so...

PHP Code:
print '<input type="checkbox" class="delete-checkbox" value="' $row['id'] . '" name="deletebox[]" />'
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote