Akartas
|
  |
| Joined: 08 Jul 2009 |
| Total Posts: 2771 |
|
|
| 14 Apr 2010 05:46 PM |
I'm learning PHP, I already know HTML. I'm trying to do some basic PHP math & echoes and stuff, but they aren't showing up on the webpage. Any help? (It is saved as a .php file)
The forums won't let me post the code, but I can PM it. Probably. :o Say if you want me to PM it. ^o^ |
|
|
| Report Abuse |
|
|
Akartas
|
  |
| Joined: 08 Jul 2009 |
| Total Posts: 2771 |
|
|
| 14 Apr 2010 05:47 PM |
| Oh&& I don't just want a quickfix, I want to know what I did wrong so that I don't do it again. :P |
|
|
| Report Abuse |
|
|
cazyJ
|
  |
| Joined: 26 Oct 2008 |
| Total Posts: 4599 |
|
|
| 14 Apr 2010 05:50 PM |
| i only can read and change lua scripts and make html scripts but php is like a database |
|
|
| Report Abuse |
|
|
|
| 14 Apr 2010 05:51 PM |
PHP is not like a database. Derp.
Send it to me. |
|
|
| Report Abuse |
|
|
Akartas
|
  |
| Joined: 08 Jul 2009 |
| Total Posts: 2771 |
|
|
| 14 Apr 2010 05:51 PM |
No, PHP is a language. Processing Hypertext blablabla I don't know, something there.
But, it is a language, not just a database. -.- |
|
|
| Report Abuse |
|
|
cazyJ
|
  |
| Joined: 26 Oct 2008 |
| Total Posts: 4599 |
|
|
| 14 Apr 2010 05:52 PM |
| i get mixed up i only lreaned html like 3 to 4 morths ago |
|
|
| Report Abuse |
|
|
Akartas
|
  |
| Joined: 08 Jul 2009 |
| Total Posts: 2771 |
|
|
| 14 Apr 2010 05:56 PM |
| HTML isn't a database either, why would you get mixed up? O.o |
|
|
| Report Abuse |
|
|
Akartas
|
  |
| Joined: 08 Jul 2009 |
| Total Posts: 2771 |
|
|
| 14 Apr 2010 05:57 PM |
| <-- Guessing you're mixed up cause of WAMP server? |
|
|
| Report Abuse |
|
|
|
| 18 May 2010 04:50 PM |
Simple php math:
addition // echo 1 + 1;
//subtraction echo 1 - 1;
//multiplication echo 1 * 1;
//division echo 1 / 1;
or getting a query string(like from a form or in a search)
//addition echo $_GET["number1"] + $_GET["number2"];
//subtraction echo $_GET["number1"] - $_GET["number2"];
//multiplication echo $_GET["number1"] * $_GET["number2"];
//division echo $_GET["number1"] / $_GET["number2"];
its easy
me and frankinstein212,cally and macaila own http://strangebutfunny.net/ the popular humor site and we have a members area at http://doiturself.strangebutfunny.net/ and we do the coding ourselves |
|
|
| Report Abuse |
|
|
Akartas
|
  |
| Joined: 08 Jul 2009 |
| Total Posts: 2771 |
|
|
| 18 May 2010 04:53 PM |
| Way to bump a 4 day old thread. I already know PHP, and since then I've learned JS, CSS. |
|
|
| Report Abuse |
|
|
|
| 18 May 2010 04:58 PM |
| I need to learn a language to make a database... I know HTML, very basic javascript, and CSS. My site is http://www.videogamesareawesome.com |
|
|
| Report Abuse |
|
|
|
| 18 May 2010 04:59 PM |
| PHP is a language, MYSQL is a database... derps. |
|
|
| Report Abuse |
|
|
KONVICTED
|
  |
| Joined: 14 Feb 2008 |
| Total Posts: 1688 |
|
|
| 18 May 2010 04:59 PM |
| I know how to make kelogger with PHP. |
|
|
| Report Abuse |
|
|
| |
|
|
| 22 May 2010 10:58 AM |
| Newcomer156, Your best choice is to download WordPress, It's a website pre-built and it comes with themes and it uses a database, if you'd like i can set it up and install it for you, i get paid to do stuff like that! |
|
|
| Report Abuse |
|
|