I am using the following code. Why it does not insert record in the MySQL Table through php script:
[code=php]
<?php
$dbhost='localh ost';
$dbuser='root';
$dbpass='newpas s';
$mysqldb='mysql ';
if(isset($_POST['add'])){
$username=$_POS T['username']; // echo test for $username is OK
$password=$_POS T['password']; // echo test for $password is OK
$conn=mysql_con nect($dbhost,...
User Profile
Collapse
-
Insert Query through PHP does not insert data into MySQL Table
-
servo started a topic Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'debscrof'@in MySQLWarning: mysql_connect() [function.mysql-connect]: Access denied for user 'debscrof'@
I created a user "test1" (which then got the username "debscrof_test1 " from CPanel), a password for the user "test2", and then added the user to a new database "testdb" with all priviliges
Then a simple script to connect to the database (as I am trying to locate the source of the errors), as per below:
[PHP]<?php
$dbhost = "localhost" ;
$dbuser = "debscrof_test1 ";... -
'mysql-nt --console' does not completing the process.
Hi
I have problem when I use mysql-nt -- console at mysql prompt. The process stops at this line
Version: '4.0.18-nt' socket: '' port: 3306
and after Ctrl+c the process aborts and installation does not successful.
I am using Windows XP but it neve happen before. Let help me
No activity results to display
Show More