Search found 4 matches

by cybertrip
Sat Apr 01, 2006 11:14 pm
Forum: PHP - Code
Topic: Please help simple for a lot of you
Replies: 7
Views: 272

sorry for the double post but would this work <? function quote_smart($value) { // Stripslashes if (get_magic_quotes_gpc()) { $value = stripslashes($value); } // Quote if not a number or a numeric string if (!is_numeric($value)) { $value = "'" . mysql_real_escape_string($value) . "'&q...
by cybertrip
Sat Apr 01, 2006 11:11 pm
Forum: PHP - Code
Topic: Please help simple for a lot of you
Replies: 7
Views: 272

oh...ok so do i just put something like

Do i just place it anywhere or does it have to surrond the variable in the insert statement?
by cybertrip
Sat Apr 01, 2006 10:59 pm
Forum: PHP - Code
Topic: Please help simple for a lot of you
Replies: 7
Views: 272

thanks so much...this is just goin to be on an internal server for adding news thanks for the quick help i appreciate it.
by cybertrip
Sat Apr 01, 2006 10:44 pm
Forum: PHP - Code
Topic: Please help simple for a lot of you
Replies: 7
Views: 272

Please help simple for a lot of you

Ok so im a complete noob when it comes to php done a lot of stuff in vbscript but not a lot in php told it wasn't to different but anyways to the point im trying to add news to a database but i cant seem to get this to work and i have no clue why... <html> <head> <title>Untitled Document</title> </h...