Sarfraz Ahmed's Blog

PHP, MySQL, jQuery, JavaScript, Ajax, CSS, HTML and more

Category Archives: MySQL

Deleting Table Rows Using JQuery and PHP

In this tutorial, I will show you how you can delete table rows from database using JQuery and PHP. The interesting thing here is that we will be able to delete the rows without reloading the page and present some cool animations while deleting those rows. You will also learn table stripping or alternate row [...]

Dealing With SQL Injection

If you have no idea about what sql injection is, read this wiki article. How can we prevent SQL injection attacks? As with XSS attacks, you must never trust user input. The best way of cleaning user input is using PHP’s built in mysql_real_escape_string() function; this will escape characters such as ‘, ” and others, [...]

QuickDB – The MySQL Wrapper

When working on different projects, you have to use time-consuming mysql commands every now and then. Same was the case with me and i had really got sick of all those commands, so i decided to create my own mysql wrapper with ability to perform the similar tasks far more quickly and easily than their [...]

Follow

Get every new post delivered to your Inbox.

Join 164 other followers