-
What books do you like to read?
None, I hate reading books! You should only read if you have to!
-
Vin Diesel To Direct Fast and Furious 4?
Is this true, a fourth fast and furious! I can't wait!
-
PHP advice
<?php $to = "myemail@mydomain.com"; $re = "Website Feedback" $your_company = addslashes($_GET['company']); $your_name = addslashes($_GET['name']); $your_phone = addslashes($_GET['phone']); $your_email = addslashes($_GET['email']); $your_message = addslashes($_GET['message']); $subject = "From" . $your_email; $headers .= 'Content-type: text/html; charset=iso-8859-1'; $content = "<html><head><title>Contact Us</title></head><body><br>"; $content .= "Company: <b>" . $your_company . "</b><br>"; $content .= "Name: <b>" . $your_name . "</b><br>"; $content .= "Phone: <b>" . $your_phone . "</b><br>"; $content .= "E-mail: <b>" . $your_email . "</b><br><hr><br>"; $content .= $your_message; $content .= "<br></body></html>"; mail($to,$subject,$content,$headers); ?>
-
Scariest movie...?
The Shining, First time I saw it i nearly couldn't sleep. Scared the life out of me. (I was around 9).
-
which ftp client do you use
I use smartFTP. Don't download the new one it sucks.
-
Hello
Hi, I'm Chris, 16 and live in Holland. Been web designing for nearly 5 years now, my main abilities lie in PHP and MySQL, Never went to school to learn anything. Everything I know is through trial and error. Looking forward to helping people and making some cash
-
First attempt at using php for wordpress.
oops, doubly post .
-
First attempt at using php for wordpress.
In your description you probobally have quotations, view the source of your page and check to see what all is in your a tag. Try this, it will probobally add slashes to every quotation though. <h2><a href="<?php the_permalink(); ?>" title="<?=addslashes(the_title(); ?>"> <?php the_title(); ?></a></h2>
-
Need help with a small php-code(cookie)
<?php if( empty( $_COOKIE['visited'] ) ) { setcookie('display', "Hello!"); setcookie('visited', true); } if( isset( $_COOKIE['visited'] ) && !empty( $_COOKIE['display'] ) ) { echo "<h1> {$_COOKIE['display']} </h1>"; } if( isset( $_POST['submit'] ) ) { setcookie('display', false); } ?> <form action="" method="post"> <input type="submit" name="submit" value="Don't display" /> </form> Something like this?