Re: [PHP] Multiple MySQL INSERT

2008-12-02 Thread ddg2sailor
chris smith-9 wrote: > > ddg2sailor wrote: >> > > >>It's still wrong regardless. > > I dont run the system , However the code I didnt post checks to make sure > the user name or email isnt already in use or in fact was in use but > removed. Diddnt have to bother with that part , it works fin

Re: [PHP] Multiple MySQL INSERT

2008-12-02 Thread Chris
ddg2sailor wrote: chris smith-9 wrote: ddg2sailor wrote: $row = mysql_fetch_array($res); $res = mysql_query("SELECT passhash, editsecret, status FROM users WHERE id = $id"); $row = mysql_fetch_array($res); I hope this is a copy/paste error or are you running the same thing twice? I diddnt s

Re: [PHP] Multiple MySQL INSERT

2008-12-01 Thread ddg2sailor
chris smith-9 wrote: > > ddg2sailor wrote: >> $row = mysql_fetch_array($res); > >> $res = mysql_query("SELECT passhash, editsecret, status FROM users WHERE >> id >> = $id"); >> $row = mysql_fetch_array($res); > > I hope this is a copy/paste error or are you running the same thing twice? > >

Re: [PHP] Multiple MySQL INSERT

2008-12-01 Thread Chris
ddg2sailor wrote: Hi People My real problem is that I dont know code. I can sort of edit it in a sloppy more or less works fashion. Any help would be great. This is the code Im having problems with: //Example// $id = 0 + $_GET["id"]; $md5 = $_GET["secret"]; $gig = 1; $giveupload = $gig*1

Re: [PHP] Multiple MySQL INSERT into loop

2008-02-07 Thread Jim Lucas
Rob G wrote: I'm working on this, and am not sure how the variable syntax needs to be here. This is what I have done manually. //BEGIN EXAMPLE mysql_query ("INSERT INTO testimonials (id, quote, name) VALUES ('$id_1', '$entry_1', '$name_1')"); mysql_query ("INSERT INTO testimonials (id, quote,