Jump to content

I don't know php


dag_10

Recommended Posts

Hi! I know HTML but not php.I don't know if I should learn php because I don't know what is all that can be done with it. I was wondering, is it possible to make a chatroom with just php and HTML? Do I have to know another code also? Does it cose money? I hope someone can help. Thanks.--Drew

Link to comment
Share on other sites

Hi Drew!As far as I know PHP is free to use. You need a PHP program on the webb server to be able to use PHP in your HTML code.Building a chatroom can be done whit HTML and PHP but its easyer to get it nice and functional if you use JavaScript as well.PHP is a server side SCRIPT language and JS is a user side script language.If you give me your email I can send you a working chat-room in HTMP/PHP/JS. Its as easy as you can emagin but it works. You probably need to rewright it to get it to work as you like but its a start anyway./Per

Link to comment
Share on other sites

The way I see it, using a php chatroom would also require MySQL, it would look like a forum except each person's text is chunked as one big heap. And the page would have to refresh every two seconds (requiring you to work with frames if you want to enable the user to type properly).But that's just my guess. JS is a ######, but still one of the best ways to tackle this thing.EDIT: I love the auto-censor thingy on these forums! :) Wonder what happens if I wrap 'the word' in code tags...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...