Jump to content

Linking "" together


web2000

Recommended Posts

Hello,

 

I have a query which is

 

$query = "SELECT * FROM music";

 

but i want to add another 2 parameters in there eg,

 

$user = "r0385";

 

$query = "SELECT * FROM music" ."WHERE" .$user ."= username"

 

Now i know it was something like ."" but i really cant remember any help would be great.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/51201-linking-together/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.