I just simply want to execute a SQL sentence inside of a post (i am using EXEC-PHP widget for that).
The problem are the quotes when i want to do something like
$my_name='hello'
"select * from Table where name='$my_name'";
getting wrong quotes.... select * from Table where name=‘hello‘
i have tried streepslashes_deep, addslashes, stripslashes...
I think it shouldnt be so difficult... maybe its not my best day
any help?
thanks!