essential Posted July 22, 2006 Share Posted July 22, 2006 Could I use an if statement with say[b]goto location_id if contains "ecen" goto location_id_2 [/b] If this is possible could I also add [b]if location_id_2= ecen goto location_id_3 etc[/b]I have tried tweaking the recordset but it just throws up an error.Recordset below [b]SELECT autonumber, coName, location_idFROM preferredSuppliersWHERE location_id = 'ecen'ORDER BY coName ASC[/b]How easy would it be to alter this to give me what I needEssential Quote Link to comment https://forums.phpfreaks.com/topic/15334-calling-more-than-one-query/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.