Article 5AW79 Alert Box in PHP won't work

Alert Box in PHP won't work

by
pizzipie
from LinuxQuestions.org on (#5AW79)
This code produces "blank".

How can I make it work?

Code:$msg=dbCheck($database); // check if db exists

if(substr($msg, 0,2)!="OK") {

echo "<script type='text/javascript'>alert(".$msg.")</script>";

exit();
}latest?d=yIl2AUoC8zA latest?i=mld3S7GHVmY:0D39O6KKwLk:F7zBnMy latest?i=mld3S7GHVmY:0D39O6KKwLk:V_sGLiP latest?d=qj6IDK7rITs latest?i=mld3S7GHVmY:0D39O6KKwLk:gIN9vFwmld3S7GHVmY
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments