Date: 12/27/00
- Next message: phobo: "[PHP-DB] Openlink Still Broken with PHP 4.04"
- Previous message: Mattias Johansson: "[PHP-DB] Making a variable out of variables?"
- In reply to: Mattias Johansson: "[PHP-DB] Making a variable out of variables?"
- Next in thread: phobo: "[PHP-DB] Openlink Still Broken with PHP 4.04"
- Reply: phobo: "[PHP-DB] Openlink Still Broken with PHP 4.04"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Try this:
$cheese = "cheddar".$row[1].$row[2] ;
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
smasiello <email protected>
-----Original Message-----
From: Mattias Johansson [mailto:smart <email protected>]
Sent: Wednesday, December 27, 2000 2:17 PM
To: php-db <email protected>
Subject: [PHP-DB] Making a variable out of variables?
Thanks for all the responses on my previous question! Anyhow - I decided to
follow Douglas suggestion and scrap IP checking, and instead use cookies -
so I have run into another problem, of course.
How can I set a variable to be a set of variables? Let me show you:
$Row[1] = 3
$Row[2] = 5
$cheese = cheddar$row[1]$row[2]
And I want it to return cheddar35. Can this be done? If so, ho do I set the
$cheese variable?
Thanks for your help - I've learned lots of PHP so far!
/Mattias
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: phobo: "[PHP-DB] Openlink Still Broken with PHP 4.04"
- Previous message: Mattias Johansson: "[PHP-DB] Making a variable out of variables?"
- In reply to: Mattias Johansson: "[PHP-DB] Making a variable out of variables?"
- Next in thread: phobo: "[PHP-DB] Openlink Still Broken with PHP 4.04"
- Reply: phobo: "[PHP-DB] Openlink Still Broken with PHP 4.04"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

