You are here: Re: [PHP] My Project « PHP « IT news, forums, messages
Re: [PHP] My Project

Posted by Andrι Medeiros on 07/19/05 21:08

On Tue, 2005-07-19 at 17:57 +0100, Mikey wrote:
> George B wrote:
>
> > Paul Waring wrote:
> >
> >> On Tue, Jul 19, 2005 at 09:39:21AM -0700, George B wrote:
> >>
> >>> And I have 100 points. How would I make it so when I click BUY!! My
> >>> money automaticaly subtracts from 100 to 90. How do I do that?
> >>
> >>
> >>
> >> Where is your money being stored? In a database? A text file? A cookie?
> >> Do you want the "buy" link to work on the client side using Javascript
> >> or AJAX or have it submit to a PHP script?
> >>
> >> Paul
> >>
> > My money is being stored in a database. And I want everythign to be in
> > PHP, no java script. And the BUY!! Button is a input button from a
> > form. :)
> >
> $money = $money - 10;
>

$money -= 10;

saves some chars ;)

> I wish you the best of luck with your project :^)
>
> Mikey
>

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация