Jump to content

Combing MySQL Queries?


sonicthehedgehog

Recommended Posts

Is there a way I can combine these two queries into one:

<?php$sql_select = "SELECT * FROM feeds, product_categories_map WHERE enabled=1 and deleted=0 GROUP BY feeds.id";$sql_select = "SELECT cost as shipping_cost FROM delivery, seller WHERE seller.id=delivery.seller_id and delivery.country_id=".dbstr( $_POST['country'] );?>
Edited by sonicthehedgehog
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...