nubs
09-24-2005, 08:56 PM
ok i was wanting to know does every php script need its own database ....??....
|
View Full Version : php help? nubs 09-24-2005, 08:56 PM ok i was wanting to know does every php script need its own database ....??.... Douglas 09-24-2005, 09:02 PM no it doesnt, you could explain more though on what your talking about nubs 09-24-2005, 10:12 PM the thing is im n ot to sure how to make a database...or even how to run a php script on mysql ...and every where i look know one can help me...or wants to help...and i cant find any good step by step tutorial :( Douglas 09-24-2005, 10:15 PM go to this address: http://www.tizag.com/mysqlTutorial/ id like to teach you but im busy nubs 09-25-2005, 01:43 AM that links dead ??? Douglas 09-25-2005, 01:48 AM well then.... just go to http://www.tizag.com/ and click the mysql tutorial button lol nubs 09-25-2005, 07:15 AM that links dead to .....:( ...i may never find out how to work php scripts lol ...(what is life with out php ??) putnamehere 09-25-2005, 09:19 AM You sould get a book, i did this it is very helpful and a great start i read the book befour i atepted any code, it's taken me 1 months tops to be able to know most php. The book i bought was 'PHP 5 in easy steps'. Inturn if you dont want to buy a book you could check out Library, Free info is avilable but anything free is never as good as something paid for. Douglas 09-25-2005, 12:25 PM hehe, ive never used a book in my life in programming, i learning php in January, and now i can do almost anything, trust me google is a great site lol putnamehere 09-25-2005, 03:35 PM January to sept is a long time, and a lot of hard work. Were as witha book it has it's pros, and liek i said about paid soruces and free soruce i think i know witch one gona have more effot put into it. thus better tutorial. nubs 09-25-2005, 05:19 PM see thats the thing i dont wanna know how to code.....i cant find many free scripts on the net .....i just wanna know how to install a script....so mysql makes it run Douglas 09-25-2005, 05:36 PM you have to learn php first it helps anyway, and in reply to the other person, it only took me till may to learn it completey and effective nubs 09-25-2005, 10:33 PM why would i need to know php ...all i would need to do is do what it says in the readme files...of the scripts i download right ....i do this and still my scripts dont work on my site...so i dont know if i have setup mysql wrong ..or just not doing somthing right with the scripts Douglas 09-25-2005, 10:35 PM you dont need to know php, it was just a suggestion, it will help you understand how stuff works.. go ahead and read the readme... nubs 09-26-2005, 03:05 AM yeah it guess it would ....lol....i did what the read me file said to do ...and now im geting the errors: Warning: main(config.php) [function.main]: failed to open stream: No such file or directory in C:\Program Files\Abyss Web Server\htdocs\index.php on line 52 Warning: main() [function.include]: Failed opening 'config.php' for inclusion (include_path='.;C:\php5\pear') in C:\Program Files\Abyss Web Server\htdocs\index.php on line 52 Notice: Undefined variable: log in C:\Program Files\Abyss Web Server\htdocs\index.php on line 57 Warning: main(i-auth.php) [function.main]: failed to open stream: No such file or directory in C:\Program Files\Abyss Web Server\htdocs\index.php on line 57 Warning: main() [function.include]: Failed opening 'i-auth.php' for inclusion (include_path='.;C:\php5\pear') in C:\Program Files\Abyss Web Server\htdocs\index.php on line 57 Notice: Undefined variable: log in C:\Program Files\Abyss Web Server\htdocs\index.php on line 58 Notice: Undefined variable: log in C:\Program Files\Abyss Web Server\htdocs\index.php on line 59 Notice: Undefined variable: log in C:\Program Files\Abyss Web Server\htdocs\index.php on line 60 Notice: Undefined variable: log in C:\Program Files\Abyss Web Server\htdocs\index.php on line 61 Notice: Undefined variable: page in C:\Program Files\Abyss Web Server\htdocs\index.php on line 66 Notice: Undefined variable: page in C:\Program Files\Abyss Web Server\htdocs\index.php on line 67 Warning: main(home.php) [function.main]: failed to open stream: No such file or directory in C:\Program Files\Abyss Web Server\htdocs\index.php on line 67 Warning: main() [function.include]: Failed opening 'home.php' for inclusion (include_path='.;C:\php5\pear') in C:\Program Files\Abyss Web Server\htdocs\index.php on line 67 whats wrong with it ? putnamehere 09-26-2005, 06:41 AM you have tested that it works ye? ther are such ways of testing it like; Make a index.html with this in it and save it as index.php <?php echo "PHP Works!!!!"; ?> |