Re: HElp!!!!!!!!

From: Date: Thu, 26 Oct 2000 18:36:58 +0000
Subject: Re: HElp!!!!!!!!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-22188@lists.php.net to get a copy of this message
what is the error it gives? -- be outside the box. On Thu, 26 Oct 2000, Dhaval Desai wrote: > Hey! > > > > Do u guyz think there is any error in this code..?? > > I am adding a new user with some priviliges..It shows > some error for me... > > > > > <?php > > > mysql_connect("localhost","root","dhaval"); > $select = mysql_select_db("mysql"); > > $search = "INSERT INTO user > (Host,Username,Password,Select_priv,Insert_priv,Update_priv,Delete_priv) > VALUES > > ('%','jay','password('password')','Y','Y','Y','Y')"; > > $try = mysql_db_query($search); > > if($try) > { > echo "Success"; > } > else > { > echo mysql_error(); > } > > ?> > > Please help me!1...Ugrgent help needed... > > Thanx a lot!! > > Cheers!~ > Dhaval Desai > > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Messenger - Talk while you surf! It's FREE. > http://im.yahoo.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#22188) next »