PFMaBiSmAd Posted August 6, 2012 Share Posted August 6, 2012 ^^^ Explain what exactly. It's the print_r output from each field in the table from an EXPLAIN/SHOW COLUMNS FROM tbl_name query. Quote Link to comment Share on other sites More sharing options...
jazzman1 Posted August 6, 2012 Share Posted August 6, 2012 ^^^ Explain what exactly. It's the print_r output from each field in the table from an EXPLAIN/SHOW COLUMNS FROM tbl_name query. I thought that one is a multiple array, but obviously not. When I checked his code in my database, I got it nothing of this.. o=> u_id o=> id o=> site_id Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted August 6, 2012 Share Posted August 6, 2012 Did you use mysql_fetch_assoc or mysql_fetch_array? The code posted in this thread was fetch_array and returns both numerical and associative array indexes. Quote Link to comment Share on other sites More sharing options...
jazzman1 Posted August 6, 2012 Share Posted August 6, 2012 Did you use mysql_fetch_assoc or mysql_fetch_array? The code posted in this thread was fetch_array and returns both numerical and associative array indexes. mysql_fetch_array. Quote Link to comment Share on other sites More sharing options...
Jessica Posted August 7, 2012 Share Posted August 7, 2012 It's not a o it's a 0. The BBcode turns a 0 between two [ and ] into a bullet. Quote Link to comment Share on other sites More sharing options...
jazzman1 Posted August 7, 2012 Share Posted August 7, 2012 It's not a o it's a 0. The BBcode turns a 0 between two [ and ] into a bullet. Never mind Jesi, zero or 'o'.... I've never seen before this kind of syntax, that's why I was a little confused. I've used 4 databases with different versions and all of them look like this: http://canada.lesno.net/code.php Quote Link to comment Share on other sites More sharing options...
Jessica Posted August 7, 2012 Share Posted August 7, 2012 Well considering you guys spent two pages trying to figure out how to access the first element in an array, I thought it should be mentioned. 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.