Re: A question that has been bugging me..

From: Date: Thu, 16 Aug 2007 15:59:09 +0000
Subject: Re: A question that has been bugging me..
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-260927@lists.php.net to get a copy of this message
On Aug 16, 2007, at 11:56 AM, Daniel Brown wrote:
On 8/16/07, Jason Pruim <japruim@raoset.com> 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@raoset.com
    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@raoset.com

« previous php.general (#260927) next »