Techwarelabs Community

Techwarelabs Community (https://www.techwarelabs.com/community/index.php)
-   Software - Applications, Programming, and Games (https://www.techwarelabs.com/community/forumdisplay.php?f=13)
-   -   PHP help! (https://www.techwarelabs.com/community/showthread.php?t=11185)

bomberchia 07-26-2005 10:23 AM

PHP help!
 
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:
Code:

<?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:
Code:

<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

Quote:

Originally Posted by Uranium-235
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

Quote:

Originally Posted by Uranium-235
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


bomberchia 08-01-2005 06:15 PM

oops, sorry no..
but i know arrays..


All times are GMT -5. The time now is 04:54 PM.

Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.