Jump to content

Return An Array From Function


Recommended Posts

mysql_fetch_array, as the name implies, returns an array, so $title will be an array. If your query returns more than a single result, you won't be able to get anything beyond the first row. If that's not a problem for you, then... what's your problem? $title should have just what you want - an array.

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...