str_replace help
Hey there,
I'm a PHP newb, I'm having troubles with the str_replace function. I want to clean
PHP using IF to display error
i have a MySQL query and i want to display 1 thing only if the number of affected rows is >=1
Force download script not handling files with spaces properly
I have a regular old php force download script, uses this code:
Code: header("Cache-Cont
Extract text from string
Hi folks,
I have a string that looks like this:
aaaaaaaaaa:
bbbbbbbbbb (ccccccccc)
getting weird error..
okay, I'm getting an error on this particular function, something about the syntax in the mysql LIMI
I need some help with the IF command...
I have a large number of images in one section of my website with the .jpg format. I'm adding a bun
PHP page is blank
Hi Everyone,
I have a site in which I am able to open the first PHP webpage in my browser but
MySql timezone
Code: $sql = "SELECT *, date_format(date, '%m/%d/%Y at %I:%i %p' )as date FROM comments WHERE t
PHP/Database issue
My friend is helping me make a database where you go to a certain webpage of my site and the page wi
Include ("Absolute Path") of a file?
I'm not sure what I'm doing wrong. I am writing my php code in the same directory of the file that