www.webdeveloper.com

Search:

Type: Posts; User: VBAssassin

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. it's $_GET not $GET ;-)

    it's $_GET not $GET ;-)
  2. Replies
    6
    Views
    3,958

    My tone! And what was wrong with my tone!?...

    My tone! And what was wrong with my tone!? :rolleyes:

    Just kiddin, nice find on the tutorial by the way ;)

    Kind regards,
    Scott
  3. Replies
    6
    Views
    3,958

    You need to learn HTML first, not PHP! Look up...

    You need to learn HTML first, not PHP! Look up how html forms work...

    Kind regards,
    Scott
  4. Replies
    24
    Views
    2,186

    Hello, Easiest way to stop the form sending...

    Hello,

    Easiest way to stop the form sending again when pressing F5 (not when clicking back in the browser) is to just do a HTTP header redirect to itself with any confirmation message (if you want...
  5. Looks good to me :/ only thing i can think of is...

    Looks good to me :/ only thing i can think of is the data isn't sanitized:
    http://php.net/manual/en/function.mysql-real-escape-string.php

    Add that around the $_POST vars and then try. For example...
  6. Replies
    5
    Views
    527

    Baxter, NogDog has written the code for you. Just...

    Baxter, NogDog has written the code for you. Just play with that and you will learn the answer to what you are asking...
  7. Have to agree with NogDog on the using PHP DOM...

    Have to agree with NogDog on the using PHP DOM class. Also i will second the "not writing PHP to write HTML".

    What real advantage is there in doing what you are doing other than creating more work...
  8. Replies
    5
    Views
    619

    I think $_GET would be best for a persistant...

    I think $_GET would be best for a persistant solution & use AJAX for a better user experience.
  9. Replies
    4
    Views
    672

    To be honest wit you, i'm still not really sure...

    To be honest wit you, i'm still not really sure what the heck it is you're trying to do :/ but at least you have sorted it now :)
  10. Replies
    3
    Views
    486

    Errrrm... run it and find out maybe? :/

    Errrrm... run it and find out maybe? :/
  11. Replies
    7
    Views
    785

    Would have thought mysql would have returned an...

    Would have thought mysql would have returned an error for using AND with SET :/ something worth knowing ;)
  12. Replies
    4
    Views
    672

    You can force a download using a...

    You can force a download using a content-disposition http header via PHP. Maybe use that download.php file in conjunction with AJAX?
  13. Replies
    5
    Views
    619

    Just remember that search engines may not see the...

    Just remember that search engines may not see the pages using sessions... since google bot for example doesn't just use ONE ip address and session to index a site :(

    Kind regards,
    Scott
  14. Replies
    1
    Views
    768

    Please don't post the same question is multiple...

    Please don't post the same question is multiple boards... this is an exact copy of the one found in the PHP board.

    Kind regards,
    Scott
  15. PHP is a server side language, so the problem is...

    PHP is a server side language, so the problem is likely to do with the data that is returned from PHP. It's not that the JavaScript isn't compatible with PHP, it's maybe that the data being returned...
  16. The & means something in URL's... you need to use...

    The & means something in URL's... you need to use rawurlencode() eg:

    dsadsdas.com?title=<?php print urlencode("Window Reflection &bull; 1985"); ?>&blabla=bladeda

    Kind regards,
    Scott
  17. Paste the code?

    Paste the code?
  18. Replies
    39
    Views
    10,608

    HTML5 - never flash! :p

    HTML5 - never flash! :p
  19. HTML and JavaScript have secruity restrictions...

    HTML and JavaScript have secruity restrictions when accessing files on the users computer.

    You would be better off using something like a Java Applet or similar technology.

    Kind regards,
    Scott
  20. Wrong board, this is logical, html wont solve...

    Wrong board, this is logical, html wont solve this.

    For the best result you need a server side language like PHP, Python or Ruby.

    Kind regards,
    Scott
  21. Look at document.getElementById("ID here") And...

    Look at document.getElementById("ID here")
    And look at .checked
    To set a value just use .value

    Better still, use a JS Framework like jQuery or Prototype which will make this job easier.

    Kind...
  22. Replies
    9
    Views
    1,807

    Hello, Use ionCube to encode the PHP code......

    Hello,

    Use ionCube to encode the PHP code... you can even sell license files for the code and when the license expires the site goes with it until you issue them with another license file! Here's...
  23. Replies
    1
    Views
    576

    I've tried the FCKEditor (think it's changed to...

    I've tried the FCKEditor (think it's changed to CFKEditor or something like that now) but it was very buggy,

    The one i tend to use most now days is the "MCE Editor". Much better programmed (better...
  24. Replies
    4
    Views
    1,514

    Yeah, use regular expressions to validate the...

    Yeah, use regular expressions to validate the email address is in the correct format.

    Google will give you a million examples.

    Kind regards,
    Scott
  25. Replies
    7
    Views
    785

    View Post

    <?php
    function addFriend($friendID, $userID) {

    $userID = getID($userID);
    $friendID = getID($friendID);

    //execute the query and make sure it runs error free
    if ( ! mysql_query("UPDATE...
Results 1 to 25 of 59
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles