Different actions for different parts of a string
<?php
function dosomething($string, $else = '') {
if (empty($else))
$string
Unique Visitor Tracking
Hello. Currently, I run a voting site where voters are tracked by their IP address and can only vote
Problem writing URL into database
How would I write this into the database?
<?php echo "http://".$_SERVER['SER
Beginner question regarding Array's
Hi everyone, the page im working on has an array of variable at the top...
Code: $define_li
foreach and array need help combining
Hi guys.
Here's the code
Code: array(
'tag' => 'code',<
MYSQL INSERT ID NOT WORKING
Code: $id = mysql_insert_id();
header("Location: ./?view=$id");
Why $id pulling blan
Help, Base64 encoding url and decoding server side.
Hello everyone, i have a website with videos and games and also provide an embed code which people c
Adding Different Numbers From MySQL
Basically I have a mysql database with a couple prices as the following:
9.99
9.99
9.99
Why will this program not run if the variables are not global?
Hey guys I have a kind of perplexing situation that is probably simple, but I can't seem to understa
Why do I get this error?
Error:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or