Re: echo into variable or the like

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

 



yeah, I am thinking I should make that a function and call it from a variable.
what do you think? I think I need a php.net 'arrays for dummies'.



Sean Williams
T: 0416 628 967 E: smw78@xxxxxxxxxxxxxxx
Skype: seanw78
-----Original Message----- From: Karl DeSaulniers
Sent: Tuesday, August 21, 2012 2:22 PM
To: php-db@xxxxxxxxxxxxx
Subject: Re:  echo into variable or the like

You echo to the page not to a variable.

php.net is your friend.

:)

GL


On Aug 20, 2012, at 11:01 PM, <s.dev@xxxxxxxxxxxxxxx> <s.dev@xxxxxxxxxxxxxxx
wrote:

Hi, this is my first post so forgive me if I missed a rule and do something wrong.

I have this code,

echo $_SERVER['PHP_SELF']."?";
foreach ($_GET as $urlvar=>$urlval)
echo $urlvar."=".$urlval."&";

It works by it’s self.
I want to insert the output in a table. Is there a way to ‘echo’ into a variable(i.e. make the output of this echo the value of a variable) or am I on the wrong track all together?

Karl DeSaulniers
Design Drumm
http://designdrumm.com


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux