I'm having some troubles getting my script to work, I give the explanation first than show the code.
I make a table fetching values from MySQL DB, the table is a list of people, I've made a link to a page to delete selected person,I want to show an advertisment box before proceeding.
The problem is I have to call Javascript's window from PHP...how do I do that?? Here's my example with the alert() function instead of the final function
Code: Select all
echo"<td align=\"center\">
<a href=\"elimina_cliente.php?codcliske=$codcliske&ragsociale1=$ragsociale1\"
onClick=\"<script language=\"javascript\">alert(\"test\")</script>\" >Thanks in advance
Paolo