class Competitor
{
    public $CompetitorID;
...

PHP Make a repository DRYer

by Ants, December 21, 2011 23:59, No refactoring, tagged with mysql, DRY, repository

I need suggestions on how t...

F9a9ba6663645458aa8630157ed5e71e Talk
//Removed the 'Javascript' as well as 'css' styles here bcs tht wont be needed...
//datas getting inserted fine on command line and on php-editor preview, but not on the localhost server.
//"Apache/2.0.54 (Win32) Server at localhost Port 80" this is the bottom line msg displayed on my browser.
...

PHP Please help me

by phptomysqlhelpmeplease.blogspot.com, February 27, 2011 10:02, 3 refactorings, tagged with help, php, mysql, apache, please, me, browser, 8080, 80 port

I created an html form to g...

55502f40dc8b7c769880b10874abc9d0 Talk
<?php
function clean($string){ 
...

PHP Register/Login Script

by penaf.myopenid.com, March 12, 2010 23:45, 115 refactorings, tagged with php, mysql, register, login

Hello People,

This websi...

84c8afb06eeacbf350b5b42cb795f195 Talk
<?php
/**
 * Database: MySQL connection
...

PHP MySQL database class

by lukas, September 02, 2009 20:20, 5 refactorings, tagged with php, mysql, database

This is a class to do all t...

A54000a44341dc35ab30a332a49784d3 Talk
<?php

public static function addUser($username, $email, $password)
...

PHP User Registration Function

by gwrtheyrn, July 24, 2009 20:05, 4 refactorings, tagged with php, user, mysql, registration, real_escape_string

Is this user registration f...

D3bd7339e1941bc25c05110b69a82721 Talk
<?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...

8bdcb8b82adf1dd562970b22d3458d7d Talk
<?php

abstract class mySQL // abstract => cannot be instanciated
...

PHP MySQL original PHP 5 wrappe...

by TiTi, August 01, 2008 20:44, 10 refactorings, tagged with object, php5, mysql, static, wrapper, const, student, titi

Typical MySQL wrapper writt...

1e6b9d50678a0cc32d98aa1dd1ec3846 Talk
function db_cache_2($query)
 {
  // Query cache table
...

PHP DB Cache

by ellisgl.myopenid.com, January 14, 2008 22:48, 8 refactorings, tagged with php, cache, mysql, update

It's a DB caching scheme th...

8bba46dba9043c254e6eef1aa664e6f0 Talk