GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Quick PHP Question (https://gfy.com/showthread.php?t=405882)

dodger21 12-20-2004 05:57 PM

Quick PHP Question
 
How can I check to see if a PHP tag has a blank string?

PHP Code:

if ({_tag_}hahahaha""

isn't working.

I keep receiving

Parse error: parse error, expecting `'(''

Tried
PHP Code:

if (({_tag_})hahahaha""tooSame result


dodger21 12-20-2004 05:59 PM

ugh fucking hahahahaha bullshit

margarita 12-21-2004 01:49 AM

:eek7 :eek7 :eek7

fuzebox 12-21-2004 02:44 AM

Err, going to need an un-butchered version of the code to offer any advice :(

SilverTab 12-21-2004 02:51 AM

Quote:

Originally posted by fuzebox
Err, going to need an un-butchered version of the code to offer any advice :(
yup...cause php tag and blank string?? not sure what you're talking about LOL

it's easy to check if a variable is an empty string...not sure what you mean with all these hahaha though

fuzebox 12-21-2004 02:55 AM

Quote:

Originally posted by SilverTab
not sure what you mean with all these hahaha though
GFY is replacing chunks of his post with "haha" to prevent hostile javascript.

Repetitive Monkey 12-21-2004 02:57 AM

Like so: if($string= ="")

Or so: if(strlen($string)<1)

Or so: if(!isset($string))


All times are GMT -7. The time now is 06:56 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123