how to use the SELECT FROM WHERE

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
HomerTheDragoon
Forum Newbie
Posts: 21
Joined: Sat Jul 08, 2006 2:10 am

how to use the SELECT FROM WHERE

Post by HomerTheDragoon »

$sql = 'SELECT `clantag` FROM `leaguestats_clans` WHERE `clantag` LIKE \ 'gge\'

how do i reference it like, if i do $sql = 'SELECT `clantag` FROM `leaguestats_clans`
i can use a while loop to get all the info from the section i want by useing a simple if. But it cant find case sensetive strings. So how do i access other things in the same row of that query?

I might not be explaining it right, please help.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

it works exactly the same.
Post Reply