Whatever made you think mysql_error() wasn't working, that was wrong. Because mysql_error() works just fine. On Wed, August 1, 2007 1:09 am, Patrik Hasibuan wrote: > Dear my friends.... > > What is the substitute of mysql_error() ? > > This line of my code does not work anymore: > $hslgbr=mysql_query("$sqlgbr","$konek") or die ( mysql_error() ); > > Thank you very much in advance. > -- > Patrik Hasibuan <patrikh@xxxxxxxxxxxxxxxxxxxxx> > Junior Programmer > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php