Lmao thats what im thinking :p

Lmao thats what im thinking :p
Nothing looks wrong with the code, apart from the continous mysql_query
That is not the problem. That is just saying include a certain file.PHP Code:<?php include('../Connections/MySQL.php'); ?>
Edit: I have noticed that you haven't defined these variables: $mysql, $database_mysql
Perhaps they're in the MySQL.php?
Anyway, use require rather than include.
kinda quit.
I was thinking that. Then again, it might not be.
CHECK YOUR MYSQL.PHP FILLLLLLEELELELLELE!
Right okThe ../Connection/MySQL.php include and file is fine. There is NO, I repeat NO error message, it just dosent create the tables.
Basicly heres my folder/file tree:
-Connections
--MySQL.php
-Install
--install2.php (This is the file being used to run the SQL)
Edit: Also do you really think I am that dumb to use file paths on my computer not file paths on the target server ''/
Also heres my MySQL.php file:
The username, passwords, and db are ok.PHP Code:<?php
$hostname_mysql = "localhost";
$database_mysql = "radio2";
$username_mysql = "root";
$password_mysql = "";
$mysql = mysql_pconnect($hostname_mysql, $username_mysql, $password_mysql) or trigger_error(mysql_error(),E_USER_ERROR);
?>
Last edited by Tomm; 24-04-2006 at 03:02 PM.
I wouldnt use .../ id use / thats just moi and im learning
No because the Connections folder it not in the install folder is it now?Originally Posted by Sygon.
I wouldnt use .../ id use / thats just moi and im learning
Anyway I think I fixed the problem. I used a diffrent type of table on my local (Testing) MySQL server than on my deployment server.
Org, did you add the correct prefix to the tables?
eg: I own habbotoday.net, and it would be:
habtoday_admin (for username)
did you remember to add the prefix (yoursite_)?
Want to hide these adverts? Register an account for free!