User Profile

Collapse

Profile Sidebar

Collapse
youcubez
youcubez
Last Activity: Nov 2 '08, 11:32 AM
Joined: Nov 1 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • youcubez
    replied to Arrays in PHP
    in PHP
    Thank you.

    Ok... so perhaps before we post a job offer... we'll try to elaborate here.

    So we have the following:

    [PHP]
    $feed = mysql_query("SE LECT * FROM XXXX WHERE Date = $today") OR die(mysql_error ());

    while ($user = mysql_fetch_ass oc($feed))
    {
    if($user['Action'] == 'NewMember')
    {
    $data[$user['Time']] = .....
    }

    if($user['Action']...
    See more | Go to post

    Leave a comment:


  • youcubez
    replied to Arrays in PHP
    in PHP
    Hi there,

    I'd rather not paste our code here... but we are looking for help in other areas of PHP to increase the overall performance of our site... so if you fancy helping out (can pay a little) then feel free to PM your msn, aim, sykpe or gtalk username and I will add you!

    Regards,...
    See more | Go to post

    Leave a comment:


  • youcubez
    started a topic Arrays in PHP
    in PHP

    Arrays in PHP

    Hi there,

    I currently have a script that queries 2 tables in SQL, pulls the data and then using an array, sorts the data by date and displays the content in the correct order (Latest action 1st).

    This is working fine... but... I want to know if there is a better way to do this (improve performance/use less memory/increase speed) as this is called a LOT being as it's used on the home page.

    Code:
    krsort($data);
    ...
    See more | Go to post
    Last edited by Markus; Nov 1 '08, 02:42 PM. Reason: added # tags
No activity results to display
Show More
Working...