Advertisement
Guest User

mysql

a guest
Nov 20th, 2012
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. function addPost($pName, $pAuth, $pContent,$pCat = 1) {
  2. $query = mysql_query("INSERT INTO posts VALUES(null,'$pName','$pAuth','$pContent','$pCat')") or die(mysql_error());
  3. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement