08-06-2008, 05:51 AM
|
#3 (permalink)
|
|
The Wanderer
Join Date: Jun 2005
Posts: 21
Thanks: 1
|
Thanks m,
I'm getting this error now.
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource on line 31
Which is this line,
PHP Code:
while($row = mysql_fetch_assoc($nation_list))
// EDIT
Actually got it fixed by changing it to
PHP Code:
$nation .= '<option value="'.$row['n_id'].'">'.$row['national_name'].'</option>'."\n";
Guess since there was already a variable $nation_list it was getting screwy.
It's working great now. Thanks!
|
|
|
|