No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
Hi, It's took me a weeks to figure out this query. I'm trying to select all the data from 7 tables but i got empty result. All these table has a link on region_id column. Your help will be much much appreciated. here's my query: [code]$q = 'SELECT rs.*,rr.*,cs.*,cr.*,cl.*,ls.*,ll.* FROM … | |
Re: [CODE]//Start session session_start(); $sql="SELECT login,id FROM tblDealer WHERE login='".$email."' and password='".$password."'"; if($result = mysql_query($sql)) { if(mysql_num_rows($result)>0) { list($login,$id) = mysql_fetch_array($result); $_SESSION['dealer_id']= $id; print 'success,client.php,dealer='.$id; // maybe add it to the url ? just for now. exit(); }else { print "no such login in the system. please try again."; exit(); }//else … |
The End.