pmzq Posted April 18, 2006 Share Posted April 18, 2006 Hy all,I'm trying to retrieve multiple rows with the fetch_row() command in a while loop with PHPThis works fine!Now I want to fetch some more rows with the same command from another database.After this I want to add the row results from the first fetch to the second fetch so all rows will be in 1 variable like $row.Does anyone have an idea how this is done is it even possible ?or should I first join the two tables from different databases and the do the fetch_row() command ?Hop to hear something soon!thnx pMzQ, Quote Link to comment Share on other sites More sharing options...
fenway Posted April 18, 2006 Share Posted April 18, 2006 Interesting... can I ask why? You'd have to be sure that you alias the columns appropriate so that you don't get hash key collisions. In principle, there's no reason that you can't add the second row's column to $row; but how are you going to match them up? Do there share a UID, etc.? 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.