Thread: Resolved OnClick Popup Issue
View Single Post
Old 01-29-2013, 02:48 PM   PM User | #3
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,365
Thanks: 18
Thanked 348 Times in 347 Posts
sunfighter is on a distinguished road
When passing variables into a function, they must be a string or in quotes. This looks like a string. but it's not. You are missing a close tag also.
The line S/B:
Code:
<a onclick="Delete_All(<?php echo "'".$log."'"; ?>)">Click here to delete stuff</a>
sunfighter is offline   Reply With Quote
Users who have thanked sunfighter for this post:
Ndogg (01-30-2013)