1 2 3 4
#insert new record if it dosent already exist if !dbh.select_one('SELECT Salenm FROM Auctions Where Salenm LIKE "%' + c.attributes["href"][/....$/] + '%"') dbh.do("INSERT INTO Auctions (Salenm, Date, Location) VALUES (?, ?, 1)", ...
Ruby Insert new record if it dos...
by bain19.myopenid.com,
June 24, 2010 04:33,
1 refactoring, tagged with if, mysql, select, bain19, sql injection
1 2 3
<?php function clean($string){ ...
PHP Register/Login Script
by penaf.myopenid.com,
March 12, 2010 23:45,
13 refactorings, tagged with login, register, mysql, php
Hello People,
This websi...
1 2 3 4
<?php /** * Database: MySQL connection ...
PHP MySQL database class
This is a class to do all t...
1 2 3 4
<?php public static function addUser($username, $email, $password) ...
PHP User Registration Function
by gwrtheyrn,
July 24, 2009 20:05,
3 refactorings, tagged with php, registration, user, mysql, real_escape_string
Is this user registration f...
1 2 3 4
<?php if (!defined('ANTIHACK')) ...
PHP php mysql wrapper begginer
by fantomel,
April 03, 2009 14:33,
5 refactorings, tagged with php, mysql, mysql wrapper, wrappers, wrap, simple
Hello ppl i'm new to php\\O...
Is there a safer way to-do ...