Different actions for different parts of a string
<?php
function dosomething($string, $else = '') {
if (empty($else))
$string
Query output more than expected
$query=mysql_query("SELECT * FROM players, communities, divisions WHERE dob BETWEEN '{$start_da
Generate multilayered array from string.
ok so i have a string that looks like this:
Code: blog:edit_all,delete_all|users:edit_all,delete_
PHP Directory Listing Not working
Hey Guys,
I need help, I tried a ton of directory listing scripts and they all don't work. Al
Am I setting up my sites oldschool?
Ok,
When I create a site I open a basic template that I have created that consists of a css f
how to load a Sys file with system load and call images?
normally you need register the module as a service with CreateService, and start the service
small inaccuracies
I have this code to convert fractional base 10 into base 2:
while($num > 0)
sql error
I have been looking at this code for 20mins and can't work out what I am doing wrong. There is somet
puting for loop in 1 value
hi ,
how do i put this code in 1 value:
Code: <?php
for ($i=1; $i<=5; $i
elseif help!
OK so I'm new to the site, as well as PHP altogether (Trying my hand at managing an online RPG) and