www.webdeveloper.com

Search:

Type: Posts; User: Belrick

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    192

    Need help modifying a Jquery script

    Using PHP im building a bunch of elements from directory structures.

    HTML



    <div class="gal">
    <div class="counter"></div>
    <div class="left_arrow"></div><div...
  2. Definately the "" which is causing the grief with...

    Definately the "" which is causing the grief with 5.2

    They are added by excel since they are formatted as currency(, in thousands)
  3. Just using while (($data[$row] = fgetcsv($handle,...

    Just using while (($data[$row] = fgetcsv($handle, 0, ",")) !== FALSE) {

    Have noticed after openign the csv in notepad++ that the negative numbers are bracketed with "

    Going to try file get...
  4. PHP 5.2 is treating negative numbers as strings

    Hi!

    Thankyou for reading.

    Im pulling numbers off of a csv file.

    In PHP 5.4 there isnt a problem.

    In PHP 5.2 on a linux server that i have no means of access, -100.00 is not seen as...
  5. Replies
    35
    Views
    2,510

    I personally think you are either a coder/web...

    I personally think you are either a coder/web developer or a graphic artist. Very rare for a person to be both IMHO.

    What i'm saying is that you don't need to be able to design and make websites...
  6. Replies
    4
    Views
    616

    Hi Sorry for the lecture but here it is...

    Hi

    Sorry for the lecture but here it is anyway.

    The key to writing good code is being easily able to debug said code.

    Youve provided yourself with zero means to do so, that means every line...
  7. Make it easy on yourself. $connect =...

    Make it easy on yourself.




    $connect = mysql_connect($hostname, $username, $password) or trigger_error(mysql_error(),E_USER_ERROR);

    mysql_select_db($database, $connect);
    $query = "SELECT *...
  8. The way you are organising your array is making...

    The way you are organising your array is making life hard for you.

    Seriously recommend you change your structure.



    if(isset($_SESSION[$userid][$todaysdate])){...
  9. Replies
    3
    Views
    417

    As-Salamu Alaykum?

    As-Salamu Alaykum?
  10. Replies
    3
    Views
    417

    What is Aslam o Alaikum? Is that a mis...

    What is Aslam o Alaikum?

    Is that a mis spelling?
  11. I personally think you need to spend some time...

    I personally think you need to spend some time wondering where your next meal will come from and how on earth will you afford to pay your share of the rent.

    That sort of thing will focus your mind...
  12. Replies
    1
    Views
    574

    Definately possible and quite easy.

    Definately possible and quite easy.
  13. Replies
    42
    Views
    3,125

    Good for you Nils Everyone learns differently...

    Good for you Nils

    Everyone learns differently

    Im from New Zealand and the males here all generally learn by hands on, seeing outcomes as a direct result of learning to APPLY what weve learnt
    ...
  14. Replies
    42
    Views
    3,125

    I found books terrible. I kid you not, there...

    I found books terrible.

    I kid you not, there were coding mistakes in them!

    "why isnt this working?" can really screw your learning up if the code could never work!

    Plus older revisions are...
  15. Replies
    1
    Views
    416

    I wish i could help but: a. your code seems...

    I wish i could help but:
    a. your code seems really convoluted
    b. its missing parts of its code anyway.

    How can help tell what you've left out accidently apart from whats not there on purpose?
  16. Also i use csv for several situations. But...

    Also i use csv for several situations.

    But always as an altenative storage and access method to sql.

    WHy dont you just store the raw data in sql and build a csv file as and when needed?
    ...
  17. I use ...

    I use

    base64_encode(gzcompress(serialize($objWriter)));

    To store excel spreadsheets ($objWriter) into mysql blob for later retrieval.

    Its a beautiful thing.
  18. Replies
    6
    Views
    772

    If you are new and in no great hurry then I...

    If you are new and in no great hurry then I recommend you ditch this code and learn instead to do it in ajax.

    So much nicer for the end user to use interactive websites that impliment ajax.
  19. Good question I just use add slashes for ajax...

    Good question

    I just use add slashes for ajax data and mysql_real_escape_string for forms used for logging in.
  20. Replies
    5
    Views
    632

    So youre sorted now then?

    So youre sorted now then?
  21. Replies
    3
    Views
    361

    You can pretty much do what you like notflip,...

    You can pretty much do what you like notflip, thats the good news!

    The bad news is that youll need to change the way your brain works in order to achieve your goals (took me a long time but im...
  22. is one or both using a persistant connection but...

    is one or both using a persistant connection but each is using different login details?

    ...

    Actually thinking about it
    Seems likely that each one is over writting the others classes. Say they...
  23. Replies
    5
    Views
    632

    Just store each individual total into a session...

    Just store each individual total into a session variable


    @session_start();
    if (!isset($_SESSION['grandtotal'])){
    $_SESSION['grandtotal'] = 0;
    }


    $_SESSION['grandtotal'] +=...
  24. Replies
    7
    Views
    1,949

    Also IMHO input buttons are ugly and so 90's ;) ...

    Also IMHO input buttons are ugly and so 90's ;)

    Better to make your own 'button' IMHO then give it a onclick or onmouseup js function.
  25. Replies
    7
    Views
    1,949

    Also i believe your state changed ajax function...

    Also i believe your state changed ajax function is wrong.





    ajaxRequest.onreadystatechange = function(){
    if (ajaxRequest.readyState == 4){
    ...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4
HTML5 Development Center



Recent Articles