Forum: PHP Nov 22nd, 2008 |
| Replies: 1 Views: 376 Please check out the lines:
<?php
<$conn=mysql_connect("localhost","root","root");
echo("connected"); ......
Please remove the "<" before $conn
Regards |
Forum: PHP Nov 22nd, 2008 |
| Replies: 1 Views: 307 Consider the following:
<?php
if(isset($_POST['btnDelete'])){
for($i=1;$i<=4;$i++){
if(isset($_POST['checkbox'.$i])){
echo "<br>".$_POST['checkbox'.$i];
}
}
} |
Forum: PHP Nov 15th, 2008 |
| Replies: 8 Views: 3,067 Sorry .... onChange="this.submit();" goes in the SELECT tag |
Forum: PHP Nov 11th, 2008 |
| Replies: 4 Views: 534 This should be the correct statement I suppose:
$query="SELECT count(*) FROM stats WHERE BirthCountry = ".$country." ;";
Regards. |
Forum: PHP Nov 11th, 2008 |
| Replies: 8 Views: 3,067 Replace your Double Quotes by Single Quotes, and vice versa.
echo "<form action='show.php' method='post' onChange='this.submit()'><select><option value selected>select</option><option... |
Forum: PHP Nov 10th, 2008 |
| Replies: 9 Views: 1,016 try this : http://in2.php.net/download-docs.php
You can search for PHP Manuals in CHM format. CHMs are easier to deal with. |