RE: [SMARTY] Newbie - Question

From: Date: Tue, 04 Mar 2003 13:43:58 +0000
Subject: RE: [SMARTY] Newbie - Question
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8385@lists.php.net to get a copy of this message
*addendum* In smarty templates, you can access them with: $smarty.get.action $smarty.get.value Have fun, Peter -----Original Message----- From: messju mohr [mailto:messju@lammfellpuschen.de] Sent: dinsdag 4 maart 2003 1:50 To: Martin Völkening - 0700webhilfe.de Cc: Smarty Mailing-List Subject: Re: [SMARTY] Newbie - Question On Mon, Mar 03, 2003 at 03:59:11PM -0800, Martin Völkening - 0700webhilfe.de wrote: > Hi, > > I am just starting with Smarty and will probably trouble you with > some newbie questions. Sorry about that. > > How can I access variables passed on in the url > http://test.de?action=show&value=123 in with > 'include_php' included > PHP scripts? as you would in a "normal" php script: $_GET['varname']; in older versions of php: $GLOBALS['HTTP_GET_VARS']['varname']; you don't have any global variables in your current namespace, but you can declare them global, of course. HTH messju > Thanks > > Martin -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.general (#8385) next »