Jump to content

ego0

Members
  • Posts

    12
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

ego0's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hey, I want to replace "hi hi" the white space in the above so it looks like this "hi <br /> <br /> <br /> hi" Is this possible? Thank yous.
  2. Thats really simple. I was expecting this to be a very very complicated problem. Thanks :)
  3. How do I go about adding say 2 minutes onto the current time?
  4. I Have two dates both in the unix? format Countdown to date September, 18, 2006, 4:17:00 1158567428 and date now September 6, 2006, 3:28:51 1157570931 I having trouble making a countdown to the minutes and seconds left from the time the script is run to the countdown date. :( Not a live countdown.
  5. Is it possible to take away two dates two be left with the difference between them to be displayed as a time (e.g) 2006,12,06 12:00 take away 2006,15,06 12:30 Would display the differnce as 3 days and 30 minutes? Thanks
  6. ego0

    Select after date

    Thanks so much :), You wouldn't beleive how helpful this is!
  7. Is there a way of selecting all rows in a table after a certain date. The date format is 2006-07-22 11:41:17 and I want to select all rows since that date. So all rows since 2006-07-21 11:41:17 Thanks
  8. SOLVED used sort($array, sort_numeric);
  9. Ok, It worked BUT the array now contains values like: 15,cat 2,dog 10,donkey But when sorted using 'rsort' it is sorted by the first number rather than both number like '15'. The previous would sort like this:- 2,dog 15,cat 10,donkey How can you sort an array numerically by both digits?
  10. Thanks, I'll try and go ahead with this method. *sends email to developers demanding a function to do this*
  11. I've hit a brick wall with the a script i'm making. Say I have an array with the values ball,doll,cat,cat,dog,cat,ball,cat. Is there a way to sort the array in order of the most common value inside the array. I know that array_count_values can count the number of a certain value in an array. So mayby I could run a loop to go through the array and count how many of each value are the array then put it into something with the value and the number of recurrences of the value then sort them that way? Is there a much quicker way? Any help appreciated
  12. I have a book about SQL 'SQL for Dummies' to be specific and I have found the keywords 'LIKE' and 'NOT LIKE' and I was wondering if this can be used in MYSQL syntax? (Need to know for usage in PHP script)
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.