Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 12-20-2004, 05:57 PM   #1
dodger21
Confirmed User
 
Join Date: Jan 2003
Location: Los Angeles
Posts: 2,680
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
__________________
icq: 237055440

Last edited by dodger21; 12-20-2004 at 05:59 PM..
dodger21 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-20-2004, 05:59 PM   #2
dodger21
Confirmed User
 
Join Date: Jan 2003
Location: Los Angeles
Posts: 2,680
ugh fucking hahahahaha bullshit
__________________
icq: 237055440
dodger21 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-21-2004, 01:49 AM   #3
margarita
Confirmed User
 
Join Date: Jun 2003
Posts: 917
__________________
Check out my favourite kinky sponsor and must-have tool Nifty Stats
margarita is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-21-2004, 02:44 AM   #4
fuzebox
making it rain
 
fuzebox's Avatar
 
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,119
Err, going to need an un-butchered version of the code to offer any advice
fuzebox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-21-2004, 02:51 AM   #5
SilverTab
Confirmed User
 
Join Date: Nov 2001
Location: MTL
Posts: 5,060
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
__________________
mmm my sig was too big... no more cool animation
but hey still! need php? ICQ: 94586959
SilverTab is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-21-2004, 02:55 AM   #6
fuzebox
making it rain
 
fuzebox's Avatar
 
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,119
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.
fuzebox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-21-2004, 02:57 AM   #7
Repetitive Monkey
Confirmed User
 
Join Date: Feb 2004
Posts: 3,505
Like so: if($string= ="")

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

Or so: if(!isset($string))
Repetitive Monkey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.