Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Learning php and stuff... help?


Flaming_figures's Avatar
Member
0 0

Alright, I have done this like four times and at the end I kept getting sql errors. Im trying a again. I am just starting with php and stuff, and I was wondering a few things. What is the best free hosting? I am looking for most script languages accepted/ easy to use. Also, if it runs on mySQL, I was wondering, how do I even use that? I apologise for that question but I have no idea about mySQL. Wondering if someone can help, getting into scripting/programming.


ghost's Avatar
0 0

Im just starting to learn this to

Just testing this


Flaming_figures's Avatar
Member
0 0

ok, so two people need help then? Im hoping to just get through. Im setting up my schools website (hopefully) and I might need to show off some work to impress :P Either way I enjoy the hard access to an admin cpu. Makes me feel special :)


ghost's Avatar
0 0

Right, its done in PHP. Check the PHP manual


Flaming_figures's Avatar
Member
0 0

What? Whats done in php and whats the php manual?


ghost's Avatar
0 0

You can access MySQL using PHP. The PHP manual is based on PHP.net


Flaming_figures's Avatar
Member
0 0

alright, thanks. But where can I get good free php hosting? (if any other languages accepted, that would be great to)


ghost's Avatar
0 0

Try http://www.100webspace.com/ for free hosting. It supports both php and MySQL :) Sign up for the Free Hosting plan. The rest is self-explanatory

Good luck!


Flaming_figures's Avatar
Member
0 0

Thanks alot. I tried out a login script and keep getting parse errors. It say, "Parse error: parse error in (website) on line 2" before it told me I needed to add a ) and I did (pretty sure I knew where) but it still says that. Here is my scrip- wait. I can't paste for some reson. It's a basic script. uh, line two (apparently that with the error) is markupif(!empty($_POST["username"]) && !empty($_POST["password& and thats where it cuts off. Do I need to do anything to it or is it spitting out random errors? (btw, I have tried a few things with no prevail. Thanks for all the help though- I really like that sever)edit:I also tried putting a bracket infront of !empty the second time


Flaming_figures's Avatar
Member
0 0

I apologise, but my computer is not letting me paste anything… I can copy it and do nothing with it :@ so I will have to retype it tomorrow. I am too busy tonight. Thanks for the help, and I will post my full code (both html and php) into here. (oh ya, and if anyone has any ideas why my paste aint working…… pm me or something)