Re: More frustration with MySQL and PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Don't be scared of functions, no magic or mystery there, all you are doing
is putting your code in a function like so:

function add($a, $b) {
return $a + $b;
}

..for example and calling it like so:

$a = 12;
$b = 100;
$sum = add(12, 13);

...etc etc, not too much more to learn than that and now I can call add() in
many places...

On Jan 21, 2008 8:47 PM, Robert Cummings <robert@xxxxxxxxxxxxx> wrote:

>
> On Mon, 2008-01-21 at 15:28 -0500, Jason Pruim wrote:
> > On Jan 21, 2008, at 3:27 PM, Robert Cummings wrote:
> >
> > > On Mon, 2008-01-21 at 15:20 -0500, Jason Pruim wrote:
> > >>
> > >> I try so hard to NOT rely on the wealth of info available here, but
> > >> you guys don't make it easy!! :)
> > >
> > > The only good thing to do with wealth is share.
> >
> > Now you're just trying to add to your post count! :P
>
> Quit responding, you're diluting my post wealth! >:)
>
> Now I just need to find a way to increase the content of my posts. Best
> bet I guess would be to not trim the posts to which I reply :) Then
> again, endless rambling could help too... while honing my writing
> skill... WOOT! Two birds with that stone. Talking about stones, someone
> mentioned to me once a perplexing question whereby God was asked if he
> could create a stone he could not lift... well I... crap, list cops are
> at my door. I'll be write back!!!
>
> Cheers,
> Rob.
> --
> ...........................................................
> SwarmBuy.com - http://www.swarmbuy.com
>
>    Leveraging the buying power of the masses!
> ...........................................................
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux