Couple of comments:
1. What's with the $artist = "artist"; echo $mytable[$artist]; bit?
This really doesn't seem to gain you much.
2. Descriptive variable names are a Good Thing(tm).
3. Prettyprinting "
4. Why are the tables in different databases to begin with?
5. Don't pull any more th
---- Original Message -----
From: "Markus Wagner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 25, 2001 5:25 AM
Subject: [PHP-DB] Re: another php/mysql problem
>
>
> Matt Nigh schrieb:
>
> > Matt Nigh
> >
> > > $link = mysql
andname'. so basically, i wanna pass multiple variables across these
tables/databases and display all the records that match each one. it's
pretty confusing, so i hope i explained it well enough for all to
understand.
thanks,
Matt
- Original Message -
From: "Markus Wagner&quo
Matt Nigh schrieb:
> Matt Nigh
>
> $link = mysql_connect("localhost","username","password");
> if(!$link) die ("Could not connect to MySQL!");
> mysql_select_db("almavale_board",$link);
> if (!isset($band)) {
> die("No artist specified.");
> }
> $sql = "select * from bands where (nospaces_band