Re: A question that has been bugging me..

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

 



On 8/16/07, Jason Pruim <japruim@xxxxxxxxxx> wrote:
>
> On Aug 16, 2007, at 11:56 AM, Daniel Brown wrote:
>
> > On 8/16/07, Jason Pruim <japruim@xxxxxxxxxx> wrote:
> >>
> >> On Aug 16, 2007, at 11:31 AM, Daniel Brown wrote:
> >>
> >>>>
> >>>> Unless I use sessions maybe? Could I write the sort order into a
> >>>> session variable and have that change? Or did I completely
> >>>> misunderstand what sessions are used for? :)
> >>>>
> >>>>
> >>>
> >>>     You could definitely do it with sessions if you wanted, but you
> >>> won't be able to set a session from an SHTML file either.
> >>
> >> Then I'm lost... What do other people do when they need to make the
> >> page look good? Just do all the formatting in the php page? Or
> >> through includes with css files?
> >>
> >>
> >>
> >> --
> >>
> >> Jason Pruim
> >> Raoset Inc.
> >> Technology Manager
> >> MQC Specialist
> >> 3251 132nd ave
> >> Holland, MI, 49424
> >> www.raoset.com
> >> japruim@xxxxxxxxxx
> >>
> >>
> >>
> >
> >     If you need to keep a .shtml extension for whatever reason, look
> > at either modifying your httpd.conf or .htaccess (if available) to
> > process your .shtml as PHP.
> >
> >     Otherwise, is there any reason you're not just doing something
> > like the following?
> >
> > <?
> >     include('templates/header.html');
> >     // Data goes here
> >     include('templates/footer.html');
> > ?>
>
> Because I came as a HTML person into PHP and didn't even think about
> being able to include my headers, footers, nav etc in the php file...
> Just include the php in the html... I'll look into that later today
> if I have time :)
>
> Thanks helping me understand this... I finally feel like I'm
> remembering some stuff and might actually be able to help others on
> this list! :)
>
>
>
> --
>
> Jason Pruim
> Raoset Inc.
> Technology Manager
> MQC Specialist
> 3251 132nd ave
> Holland, MI, 49424
> www.raoset.com
> japruim@xxxxxxxxxx
>
>
>

    No problemo, brother.  Everyone starts somewhere.

-- 
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

Hey, PHP-General list....
50% off for life on web hosting plans $10/mo. or more at
http://www.pilotpig.net/.
Use the coupon code phpgeneralaug07
Register domains for about $0.01 more than what it costs me at
http://domains.pilotpig.net/.

-- 
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