Using PHP to access data from database (MYSQL) - this part is not a problem.
Check the image supplied: When I click on CLICK the alert dialog displays - so far so good.
Unfortunately when I pass data as string to the alert() function is when I get problems - nothing happens.
Here is a sample of my code:
works fine, shows empty alert dialog (as per image attached) - as soon as I try and put data inside the alert function - problems.
I have tried all manner of combinations to encase the data inside the () e.g. \\\\\\', \\\', \\\', \', \", etc etc - driving me nuts. I am obviously missing something - any help appreciated.