Hi guys, I get this wierd result when i run the php page (it shows some php code :|). I've pasted the code on pastebin. http://pastebin.ca/982433 Any help much appreciated.
If it shows php code, then your server is not supporting php. If you are running on local machine, you need php installed too
i have php install and my other pages work fine (with mysql queries). it just shows a piece of the code. i think its the $msg=$msg. "company exists"; any other thoughs?
btw this is what pops up for me.. "; $status= "NOTOK";} if($status != "OK"){ echo "$msg "; } else { // if all validations are passed. $query=mysql_query("insert into companies(company,companyaddress,companyphone,companycontact,companyemail) values('$companyname','$companyaddress','$companyphone', '$companycontact','$companyemail')"); echo "$company has been added Successfully Click here to invoice $company "; } ?>