No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
IT student
- Interests
- i love programming in c++.
- PC Specs
- intel core2duo 2.8 GHz. ram=2GB HD=160GB. VGA = 128MB
Re:
Hi Experts, I am getting this error message, "Error connecting to mysql" whenever i am running the below scripts: [code=php]<?php $dbhost = 'localhost'; $dbuser = 'root'; $dbpass = 'password'; $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql'); $dbname = 'petstore'; mysql_select_db($dbname); ?>[/code] I've just set-up everything and … |
|
I am trying to use this script to enter data into my database from an html form. this code is not working. plz tell me where the error is form is [code=html]<html> <head> <title> Review, Ratings, Opinions Site </title> </head> <body text="green" > <form action="register processing.php" method="post" > First name: … |