Hi,
Does any one develop any web pages with PHP,Apache,Win2k,Mysql ? If so,can please help 
me.
When I 'm inserting data thru html FORM ,getting error Notice: Undefined variable: 
like this.Can some one please send some tips pl?
Html code:
 
<form action="insert.php" method="post">
Software id: <input type="text" name="softwareid">
Manufacturer: <input type="text" name="manufacturer">
Name: <input type="text" name="name">
Version: <input type="text" name="version">
<input type="Submit">
</form>
<?
 
PHP code
<?
$database="testdatabase";
mysql_connect("localhost");
@mysql_select_db($database) or die( "Unable to select database");
$query = "INSERT INTO software1 VALUES 
('','$softwareid','$manufacturer','$name','$version')";
mysql_query($query);
mysql_close();
?>
 
Let me know what is wrong pl.
thx -seena 


---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

Reply via email to