Unformatted text preview:

php i 51 j 6 try if i 5 throw new Exception div style background color blue width 600px height 35px color white Match Found div else if j 6 throw new Exception div style background color red width 600px height 35px Error Found div catch Exception e echo e getMessage message send on click script document ready function category entry keypress function event if event keyCode 13 var category category val if category hudMsg error category Name Missing 3000 return false ajax type POST url categoryax php act create data category category cache false success function html if html 1 hudMsg success category Successfully Saved 300000 else hudMsg error category allready 3000000 category val script php require once db php action GET act categoryname POST category query SELECT FROM category Where cat name categoryname result mysql query query row mysql fetch array result if row cat name categoryname echo 2 else query1 insert into category cat name isdelete value categoryname 0 if mysql query query1 echo 1


View Full Document

CMU HSC 214 - Lecture notes

Documents in this Course
Load more
Download Lecture notes
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture notes and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture notes 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?