|
-
Sep 30th, 2007, 10:19 PM
#1
Thread Starter
Fanatic Member
Check variable if it's a string
Dunno if I asked this question (but I think it was the is_a function). Anyway, how can I check if the variable has a string value?
Like $a = "hello World" or $a = 'hello', I would like to check the variable $a whether it's a string or not. How do I go about doing this? Thanks.
Last edited by nebulom; Oct 1st, 2007 at 03:17 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|