• Member Avatar for mattyd
    mattyd

    Gave Reputation to piers in jQuery - Disabling Submit Button for Multiple Fields

    Hi, You could try using first() and nextAll() and have the same class for your different fields. For example checkField = $(".class").first().nextAll().val().length; see JQuery documentation below for more information: https://api.jquery.com/first/ …
  • Member Avatar for mattyd
    mattyd

    Edited jQuery - Disabling Submit Button for Multiple Fields

    Hello, I am experimenting with implementing jQuery to validate my form (I hired a programmer one year ago to do this but it seems she made a mess of it …
  • Member Avatar for mattyd
    mattyd

    Edited jQuery - Disabling Submit Button for Multiple Fields

    Hello, I am experimenting with implementing jQuery to validate my form (I hired a programmer one year ago to do this but it seems she made a mess of it …
  • Member Avatar for mattyd
    mattyd

    Created jQuery - Disabling Submit Button for Multiple Fields

    Hello, I am experimenting with implementing jQuery to validate my form (I hired a programmer one year ago to do this but it seems she made a mess of it …
  • Member Avatar for mattyd
    mattyd

    Began Watching jQuery - Disabling Submit Button for Multiple Fields

    Hello, I am experimenting with implementing jQuery to validate my form (I hired a programmer one year ago to do this but it seems she made a mess of it …
  • Member Avatar for mattyd
    mattyd

    Marked Solved Status for Getting a User's IP Via PHP

    Hello, I am wanting to collect the IP address of anyone that visits my site and submits a form (Saving it to my DB). I have been researching this and …
  • Member Avatar for mattyd
    mattyd

    Gave Reputation to JorgeM in Getting a User's IP Via PHP

    Yes, i'd use those two variables. THere are more if you want to try to collect other info.. http://php.net/manual/en/reserved.variables.server.php im not really php developer, more like a php noob, but …
  • Member Avatar for mattyd
    mattyd

    Created Getting a User's IP Via PHP

    Hello, I am wanting to collect the IP address of anyone that visits my site and submits a form (Saving it to my DB). I have been researching this and …
  • Member Avatar for mattyd
    mattyd

    Began Watching Getting a User's IP Via PHP

    Hello, I am wanting to collect the IP address of anyone that visits my site and submits a form (Saving it to my DB). I have been researching this and …
  • Member Avatar for mattyd
    mattyd

    Marked Solved Status for Bound Parameters -vs- Escape Strings

    Hello, I am currently using bound parameters in regards to user input on my form. I have read about escape strings also and thought of using both together. Is this …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Bound Parameters -vs- Escape Strings

    pritaeas: Thank you for your reply. I just watched a YouTube video about this very question that I posted; They said that bound parameters were designed in fact to automatically …
  • Member Avatar for mattyd
    mattyd

    Created Bound Parameters -vs- Escape Strings

    Hello, I am currently using bound parameters in regards to user input on my form. I have read about escape strings also and thought of using both together. Is this …
  • Member Avatar for mattyd
    mattyd

    Began Watching Bound Parameters -vs- Escape Strings

    Hello, I am currently using bound parameters in regards to user input on my form. I have read about escape strings also and thought of using both together. Is this …
  • Member Avatar for mattyd
    mattyd

    Marked Solved Status for Zip Code Field not being Saved to DB Correctly

    Hello. I have one field on my submission form which is for the User's zip code. Originally I had it set to int(5), but when I submit my form with …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Zip Code Field not being Saved to DB Correctly

    That worked perfectly. Thank you!
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Zip Code Field not being Saved to DB Correctly

    Thank you both. I will try your solutions.
  • Member Avatar for mattyd
    mattyd

    Edited Zip Code Field not being Saved to DB Correctly

    Hello. I have one field on my submission form which is for the User's zip code. Originally I had it set to int(5), but when I submit my form with …
  • Member Avatar for mattyd
    mattyd

    Edited Zip Code Field not being Saved to DB Correctly

    Hello. I have one field on my submission form which is for the User's zip code. Originally I had it set to int(5), but when I submit my form with …
  • Member Avatar for mattyd
    mattyd

    Created Zip Code Field not being Saved to DB Correctly

    Hello. I have one field on my submission form which is for the User's zip code. Originally I had it set to int(5), but when I submit my form with …
  • Member Avatar for mattyd
    mattyd

    Began Watching Zip Code Field not being Saved to DB Correctly

    Hello. I have one field on my submission form which is for the User's zip code. Originally I had it set to int(5), but when I submit my form with …
  • Member Avatar for mattyd
    mattyd

    Marked Solved Status for Access denied for user 'admin'@'localhost' (using password: NO)

    Hello, I have just attempted to update my database login page to MySQLi and also use prepared statements but upon submitting a form I receive the error "Access denied for …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Access denied for user 'admin'@'localhost' (using password: NO)

    UPDATE: Attempting to submit the form again three times, all data is now saved correctly using the code posted originally, above. But, I receive the error message: "Thank you for …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Access denied for user 'admin'@'localhost' (using password: NO)

    This is what I previously always used but did not think it was MySQLi-compliant: ` define('DB_HOST', 'localhost'); define('DB_NAME', 'hellcircles'); define('DB_USER', 'diafol'); define('DB_PASS', 'sillybilly'); ` Is it?
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Access denied for user 'admin'@'localhost' (using password: NO)

    Diafol: The only area of credentials that I changed was the password to "password". All of the rest is the original code as before. I do not want *and cannot* …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Access denied for user 'admin'@'localhost' (using password: NO)

    diafol: I tried as you suggested and received the message:"Connection failed: Access denied for user 'user'@'localhost' (using password: YES)"
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Access denied for user 'admin'@'localhost' (using password: NO)

    In the PHP code posted above I have the following: `$password = "********";` The password is being supplied. Nothing in regards to credentials has changed since today when I rebuilt …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Access denied for user 'admin'@'localhost' (using password: NO)

    I re-checked the login credentials - They appear to be correct. The thing is, the code is set to throw an error if I am unable to connect to the …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Access denied for user 'admin'@'localhost' (using password: NO)

    diafol: Hi. I am actually editing the files directly on the hosting site (My machine's server is not even turned on - I rarely use it, only when I am …
  • Member Avatar for mattyd
    mattyd

    Created Access denied for user 'admin'@'localhost' (using password: NO)

    Hello, I have just attempted to update my database login page to MySQLi and also use prepared statements but upon submitting a form I receive the error "Access denied for …
  • Member Avatar for mattyd
    mattyd

    Began Watching Access denied for user 'admin'@'localhost' (using password: NO)

    Hello, I have just attempted to update my database login page to MySQLi and also use prepared statements but upon submitting a form I receive the error "Access denied for …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Prepared Statements in MySQLi

    This is what I am currently using: ` function NewUser() { $userName = $_POST['user']; $birthYear = $_POST['birthYear']; $email = $_POST['email']; $password = $_POST['pass']; $countries = $_POST ['countries']; $state = $_POST …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Prepared Statements in MySQLi

    What I am confused about (And I have seen this in other examples) is contained in the following: ` // you can now give values to your variables // whether …
  • Member Avatar for mattyd
    mattyd

    Created Code Embedding in a Post?

    I do not know if this has already been adressed or if it just me, but I find the insertion of code into a post in a proper manner using …
  • Member Avatar for mattyd
    mattyd

    Began Watching Code Embedding in a Post?

    I do not know if this has already been adressed or if it just me, but I find the insertion of code into a post in a proper manner using …
  • Member Avatar for mattyd
    mattyd

    Began Watching MySQLi binding example

    The following snippet shows how you can use binding in your queries when using MySQLi. For starters, here's the table structure I've used: CREATE TABLE `mytable` ( `id` int(11) unsigned …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in Prepared Statements in MySQLi

    Pritaeas: Thank you for that link. My one question: I will not be supplying values in advance, (The User will be doing that via a submitted form) so what do …
  • Member Avatar for mattyd
    mattyd

    Created Prepared Statements in MySQLi

    I posted earlier today about converting my MySQL to MySQLi - Upon further research I came across the following, Prepared Statements. It seems that this may be a good way …
  • Member Avatar for mattyd
    mattyd

    Began Watching Prepared Statements in MySQLi

    I posted earlier today about converting my MySQL to MySQLi - Upon further research I came across the following, Prepared Statements. It seems that this may be a good way …
  • Member Avatar for mattyd
    mattyd

    Created MySQLi & Escape Strings

    Hello. I am beginning the process of coverting all of my MySQL to MySQLi. I have been doing much research on this but find it a bit confusing. I have …
  • Member Avatar for mattyd
    mattyd

    Began Watching MySQLi & Escape Strings

    Hello. I am beginning the process of coverting all of my MySQL to MySQLi. I have been doing much research on this but find it a bit confusing. I have …
  • Member Avatar for mattyd
    mattyd

    Stopped Watching Parse error: syntax error, unexpected end of file

    Hello: I am getting a parse error while running a file on my server on my home machine: Parse error: syntax error, unexpected end of file I have been researching …
  • Member Avatar for mattyd
    mattyd

    Marked Solved Status for Parse error: syntax error, unexpected end of file

    Hello: I am getting a parse error while running a file on my server on my home machine: Parse error: syntax error, unexpected end of file I have been researching …
  • Member Avatar for mattyd
    mattyd

    Stopped Watching When Panel is Opened, It Jumps to the Left

    There is an issue with a page I am developing that I just noticed. Please take a look at the page: http://redlinedown.com/index700.html# On the top, black panel bar, notice "Log …
  • Member Avatar for mattyd
    mattyd

    Stopped Watching HTML/CSS - Perhaps if some has time they can look this over

    I am issues involving the CSS for my HTML index page. I will be honest, I did not write all of the mark-up/code so now I am in discovery/repair mode …
  • Member Avatar for mattyd
    mattyd

    Marked Solved Status for HTML/CSS - Perhaps if some has time they can look this over

    I am issues involving the CSS for my HTML index page. I will be honest, I did not write all of the mark-up/code so now I am in discovery/repair mode …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in HTML/CSS - Perhaps if some has time they can look this over

    mattster: Thank you for your reply. Attached is a screenshot of the index page as it is currently - I would like to have all the text fields grey as …
  • Member Avatar for mattyd
    mattyd

    Created HTML/CSS - Perhaps if some has time they can look this over

    I am issues involving the CSS for my HTML index page. I will be honest, I did not write all of the mark-up/code so now I am in discovery/repair mode …
  • Member Avatar for mattyd
    mattyd

    Began Watching HTML/CSS - Perhaps if some has time they can look this over

    I am issues involving the CSS for my HTML index page. I will be honest, I did not write all of the mark-up/code so now I am in discovery/repair mode …
  • Member Avatar for mattyd
    mattyd

    Marked Solved Status for When Panel is Opened, It Jumps to the Left

    There is an issue with a page I am developing that I just noticed. Please take a look at the page: http://redlinedown.com/index700.html# On the top, black panel bar, notice "Log …
  • Member Avatar for mattyd
    mattyd

    Replied To a Post in When Panel is Opened, It Jumps to the Left

    JorgeM, Hi. I implemented your suggestion to fix the slide-down problem - It worked perfectly. Thank you so much for your kind assistance! Matthew

The End.