www.webdeveloper.com

Search:

Type: Posts; User: Belrick

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Hi You could use this instead: $q =...

    Hi

    You could use this instead:



    $q = "INSERT INTO contacts (name, email) VALUES ('{$this->_user['name']}', '{$this->_user['email']})
    ON DUPLICATE KEY UPDATE SET...
  2. Replies
    4
    Views
    1,288

    I am a big user of serializing to store in MySQL....

    I am a big user of serializing to store in MySQL.

    However I have learned that it is best really for fixed data, say backing up an exported excel spreadsheet generated by a website.

    For small...
  3. Replies
    0
    Views
    707

    Help with SEO for site using AJAX

    Hi.

    Over the years I built a number of sites around AJAX, simply because the sites suited web application feel. (like a website that works as a sale tool)

    Problem is of course that it is not...
  4. Replies
    8
    Views
    116,418

    echo " "....

    echo "<td>". stripslashes(nl2br($row->season))."</td>";
  5. Replies
    0
    Views
    393

    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...
  6. 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)
  7. 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...
  8. 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...
  9. Replies
    35
    Views
    4,550

    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...
  10. Replies
    4
    Views
    790

    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...
  11. 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 *...
  12. 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])){...
  13. Replies
    3
    Views
    517

    As-Salamu Alaykum?

    As-Salamu Alaykum?
  14. Replies
    3
    Views
    517

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

    What is Aslam o Alaikum?

    Is that a mis spelling?
  15. 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...
  16. Replies
    1
    Views
    1,391

    Definately possible and quite easy.

    Definately possible and quite easy.
  17. Replies
    42
    Views
    6,149

    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
    ...
  18. Replies
    42
    Views
    6,149

    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...
  19. Replies
    1
    Views
    703

    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?
  20. 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?
    ...
  21. I use ...

    I use

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

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

    Its a beautiful thing.
  22. Replies
    6
    Views
    1,402

    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.
  23. 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.
  24. Replies
    5
    Views
    993

    So youre sorted now then?

    So youre sorted now then?
  25. Replies
    3
    Views
    477

    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...
Results 1 to 25 of 228
Page 1 of 10 1 2 3 4
HTML5 Development Center



Recent Articles