Re: [PHP-DB] Embedded php in javascript

2007-03-25 Thread bedul
i think u have mistaken using javascript - Original Message - From: "Onochie Anyanetu" <[EMAIL PROTECTED]> To: Sent: Friday, March 23, 2007 8:38 AM Subject: [PHP-DB] Embedded php in javascript > Hi, I am trying to create a pop up alert warning for deleting an ent

Re: [PHP-DB] Embedded php in javascript

2007-03-22 Thread Charles Morris
Chris is right, you also must understand that javascript runs client-side, (In the browser), and PHP is server-side (runs on the server). You can generate javascript with PHP, but hardly the other way around ;). -- Charles Morris [EMAIL PROTECTED] Network Administrator, Software Developer

Re: [PHP-DB] Embedded php in javascript

2007-03-22 Thread Chris
Onochie Anyanetu wrote: Hi, I am trying to create a pop up alert warning for deleting an entry in my database. What I have is: ? There is no undo.')) {alert('Value deleted')} else {alert('no changes')}"> The problem here is that the embedded php is run regardless of if the user clicks no, fo

[PHP-DB] Embedded php in javascript

2007-03-22 Thread Onochie Anyanetu
Hi, I am trying to create a pop up alert warning for deleting an entry in my database. What I have is: ? There is no undo.')) {alert('Value deleted')} else {alert('no changes')}"> The problem here is that the embedded php is run regardless of if the user clicks no, for example if i put php in