PHP / JavaScript alert problem!
Hey guys i have a little problem!! :confused:
I am trying to prompt a JavaScript alert before the html headers and when this happens i does not style my footer from css.
Heres my code:
if ($queryupdate) { echo "<script>alert('Your password has been updated!')</script>"; } else { echo "<script>alert('Your password has not updated!')</script>"; }
Does any body know how this can be fixed?
Thanks,
Marais
marases
Junior Poster in Training
91 posts since Sep 2010
Reputation Points: 21
Solved Threads: 7
Skill Endorsements: 0
thanks, so will this work before the html headers??
And then still style??
Thanks,
Marais
marases
Junior Poster in Training
91 posts since Sep 2010
Reputation Points: 21
Solved Threads: 7
Skill Endorsements: 0