Forum: PHP Jun 9th, 2007 |
| Replies: 6 Views: 1,530 There's a good contact form here (http://www.epleweb.com/php/) :) |
Forum: PHP Jun 9th, 2007 |
| Replies: 2 Views: 853 Let's see:
<?php
function quotereplace($text) {
$text = str_replace("\"", "", $text);
return $text;
}
?>
And then: |
Forum: PHP Jun 8th, 2007 |
| Replies: 2 Views: 923 http://www.andersmoen.com/2007/05/24/pagination/
Yes, I know this script gives out some errors, but that's because of the stupid way WordPress treats my posts..it makes " and ' special characters... |
Forum: PHP Jun 8th, 2007 |
| Replies: 5 Views: 3,782 $link = mysql_connect('localhost', 'root', "");
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
$query = "INSERT INTO information... |
Forum: PHP Mar 21st, 2007 |
| Replies: 8 Views: 3,827 Well..maybe you need something between " and " in line 15?
$keywords = explode("$string", $search);
Like that maybe? |
Forum: PHP Mar 21st, 2007 |
| Replies: 16 Views: 8,721 |
Forum: PHP Mar 20th, 2007 |
| Replies: 12 Views: 3,337 People can easily come with sql-injections if you use that code.
You have to use for example mysql_real_escape_string or something else. Read about safety at php.net (http://php.net/) |
Forum: PHP Mar 20th, 2007 |
| Replies: 16 Views: 8,721 Did you save the file in
C:/Program files/xampp/htdocs/your_file.php ?
Maybe not in program files, but at least where the xampp folder is ;) |
Forum: PHP Mar 6th, 2007 |
| Replies: 2 Views: 2,504 Well...your line 12:
<?PHPechoMiEncabezado("images/banner3.swf",$Xlenguaje);?>
Is not right.
Try this instead:
<?PHP echo 'MiEncabezado("images/banner3.swf",$Xlenguaje)'; ?> |