Register code or script for 6607

02/22/2021 12:24 HeartlessBoiYang#1
Can anyone help me with a register code or script. I need it for my website register page, but I can't seems to get it link to the database in mysql. Please help and thank you!
02/22/2021 14:12 pintinho12#2
If you need help you'd better provide us some info on what you're getting trouble. Otherwise it seems like you want to pay someone to make it for you.
02/23/2021 19:03 CipherXS#3
......
02/23/2021 23:25 denominator#4
To be fair register page should be simple, there are plenty of examples online
02/25/2021 05:23 HeartlessBoiYang#5
I have a php script but this doesn't seem to be working, it wont connect to mysql database.



Quote:
Originally Posted by pintinho12 View Post
If you need help you'd better provide us some info on what you're getting trouble. Otherwise it seems like you want to pay someone to make it for you.
02/25/2021 10:49 bashondegek#6
Quote:
Originally Posted by HeartlessBoiYang View Post
I have a php script but this doesn't seem to be working, it wont connect to mysql database.

Depends on the PHP version you are using.
MySQL is deprecated, so you should use MySQLi.
02/25/2021 20:01 HeartlessBoiYang#7
I used Navicat version 8.2.13 enterprise


Quote:
Originally Posted by bashondegek View Post
Depends on the PHP version you are using.
MySQL is deprecated, so you should use MySQLi.
02/25/2021 21:32 bashondegek#8
Quote:
Originally Posted by HeartlessBoiYang View Post
I used Navicat version 8.2.13 enterprise
You first need a webserver like XAMPP, WAMP or AppServ or something like that.

Navicat is just a database client.

So, set up a local webserver and then check the PHP version you've installed.
But still you will need to use MySQLi in your PHP instead of MySQL, since thats not supported anymore in the newer versions of PHP.
02/26/2021 13:37 HeartlessBoiYang#9
Sorry to ask this dumb question but how do i download php and myqli version?
I do have appserv.


Quote:
Originally Posted by bashondegek View Post
You first need a webserver like XAMPP, WAMP or AppServ or something like that.

Navicat is just a database client.

So, set up a local webserver and then check the PHP version you've installed.
But still you will need to use MySQLi in your PHP instead of MySQL, since thats not supported anymore in the newer versions of PHP.
02/26/2021 15:56 Envy\Craft#10
I agree with Turk.
If you can't even do this, which is just basic IT, not even programming, you are only wasting your time as well as anyone else who supports/helps you
02/26/2021 17:01 pintinho12#11
Quote:
Originally Posted by HeartlessBoiYang View Post
Sorry to ask this dumb question but how do i download php and myqli version?
I do have appserv.
First you should stop using AppServ.

You can use Wamp which is less worse and you can choose if you're going to use it's own MariaDB or install it yourself (and disable Wampserver MariaDB).

With WampServer you'll find out a lot of insecure code already since it will not let your website run because of all obsolete could it must have.

Then you can write an wrapper for using mysqli or PDO for MySQL, both are good.

Or since you're clearly not good with PHP you can download a framework like Laravel that already have most things built-in.
02/26/2021 18:10 turk55#12
Quote:
Originally Posted by pintinho12 View Post
First you should stop using AppServ.

You can use Wamp which is less worse and you can choose if you're going to use it's own MariaDB or install it yourself (and disable Wampserver MariaDB).

With WampServer you'll find out a lot of insecure code already since it will not let your website run because of all obsolete could it must have.

Then you can write an wrapper for using mysqli or PDO for MySQL, both are good.

Or since you're clearly not good with PHP you can download a framework like Laravel that already have most things built-in.
You are asking him to use a complete framework while the person doesn't even know how to enable an extension.
02/26/2021 19:22 pintinho12#13
Quote:
Originally Posted by turk55 View Post
You are asking him to use a complete framework while the person doesn't even know how to enable an extension.
I bet he can read documentations, which will (must) be easier than setup a website from scratch.
02/26/2021 20:23 HeartlessBoiYang#14
you got it wrong. I mean i got the website everything to work, but then for the register, I can't make it to connect to the database, like after click submit/create account. It wont go into the database, all it appear is username, password. it won't appear actual username and password that you filled in. That's why I'm asking if i did something wrong or code it wrong.
02/26/2021 20:29 denominator#15
So the name of your database is database? Not cq, tq or something similar