Rusty, just simply trying to pass stuff through parameters. What am I doing wrong?
//Insert into DB
function insert(x,y,z)
mysql_query("INSERT INTO x (y)
VALUES ('z')");
insert("test","name","Tyler");
Rusty, just simply trying to pass stuff through parameters. What am I doing wrong?
//Insert into DB
function insert(x,y,z)
mysql_query("INSERT INTO x (y)
VALUES ('z')");
insert("test","name","Tyler");
function insert($x,$y,$z){
mysql_query("INSERT INTO ".$x." (".$y.") VALUES ('".$z."')");
}
insert("test","name","Tyler");