smart Posted April 16, 2012 Share Posted April 16, 2012 Hello everoneI want to run two string query with get method like this http://w3schools.invisionzone.com/index.php?showtopic=12509&view=findpost&p=67512how to write two query string Thanks Link to comment Share on other sites More sharing options...
Err Posted April 16, 2012 Share Posted April 16, 2012 You want to use the URL variables to use in your queries, right? $var1 = $_GET['showtopic'];$var2 = $_GET['view'];$var3 = $_GET['p'];$sql = "SELECT * FROM db WHERE $var1 = '12509' AND $var2 = 'findpost' AND $var4 = '67512'"; Link to comment Share on other sites More sharing options...
smart Posted April 16, 2012 Author Share Posted April 16, 2012 Yes you r absolutly right pls tell me how i can do this Link to comment Share on other sites More sharing options...
Err Posted April 16, 2012 Share Posted April 16, 2012 I just showed you how in my first post. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.