Jump to content

Bagwaa

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Contact Methods

  • MSN
    bagwaa@hotmail.com
  • ICQ
    5550215

Profile Information

  • Gender
    Not Telling
  • Location
    UK

Bagwaa's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. thanks for the replies guys ... and orio! many MANY thanks! it worked :-)
  2. Howdi, Its been a while since I touched PHP and im having a problem, I have a really basic login script where the username and password are saved in the script, basically they are stored in an assoc array as follows :- $authorized_users = array ( "bill" => "bill", "guest" => "guest" ); I have now created a table in a MySQL DB and I can connect to it and pull the information from it, however I cannot get the info into the array .. I was thinking of something like this :- $authorized_users = array ( while ($row = mysql_fetch_row($result)) { "$row[0]" => "$row[1]", "guest" => "guest" } ); But obviously the syntax is all wrong, anyway .. hope im making SOME sense ... :-) Thanks Richard
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.