Re: Re[2]: [PHP-DB] how to pull array out?

2002-05-30 Thread Jas
printing > $row[0] and see if that works. Then try printing $row['user_id']. > > You may also want to try doing a SELECT with the fieldnames, instead of just > the *. Also, make sure you're typing the field names correctly - they are > case sensitive. > > Hopefully on

RE: Re[2]: [PHP-DB] how to pull array out?

2002-05-30 Thread Ed Gorski
gt;-Natalie > >-Original Message- >From: Jas [mailto:[EMAIL PROTECTED]] >Sent: Thursday, May 30, 2002 2:18 PM >To: [EMAIL PROTECTED] >Subject: Re: Re[2]: [PHP-DB] how to pull array out? > > >Ok, given there are people out there that expect people to "do the wo

Re: Re[2]: [PHP-DB] how to pull array out?

2002-05-30 Thread Jason Wong
On Friday 31 May 2002 02:17, Jas wrote: > Ok, given there are people out there that expect people to "do the work for > them", however if you look at my original post (today) you will see that I > have queried the database, feed the results into an array, then called the > array elements into my f

RE: Re[2]: [PHP-DB] how to pull array out?

2002-05-30 Thread Leotta, Natalie (NCI/IMS)
e sensitive. Hopefully one of these suggestions will help you. -Natalie -Original Message- From: Jas [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 2:18 PM To: [EMAIL PROTECTED] Subject: Re: Re[2]: [PHP-DB] how to pull array out? Ok, given there are people out there that expect

Re: Re[2]: [PHP-DB] how to pull array out?

2002-05-30 Thread Jas
Ok, given there are people out there that expect people to "do the work for them", however if you look at my original post (today) you will see that I have queried the database, feed the results into an array, then called the array elements into my form, however simple this may be for you it is st

Re[2]: [PHP-DB] how to pull array out?

2002-05-30 Thread Ed Gorski
Well put Julie ed At 10:39 AM 5/30/2002 -0700, Julie Meloni wrote: >Jas (and anyone else) - > >With all due respect, you're acting like a troll. Posting a question, >getting MANY correct answers, then reposting the question and bitching >about not understanding the answers, well, that's tro

Re[2]: [PHP-DB] how to pull array out?

2002-05-30 Thread Julie Meloni
Jas (and anyone else) - With all due respect, you're acting like a troll. Posting a question, getting MANY correct answers, then reposting the question and bitching about not understanding the answers, well, that's troll-like. Granted, many responses on this list over the past while have been s

RE: [PHP-DB] how to pull array out?

2002-05-30 Thread Leotta, Natalie (NCI/IMS)
$l++; } }//elseif id==2 // }//foreach }//while -Original Message----- From: Jas [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 1:27 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] how to pull array out? Mr. Wong, You are no help.

Re: [PHP-DB] how to pull array out?

2002-05-30 Thread Jas
Mr. Wong, You are no help. As you can probably see I am NOT an experienced php developer!! Posting to this list, reading the manual, and scouring sites for tutorials is all I have to provide me with a way to maybe begin doing writting php apps. I did read your reply about "feeding the resul

Re: [PHP-DB] how to pull array out?

2002-05-30 Thread Jason Wong
On Friday 31 May 2002 00:19, Jas wrote: > Not sure how to do this, but I need to pull the contents of an array into > editable text fields... As of yet I have not found a way to accomplish > this: Good grief, I already posted the answer yesterday. Don't you read the replies? Even if you don't,

[PHP-DB] how to pull array out?

2002-05-30 Thread Jas
Not sure how to do this, but I need to pull the contents of an array into editable text fields... As of yet I have not found a way to accomplish this: $table = "auth_users"; $record = @mysql_query("SELECT * FROM $table WHERE user_id = '$user_id'",$dbh); while ($row = mysql_fetch_row($record)