![]() |
Help with validating a PHP script... "unexpected $end"
I'm no genius with PHP, this will probably be obvious to you at some point soon.
I've written a PHP script to perform a very specific function: find all users who have a session open on the site AND find if they have ticked a particular profile field as yes. I'm not really used to this (ColdFusion and .NET developer, the syntax is confusing me) so please help! Code:
<?php |
I can't think of why you have parenthesis around your return line and no need for the period at the beginning of ".userfield.field6"
|
Thanks Lynne, I'll take a look at it a little later.
1) I thought that there was supposed to be an affirmative action at the end of the function to describe how it was going to be output? 2) I don't quite know. There's a large space that opened up there, I don't know if that's even there intentionally. |
1) You just want to have the return line - no need to put it in {}
2) Well, I don't know why either. :) |
All times are GMT. The time now is 10:15 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:
|