CodeChargeMVP
Posts: 473
|
| Posted: 06/29/2010, 9:21 AM |
|
Hello,
I justa wanna do somenthing simple,
introducing javascript code on php and "make it work" will give us an
powerful control over our software development,
so for example, we´ve got an create new user window,
and we want than after the execute insert (PHP), appears an alert javascript window
saying "the user has been successfully submitted" (JAVASCRIPT) ,
so I want to do somenthing like
<script language="javascript" type="text/javascript>
alert ("the user has been succesfully submitted");
</script>
and launch it from the afterexecuteinsert php code events.
To sum up, ¿does anybody struggle about it?
Because doing it that way gives an parse error.
Sugestions are welcome.
Thank you very much in advance.
_________________
Best Regards
Entrepeneur | NT Consultant
|
 |
 |
datadoit
|
| Posted: 06/29/2010, 9:53 AM |
|
echo "<script language='javascript'>alert('the user has been
successfully submitted.')</script>";
|
|
|
 |
CodeChargeMVP
Posts: 473
|
| Posted: 06/30/2010, 4:53 AM |
|
Hello Datadoit,
As i said, a way than "make it work",
Don´t get me wrong but i guess than you didn´t check than your code
works, you speak from the theory and theory doesn´t work out.
¿Does anybody know how makes this work?
Greets.
Quote datadoit:
echo "<script language='javascript'>alert('the user has been
successfully submitted.')</script>";
_________________
Best Regards
Entrepeneur | NT Consultant
|
 |
 |
datadoit
|
| Posted: 06/30/2010, 6:11 AM |
|
You'll go much further in your career by not biting the hands that feed
you (or at least try).
|
|
|
 |
CodeChargeMVP
Posts: 473
|
| Posted: 07/04/2010, 6:10 AM |
|
I´m sorry,
I had a lot of pressure at project recently.
Quote datadoit:
You'll go much further in your career by not biting the hands that feed
you (or at least try).
_________________
Best Regards
Entrepeneur | NT Consultant
|
 |
 |
|