View Full Version : Php Help. Ive Read The Tutorial.
lMattz
07-12-2005, 12:05 PM
Hey, i have read Toxic-UK's tutorial which i understand but the bit i still dont get is how you get a db to work using php aswell as using a config.php to make it work.
I know what i mean but you probably wont have a clue but anway! O hang on heres a example! For he radio_stats.php you need a config.php thats what i mean! :)
Ty
-Matt
P.S Please Help If you Can.
Sygon
07-12-2005, 12:38 PM
Im no brain @ php but its like erm lets say a Brain we cant live without a brain other wise we woulodnt know what to do, or how to function correctly,
Just like the config.php the config.php is the brain of the database or script and tells its settings and what to do,
thats what i think :D
Thanks,
Sygon
lMattz
07-12-2005, 01:12 PM
Yes, the problem is i duno how to link it if that makes sense lol!
Sygon
07-12-2005, 01:35 PM
I dont think php scripts without a mysql database doesnt need it
Flisker
07-12-2005, 02:45 PM
include('config.php')
i think thats right i don't really know PHP "/
Splinter
07-12-2005, 04:35 PM
So then in config.php you would place the db details for the script to connect..
lMattz
07-12-2005, 05:08 PM
Okay so far so good. The problem is how could i make it so people register using the db.
Flisker
07-12-2005, 08:45 PM
Ask Splinter hes always correct Grrrr.
Dan Williamson
07-12-2005, 08:47 PM
Basically add your DB connection details,
Password, Username, Host, DB Name.
- Dan
Splinter
07-12-2005, 08:57 PM
Well create a database structure with fields for name, password, email etc.. then you just need to create a registration form.
Sygon
08-12-2005, 01:31 AM
If you dont know how to set up a db looks @ jins tut in forum designing
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.