ecabrera Posted July 12, 2012 Share Posted July 12, 2012 can i create a variable like this $statusid = $rows['status.user_id']; since i have to user_id but they are in diffrenent table but in this query i join them together Quote Link to comment Share on other sites More sharing options...
Barand Posted July 12, 2012 Share Posted July 12, 2012 In short, No. The table name is not part of the array index, so you would get $row['user_id']. You need to use column aliases in the query Quote Link to comment 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.