![]() | |
| |
| |||||||
| PHP / MySQL Assistance We understand. Not all of you are experienced programmers, but some of you are highly skilled at coding. So we've set aside this forum so you can ask questions, and provide answers to the most commonly asked PHP / MySQL issues. |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
| |||
|
Hi to you all, Big problem. I have my page ready but i need help to create database and connect it with register and login pages. I am using dreamweaver. My friend that was going to help me is abroad for work so I am stuck here. ![]() Can you help me please? Thank you advance. |
| ||||
|
To create a database, login to cPanel then click on MySQL Databases. From there you will be presented with an easy walk-through to create the DB. Video on creating a MySQL DB. That video is based on X2 theme but still does the trick
__________________ █ HostICan Discount - New customer? Save $50 on your HostICan hosting purchase! █ HostICan Hosting Reviews - See what other customers say about HostICan. █ Simple Hosting - Web Hosting Made Simple! |
| ||||
|
No problem. Hope it helps you.
__________________ █ HostICan Discount - New customer? Save $50 on your HostICan hosting purchase! █ HostICan Hosting Reviews - See what other customers say about HostICan. █ Simple Hosting - Web Hosting Made Simple! |
| ||||
|
are you talking about connecting locally or external (remote)?
__________________ Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket. |
| |||
|
Hi Sorry for late replies. I have a lot of work and little time for my web. For now at least. It is for a local connection. I wrote an update.php file based in my allready written dreamweaver form but it doesn't seem to work. error HTTP 500 Here is what I wrote (for localhost I used localhost. Is it correct??) <?php $Name = $_Post['Name']; $Surname = $_Post['Surname']; $Birthday = $_Post['Birhday']; $Phone_No = $_Post['Phone_No']; $E_mail = $_Post['E_mail']; $Mail_Address = $_Post['Mail_Address']; $Username = $_Post['Username']; $Password = $_Post['Password']; $Conf_Password = $_Post['Conf_Password']; mysql_connect ("localhost", "username", "password") or die ('Error: ' . mysql_error()); mysql_select_db ("sonophoe_Registration"); $query="INSETR INTO Register (ID, Name, Surname, Birthday, Phone_No, E_mail, Mail_Address, Username, Password, Conf_Password)VALUES ('NULL','"$Name"','"$Surname"','"$Birthday"','"$Ph one_No"','"$E_mail"','"$Mail_Adrdress"','"$Usernam e"','"$Password"','"$Conf_Password"')";mysql_query ($query) or die ('Error: Not Updated!!!'); echo "Database Update With: ".$Name." ".$Surname." ".$Birthday." ".$Phone_No." ".$E_mail." ".$Mail_Address." ".$Username." ".$Password." ".$Conf_Password.""; ?> Thank you in advance and for your patient. |
| ||||
| Quote:
What you should do is: 1. cpanel_x3_mysql
__________________ Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket. |