View Full Version : PHP help!
bomberchia
07-26-2005, 10:23 AM
Can someone please tell me how to use PHP??
Uranium-235
07-26-2005, 03:59 PM
can you be more specific?
vee_ess
07-26-2005, 05:02 PM
The syntax is like the following:
<?php
command;
?>
It should be embedded in an html file that will be processed server-side, so as part of the file it should look like this:
<html>
<body>
<?php
command;
command;
command;
?>
</body>
</html>
Operators, conditional statements, and loops can be written as they are in Java or C++.
Uranium-235
07-26-2005, 06:56 PM
with the exception of the $ character infront of the varible
oh and you don't have to pre-declare varibles
oh and about a few hundred thousand other things
bomberchia
07-26-2005, 09:28 PM
can you be more specific?
so sorry..
what i meant was if anyone knows about creating a php forum etc..?
Uranium-235
07-26-2005, 11:14 PM
You can download forums, like PHPbb
http://www.phpbb.com
of course, you would have to install it too, just follow the instructions that come with the forum (usually install.txt or readme.txt)
vee_ess
07-27-2005, 02:49 PM
with the exception of the $ character infront of the varible
oh and you don't have to pre-declare varibles
oh and about a few hundred thousand other things
Damn, dude, ease up a bit. I didn't mention variables at all, only syntax (since anything else the server would tell you what you're doing wrong), and so yeah, you can do exactly as I said.
Ooops, I just realized... I should have left the thread alone with your post there, since I forgot that we aren't supposed to provide any help on these forums any more...
Uranium-235
07-27-2005, 06:19 PM
"Operators, conditional statements, and loops can be written as they are in Java or C++."
you can't write those without varibles!
anyways, I helped him, he was talking about a PHP forum, and I gave him one
vee_ess
07-28-2005, 01:11 PM
Good job http://www.websitetoolbox.com/images/boards/smilies/thumb.gif
BTW, I'm pretty sure you know what "syntax" means.
bomberchia
08-01-2005, 06:15 PM
oops, sorry no..
but i know arrays..
vBulletin® v3.6.5, Copyright ©2000-2010, Jelsoft Enterprises Ltd.