PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
ahaa...i knew i wasent crazy....somtthing is not right here....in this code the value that is suposed to return should be true but it doesnt...it seems as it returns false...why?
<?php
// open the connection
$conn = mysql_connect("dfhdfhgdfg", "dfsdfgsdf", "dfhgdfhdfhdfhg");
// database in use
mysql_select_db("testDB",$conn);
// create the SQL statement
$sql = "CREATE TABLE testTABLE(id int not null primary key auto_increment,
testField varchar(75))";
//execute the SQL statement
$result = mysql_query($sql, $conn);
// echo the result identifier
echo $result;
?>
We would appreciate that when a thread becomes solved of the problems contained therein the original poster edits their original post to add "[SOLVED]" to the beginning of the thread title.