dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: ginerjm

Page 1 of 20 1 2 3 4

Search: Search took 0.04 seconds; generated 24 minute(s) ago.

  1. Thread: MYSQL Error

    by ginerjm
    Replies
    28
    Views
    503

    You can't execute a prepare query that you...

    You can't execute a prepare query that you haven't provided a value for.
  2. Thread: MYSQL Error

    by ginerjm
    Replies
    28
    Views
    503

    I looked over the last few of your posts. Unless...

    I looked over the last few of your posts. Unless you have modified the code since then I see some problems.
    1 - you have a query with embedded " marks inside a string already wrapped in " marks. ...
  3. Thread: MYSQL Error

    by ginerjm
    Replies
    28
    Views
    503

    That quote is a problem. What about the lines...

    That quote is a problem. What about the lines prior to it - do they have a similar hanging quote?

    Do you use an editor that works well for coding php where it highlights the syntax and makes it...
  4. Thread: MYSQL Error

    by ginerjm
    Replies
    28
    Views
    503

    Have you read the manual? It is very good at...

    Have you read the manual? It is very good at helping and showing examples.
  5. Thread: MYSQL Error

    by ginerjm
    Replies
    28
    Views
    503

    Your resources are correct. Your copying of them...

    Your resources are correct. Your copying of them is incorrect.
  6. Thread: MYSQL Error

    by ginerjm
    Replies
    28
    Views
    503

    How did you learn how to use the ? parms in your...

    How did you learn how to use the ? parms in your query and how did you learn to use named parms (:email) in your array? Go back to those resources, read them again and decide which one you want to...
  7. Thread: MYSQL Error

    by ginerjm
    Replies
    28
    Views
    503

    You're mixing up your syntaxes. If you want to...

    You're mixing up your syntaxes. If you want to use named parms, then build your query statement with them.
  8. Thread: MYSQL Error

    by ginerjm
    Replies
    28
    Views
    503

    bindParam(array(':nickname2'=>'$nickname2',':email...

    bindParam(array(':nickname2'=>'$nickname2',':email'=>'$email',':userid'=>'$userid'));
  9. Replies
    4
    Views
    201

    What a horrible mixup of html and php code. ...

    What a horrible mixup of html and php code. Impossible to read and impossible to follow. Try organizing your thoughts and write your code to keep things separate. And think about those errors you...
  10. Thread: MYSQL Error

    by ginerjm
    Replies
    28
    Views
    503

    I don't know where your error message is getting...

    I don't know where your error message is getting the numbers of 5 & 6 since your code shows only 3. The problem I see is that you setup your parms array incorrectly. Is that some new 'array' syntax...
  11. Don't know how this works with the reference you...

    Don't know how this works with the reference you are providing. Can you not move that to a local var and the move it back to see if it works that way?
  12. You are in a loop so you have to use the & on...

    You are in a loop so you have to use the & on your var to have a permanent effect. Read up in the manual!!
  13. unset it?

    unset it?
  14. Replies
    8
    Views
    333

    Is this a stand alone web site or does it use...

    Is this a stand alone web site or does it use some CMS to manage it?

    When you edit the index file do you see terms like 'include' or 'require' indicating that other files are being pulled into...
  15. Replies
    7
    Views
    435

    HTH. As long as you see how and why it works. ...

    HTH. As long as you see how and why it works. And stop putting ; at the end of while statements.
  16. The manual: http://php.net/manual/en/index.php ...

    The manual: http://php.net/manual/en/index.php

    Then search 'array' which will present a list of all of the array functions available. You want 'array_key_exists' perhaps.
  17. Have you looked at the manual under 'arrays' for...

    Have you looked at the manual under 'arrays' for all the available functions you can use? The answer is there.
  18. Replies
    7
    Views
    435

    Try this in place of your current code: .....

    Try this in place of your current code:


    ..
    ..
    ..
    <tbody>
    <?php
    while($row = mysqli_fetch_array($result))
    {
  19. Replies
    7
    Views
    435

    Sloppy coding style but the real problem is the...

    Sloppy coding style but the real problem is the semi at the end of your while. Also - you probably need {} to group all the code you want in the while loop.
  20. Replies
    7
    Views
    435

    The code you posted is missing some parts. It...

    The code you posted is missing some parts. It starts without a quote and then starts using quotes on the next html tag. What gives? How about a little more context here?
  21. Replies
    6
    Views
    574

    Turn on error checking. Place these at the...

    Turn on error checking.

    Place these at the beginning of you PHP code.



    error_reporting(E_ALL | E_NOTICE);
    ini_set('display_errors', '1');
  22. Replies
    6
    Views
    574

    tests for equality use ==

    tests for equality use ==
  23. Replies
    15
    Views
    745

    See post #5. You are NOT doing it the same way I...

    See post #5. You are NOT doing it the same way I said. Either use my method or just plain E_ALL, but certainly NOT what you chose to do.

    As for 'not altering existing code'. If it's broke,...
  24. Of Course they are variables! Good luck with...

    Of Course they are variables!

    Good luck with that.
  25. Replies
    15
    Views
    745

    Why would you do the exact opposite of what I...

    Why would you do the exact opposite of what I gave you? Really?
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles