Re: Basic PHP question
Nevermind, I figured it out.
strval() is my friend.
"Darryl" <darryl@osborne-ind.com> wrote in message
news:jOCdnc-toMT4P5DdRVn-hw@news.ruraltel.net...
> One more question then.
> say I have defined:
> $adj = -60;
>
> and then in a loop I do:
> $adj = $adj - 30;
>
> then I want to have something like:
> -30px
>
> how do I convert to string and concatinate the px on the end?
> I still need $adj to be numeric so I can subtract from it on the next
> loop iteration.
>
> thanks,
> Darryl
>
>
> "Darryl" <darryl@osborne-ind.com> wrote in message
> news:97ydnQujtdtr1JDd4p2dnA@news.ruraltel.net...
> > Greetings,
> > I have a page called test.php. I want to call the same page but pass a
> > variable to
> > it so that data on the page (retrieved from mysql database ) changes.
> >
> > So, can I have inside test.php a call to test.php with a variable ?
> >
> > thanks,
> > Darryl
> >
> >
> >
> >
>
>
|