By bonlebon
via dev.fyicenter.com
Published: Sep 08 2006 / 07:56
A collection of 18 tips on managing tables and data rows with PHP scripts. Clear explanations and tutorial exercises are provided on creating and dropping tables; inserting, updating, and deleting rows, selecting and looping through data rows by pages; setting auto-increment IDs.
Comments
Blizz replied ago:
Nice overview for beginning users, although I would never advise someone to fix quoting in strings by a simple str_replace. There are much better functions for that like mysql_escape_string and, even better, mysql_real_escape_string.
A simple search & replace won't fix UTF-8 injection attacks etc. Just my $0.02
Voters For This Link (8)
Voters Against This Link (0)