PHP
Example of Retrieving Data From a Form
Example of how to retrieve data from FORM using a new method and using ISSET t determine if submit button was pressed.
Example Retrieving Data From MySQL Using mysqli() function.
Example of using MYSQLI function which is something I haven’t used before. This is though a better way to retrieve data from a database. Retrieved from https://youtu.be/0wYSviHeRbs.
One Way To Replace Single-Quotes and Double-Quotes on Input Strings
This is an example of using replace to replace single-quotes, double-quotes and other characters in a string that can skew data and cause problems in inserting data to a SQL table.
Setting and Reading a Cookie in PHP
This code would create a cookie name myCookie with the value of “theValue”. To retrieve the value of that cookie, one may create a variable to retrieve the value of that cookie….
Example of Connecting to MySQL Database in PHP using mysql_query()
This is an example of a PHP Code to connect to a MySQL database using PHP using the mysql_query() function.
A FORM example using the REMOTE attribute and AJAX to PerformAutomatic Form Validation.
A FORM Example using the REMOTE attribute and AJAX to Perform Automatic Form Validation The following code is an example of using AJAX with type POST to send form parameters to a…