www.webdeveloper.com

Search:

Type: Posts; User: adamou

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. this.obj - same instance exists over multiple class instances

    Hey there, having a very frustrating problem.

    Here is my sheetCell class.


    sheetCell = function(options) {
    for(var x in options) this[x] = options[x];


    if(this.headerNum...
  2. Replies
    2
    Views
    948

    ah yeah sorry I ment for developers :) Thank you...

    ah yeah sorry I ment for developers :) Thank you phpDocumentor looks good, I will give it a try and see what happens
  3. Replies
    2
    Views
    948

    Making Documentation

    Hey all, wasn't certain which section I could post this.

    Anyhow, after a year and a half of the project, its finally time to start rebuilding it (and doing it the right way :P) - and of course...
  4. Replies
    5
    Views
    3,239

    Hey there thanks for the reponse, we went ahead...

    Hey there thanks for the reponse, we went ahead with the Linux host and its been fantastic so far - using WHM/Cpanel so I get almost complete root access but in an easy to use interface, and yeah the...
  5. Replies
    12
    Views
    2,559

    in the example you've provided you've used 2...

    in the example you've provided you've used 2 instances of echo.



    while ($row = mysqli_fetch_array($result))
    {
    echo $persons[] = $row['FirstName'] . " " . $row['LastName'] . " is " ....
  6. Replies
    12
    Views
    2,559

    mysqli is the prefered choice of course :) ...

    mysqli is the prefered choice of course :)



    while ($row = mysqli_fetch_array($result))
    {
    echo $persons[] = $row['FirstName'] . " " . $row['LastName'] . " is " . $row['Age'] . " years old!...
  7. Replies
    1
    Views
    848

    ack I'm silly, hadn't realised that paypal offers...

    ack I'm silly, hadn't realised that paypal offers their own shopping cart which I had to submit to.
  8. Replies
    12
    Views
    2,559

    while($row = mysql_fetch_array($result)) { ...

    while($row = mysql_fetch_array($result))
    {
    echo $row['FirstName'] . " " . $row['LastName'] . " is " . $row['Age'] . " years old! <br>";
    }



    should work fine if its displaying...
  9. Replies
    11
    Views
    1,977

    its usually those smaller things that keep you up...

    its usually those smaller things that keep you up at night :p
  10. Replies
    1
    Views
    848

    Paypal Cart Problem

    Hey all, I am submiting to PayPal as a cart for individual items but on PayPal side its giving me a 'Your cart is empty' error.

    Any ideas?

    Here is the form I am submitting



    <form...
  11. Replies
    5
    Views
    3,239

    thank you for that :) CentOS seems to be a good...

    thank you for that :) CentOS seems to be a good choice by the looks of it
  12. Replies
    5
    Views
    3,239

    Going onto a Dedicated Machine - PHP

    Hey all! Well my project is fast picking up, so we need to move onto a dedicated machine. But the problem is - I don't even know where to begin!

    So we are going with a Linux fully managed server,...
  13. Replies
    0
    Views
    905

    AJAX a really annoying problem

    hey there I need some help, the same issue is back again (IE8 specific) - the content is displayed on FireFox/Chrome/other browsers/IE6/IE7(not IE8 in compability mode) but when it comes to IE8 it...
  14. Replies
    0
    Views
    1,601

    jQuery + Ajax + IE8 = nightmare

    Hey there, having a very strange nightmare bug.

    I am using $("#id").load() to load content into a DIV, for some reason in IE8 the content won't display on the DIV unless I have some typing BEFORE...
  15. Replies
    4
    Views
    2,467

    Ah! Flowplayer. Thank you very much :) ...

    Ah! Flowplayer.

    Thank you very much :)
    Completely forgot about it. My google skills failed :(
  16. Replies
    4
    Views
    2,467

    [Flash Video Player] Any recommendations?

    Hey there, I am after a free-lightweight flash player, to play .swf / mp4. Pretty much just something with a play/pause/stop button and a navigation scroller for web-browser.

    Any recommendations...
  17. .htaccess - not sure how to describe it (& PHP)

    Hey there, what I want to do is convert the following into $_GET[]

    eg

    mywebsite.com.au/search/selection-make/selection-model/?price1=1&price2=2


    and if I do a print_r($_GET) it will have
    ...
  18. Replies
    0
    Views
    1,999

    Linux (CentOS 5.5) + PHP

    Hey there, I am having a strange issue; before we migrated to the current server (CentOS 5.5 dedicated) a particular page would load at a very fast speed, with around 0.1 php script execution,...
  19. Replies
    6
    Views
    1,800

    crop to fit ratio

    Hey there, I am having a bit of a problem;

    So far I am having images resized based on ratio or stretch format, but I want to provide a crop option;

    the ratio logic works something like this;
    ...
  20. Replies
    7
    Views
    977

    thanks for that Tirna, I'll give this code a try...

    thanks for that Tirna, I'll give this code a try when I get back home :)
  21. Replies
    7
    Views
    977

    ok I solved it

    ok I solved it



    <?php

    $amount = 20;
    $total = 700;
    $page = 0;
    $count = 0;
  22. Replies
    7
    Views
    977

    for($i = 1; $i

    for($i = 1; $i <= 3; $i++ ) {
    if($_GET['page'] > $i) {
    echo $i,' ';
    } else break;
    }
    $min = 2;
    if($i > 1) { echo ' ... '; $min = $i - 1;}
    if(($_GET['page'] - 2) < 1) $min = 0;
  23. Replies
    7
    Views
    977

    Clean way of determining page count?

    Hey all, I need help writing up a clean method of determining pages

    here is what I have so far.



    <?php

    //we have a total of 700
    //we only display 20 results per page.
  24. Not sure how it works in IE now, but setAttribute...

    Not sure how it works in IE now, but setAttribute works funny when applying events like
    div.setAttribute("onClick", function () { alert('test'); } ); ~ atleast in my experience

    But in the end I...
  25. you may want to avoid using setAttribute for...

    you may want to avoid using setAttribute for common properties such as method, action (With forms), value, name and etc

    any code to display?
Results 1 to 25 of 92
Page 1 of 4 1 2 3 4
HTML5 Development Center



Recent Articles