Search found 10 matches
- Wed Mar 04, 2009 6:15 am
- Forum: Databases
- Topic: [SOLVED] MySQL query problem - Looped results
- Replies: 3
- Views: 344
Re: MySQL query problem - Looped results
Thanks It worked
- Wed Mar 04, 2009 5:12 am
- Forum: Databases
- Topic: [SOLVED] MySQL query problem - Looped results
- Replies: 3
- Views: 344
Re: MySQL query problem - Looped results
Thanks I'll read up on that.
I have just 3 databases. It's really nothing important, just made them for educational purposes.
I have just 3 databases. It's really nothing important, just made them for educational purposes.
- Wed Mar 04, 2009 4:53 am
- Forum: Databases
- Topic: [SOLVED] MySQL query problem - Looped results
- Replies: 3
- Views: 344
[SOLVED] MySQL query problem - Looped results
Hello, I'm using the following code. I'm wanting to display usernames from database: usernames table: users from field: online where online = 1. As you can see, i also have FROM accounts.accounts because later on I will need to pull information from that database simultaneously. Database: accounts t...
- Tue Mar 03, 2009 8:16 am
- Forum: PHP - Code
- Topic: PHP template
- Replies: 2
- Views: 187
- Mon Mar 02, 2009 4:10 pm
- Forum: PHP - Code
- Topic: call function within function
- Replies: 4
- Views: 171
Re: call function within function
could ya plz post the code, would help understand much more.
- Mon Mar 02, 2009 4:02 pm
- Forum: PHP - Code
- Topic: Array Sorting
- Replies: 7
- Views: 378
Re: Array Sorting
I just realized using Joins won't work. I failed to mention earlier that i'm also pulling data from different databases and it appears joining can't do that.
- Mon Mar 02, 2009 8:33 am
- Forum: PHP - Code
- Topic: Array Sorting
- Replies: 7
- Views: 378
Re: Array Sorting
Ok thanks, I'll read up on some mysql join codes to understand it better.
Thanks
Thanks
- Mon Mar 02, 2009 8:14 am
- Forum: PHP - Code
- Topic: Array Sorting
- Replies: 7
- Views: 378
Re: Array Sorting
For example: $result['characters'] = $connect->run_query("characters", "SELECT * FROM characters WHERE online='1'"); $row[1] = mysql_fetch_assoc($result['characters']) This table has some IDs that I need and use to pull from another table: example: $result['accounts'] = $connect-...
- Mon Mar 02, 2009 7:38 am
- Forum: PHP - Code
- Topic: Array Sorting
- Replies: 7
- Views: 378
Re: Array Sorting
Because i'm pulling information from multiple tables 
- Mon Mar 02, 2009 6:22 am
- Forum: PHP - Code
- Topic: Array Sorting
- Replies: 7
- Views: 378
Array Sorting
I'd like to be able to sort an array by one of the 3 values (username, joindate, or last_login) before it gets echod off. using ksort($value[2]); or something that would work. How can I go about doing this? while ($row[67] = mysql_fetch_assoc($result[67])) { $rowRe[] = array(1=>$row[67...