![]() |
Parsing/Evaling to return true or false
Say I had fields in a database that had:
PHP Code:
PHP Code:
PHP Code:
So if $sysstat equaled 2, then obvisously $sysstat == 1 would return false. How would I go about doing this? Thankyou. |
you just have to get em out of the db, whenever you use $blabl == blabla it will return true or false automatically
|
Well, whenever I do parse it to a function for the actual processing, it always ends up turning out from:
"$blahblah == 1" to "$1". Everything returns "$1". Alcar... |
$1 isn't a legal variable name, how can anything return it?
|
Quote:
I'm actually taking apart a piece of text using: PHP Code:
Thankyou, Alcar... |
All times are GMT. The time now is 01:41 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|