www.webdeveloper.com

Search:

Type: Posts; User: treelovinhippie

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thanks mate, I managed to work it out. ...

    Thanks mate, I managed to work it out.


    $query = "SELECT vtcal_calendar.name, vtcal_calendar.id, vtcal_event_public.calendarid, photos_images.albumid, photos_albums.folder, photos_albums.id,...
  2. Adding two mysql data to find top 3?

    hiya

    What I'm trying to do is echo the top 3 mysql entries based on adding two values (in different tables). I just have no idea how to use arrays with mysql queries.

    i.e. grab data from 3...
  3. Replies
    1
    Views
    1,066

    OK, a lot more searching and apparently to do...

    OK, a lot more searching and apparently to do this very, very simple function you need to use this code:


    $gmtmst = strtotime(gmdate("M d Y H:i:s", time()))
  4. Replies
    1
    Views
    1,066

    mktime(gmdate) loses a day wtf?

    When I run this code:


    echo '<br />Current UTC '.gmdate("H, i, s, m, d, Y");
    $gmtmst = mktime(gmdate("H, i, s, m, d, Y")); // get current UTC time
    echo '<br /<pre>'; ...
  5. Replies
    7
    Views
    1,880

    Don't worry. I ended up just doing a unique...

    Don't worry. I ended up just doing a unique identifier using the current date and user IP.
  6. Replies
    7
    Views
    1,880

    hmm, the session thing didn't work. I added...

    hmm, the session thing didn't work. I added session_start() before it as well.
  7. Replies
    7
    Views
    1,880

    I need that same variable to be the same in two...

    I need that same variable to be the same in two separate areas though...


    $rand = rand()."_";
    $uploadDir = dirname(__FILE__) . '/images/hq/';
    $uploadFile =...
  8. Replies
    7
    Views
    1,880

    Well yeah if that works... how do I do that? ...

    Well yeah if that works... how do I do that?

    Basically I'm after:

    $rand = rand(); (say result = 1234567)

    echo $rand; (result = 1234567)
    echo $rand; (result = 1234567)
  9. Replies
    7
    Views
    1,880

    Generate a static random number?

    hi

    Is there any way to generate a random number and then assign that static number to a variable?

    e.g. $rand = static rand();

    ?
  10. Replies
    1
    Views
    1,140

    Quick help: image size check

    hey all

    I'm using the jqUploader to upload an image.

    However I'd like to restrict the uploaded images to a size of 500px x 300px (width x height)

    I know it involves the use of getimagesize()...
  11. Replies
    5
    Views
    2,380

    Thanks Frank and Ray! I tried all your...

    Thanks Frank and Ray!

    I tried all your suggestions and they worked in standalone pages, but not when I tried them on the site... so probably something else throwing it off.

    I ended up putting...
  12. Replies
    5
    Views
    2,380

    Man, I never get any luck on these forums anymore.

    Man, I never get any luck on these forums anymore.
  13. Replies
    5
    Views
    2,380

    %$@#ing IE.. td word wrap

    hey all

    All I'm trying to do is put a whole bunch of images within a td tag and have them wrap to the next line rather than extending across and beyond the screen.

    Works bloody fine in Firefox,...
  14. Replies
    2
    Views
    1,691

    No one? I've started just trying to edit the...

    No one?

    I've started just trying to edit the registration file in phpizabi to add the same info into the wordpress database... but it's tedious work. Is there any easier way?
  15. Replies
    2
    Views
    1,691

    Registration bridge?

    hi

    I'm trying to put together a non-profit website using phpizabi and need to integrate vBulletin, MediaWiki and Wordpress into it.

    I've posted on elance, rentacoder and many forums asking for...
  16. Replies
    1
    Views
    960

    Any way to apply .js to div?

    I'm trying to add this piece of javascript: http://stilbuero.de/2006/05/13/accessible-unobtrusive-javascript-tabs-with-jquery/

    But I've found that this one file (jquery-1.1.3.1.pack.js) that is...
  17. Replies
    1
    Views
    1,102

    Tab menu using css active help

    hi

    I've got a CSS tab menu, but I would like the hover effect to stick when the page is active. i.e. if on the homepage, the "Home" tab will have the hover effect.

    The code I have doesn't seem...
  18. Replies
    2
    Views
    826

    Form, allow user to add more rows

    hi

    I'm wanting to create a form for a user to enter data into a mysql database.

    But I'd like to allow the user to click a button and a new row of inputs come up.

    e.g.

    1) <name textbox> |...
  19. Replies
    4
    Views
    981

    Simple user management script?

    hi

    I've been searching a tonne of script sites for a very simple script that does the following (and only the following):

    1) user registers (username, email, password)
    2) user gets sent an...
  20. Replies
    3
    Views
    1,882

    Yep I already have a favicon setup and it...

    Yep I already have a favicon setup and it displays fine in the tabs (FF) and when adding a regular bookmark. But it doesn't seem to like the javascript... i.e. it doesn't look for the favicon with...
  21. Replies
    3
    Views
    1,882

    Include favicon in bookmarklet?

    hi

    I have a javascript bookmarklet with the following code:
    ...
  22. Replies
    5
    Views
    39,768

    Very simple rotate text?

    hi

    I've been searching the horribly-constructed script sites around for literally an hour and found nothing.

    All I'm after is a small piece of code that randomly displays a piece of text (only...
  23. Replies
    13
    Views
    1,088

    hmm, gotta hate the web standards incompatibility...

    hmm, gotta hate the web standards incompatibility of IE. Hopefully they can fix it with IE7, but I'm sticking to FF :)
  24. Replies
    13
    Views
    1,088

    cool, thanks

    cool, thanks
  25. Replies
    13
    Views
    1,088

    Thanks Kor... you mean make the "o" uppercase...

    Thanks Kor... you mean make the "o" uppercase right?
Results 1 to 25 of 49
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles