lordzardeck Posted January 17, 2009 Share Posted January 17, 2009 Can you put a mysql query in a php function? Quote Link to comment https://forums.phpfreaks.com/topic/141258-mysql-query-in-function/ Share on other sites More sharing options...
DeanWhitehouse Posted January 17, 2009 Share Posted January 17, 2009 yes e.g. function sql_query($sql) { return mysql_query($sql); } Quote Link to comment https://forums.phpfreaks.com/topic/141258-mysql-query-in-function/#findComment-739368 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.