PFMaBiSmAd Posted April 26, 2011 Share Posted April 26, 2011 it did not work That contains no useful information about what you saw in front of you. Someone could easily name 12 different things that happened when you tried your code, but without any information from you about what symptom you saw to narrow down the possibilities to just one or two of the most likely causes, no one is going to sit here wasting time guessing what "it did not work" means. Quote Link to comment https://forums.phpfreaks.com/topic/234714-problems-error-with-mysql-setting-up-register-form/page/2/#findComment-1206379 Share on other sites More sharing options...
Artmark Posted April 26, 2011 Author Share Posted April 26, 2011 Query failed i WENT INTO THE MY PHPADMIN AND IT SHOWS THERE ARE NO TABLEs IN THe DATABASE I know nothing about adding table and the structure of the db. Mark..... Quote Link to comment https://forums.phpfreaks.com/topic/234714-problems-error-with-mysql-setting-up-register-form/page/2/#findComment-1206413 Share on other sites More sharing options...
Artmark Posted April 26, 2011 Author Share Posted April 26, 2011 Great now my whole website is not showing correctly. http://www.cpassoc.com.au looks like i have strip all the file and disconnect the site and connect a new one, and hope it works. I think it must have something to do with the database. big trouble, my client will be pissed. Mark.... Quote Link to comment https://forums.phpfreaks.com/topic/234714-problems-error-with-mysql-setting-up-register-form/page/2/#findComment-1206435 Share on other sites More sharing options...
viviosoft Posted April 26, 2011 Share Posted April 26, 2011 Just a tip... you should never use your production server as your development server for this very reason. I haven't looked thru the posts yet so I'm not sure what your problem might be. I will suggest looking into XAMPP. It will allow you to have a local development environment without messing up your production environment. It provides Apache, PHP and mySQL all running locally on your machine. http://www.apachefriends.org/en/xampp-windows.html I would suggest resorting your server from a previous point in time (if you can). If you are using some sort of development environment than most likely there are some differences between your local and production environments. Quote Link to comment https://forums.phpfreaks.com/topic/234714-problems-error-with-mysql-setting-up-register-form/page/2/#findComment-1206440 Share on other sites More sharing options...
Artmark Posted April 26, 2011 Author Share Posted April 26, 2011 its fine I accidently removed the wrong style sheet. Sites fine but I will leeve the form alone i think. Quote Link to comment https://forums.phpfreaks.com/topic/234714-problems-error-with-mysql-setting-up-register-form/page/2/#findComment-1206457 Share on other sites More sharing options...
Muddy_Funster Posted April 26, 2011 Share Posted April 26, 2011 there are two locations in your code where you have an or die : first during a select, the second during the insert. If you change each of them to the code that pikachu gave you you should get something back that we can work with to help you. Quote Link to comment https://forums.phpfreaks.com/topic/234714-problems-error-with-mysql-setting-up-register-form/page/2/#findComment-1206464 Share on other sites More sharing options...
Artmark Posted April 28, 2011 Author Share Posted April 28, 2011 Hi Guys it is Working Now thanks, but now placing code into html pages. If I want to add the members email into registration page do i have to change the data base too,if so how. Plus Do I have to make a new table for the profile page. Mark..... Quote Link to comment https://forums.phpfreaks.com/topic/234714-problems-error-with-mysql-setting-up-register-form/page/2/#findComment-1207346 Share on other sites More sharing options...
Artmark Posted April 30, 2011 Author Share Posted April 30, 2011 Hi guys Thanks I got it working now thanks. Mark..... Quote Link to comment https://forums.phpfreaks.com/topic/234714-problems-error-with-mysql-setting-up-register-form/page/2/#findComment-1208491 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.