asking for direction
I have 2 tables in my data, which are "post" and "event"
I won't make a summa
Different actions for different parts of a string
<?php
function dosomething($string, $else = '') {
if (empty($else))
$string
Problem with php's rename function
So, i'm having a problem with the php rename function. Basically my script 'delete_user.php' attempt
an interesting question
Greetings folks, got to ask an interesting question...
let say
i have created a function s
puting for loop in 1 value
hi ,
how do i put this code in 1 value:
Code: <?php
for ($i=1; $i<=5; $i
Connect to database that isn't localhost
I am currently doing a small script for a company that doesn't have mySql support on there hosting.
How could I do this?
Ive got a simple lottery game, and am using an sql database to keep track of the numbers bought. But
Online Event Ticket Sales
Has anyone wrote a script for online tickets sales?
I have been googling and found lots of th
Procedural to OOP
John Kleijn said that to avoid writing "crappy code", we should learn OOP and common OO pr
Reduce redundancies in switch functions?
Hello all! I somewhat new to PHP, and was wondering if anyone could give some suggestions on a swit