empty() error


Posted on 16th Feb 2014 07:03 pm by admin

Why does

Code: empty($USER_ID = $_SESSION["USER_ID"])
create this error...

Parse error: syntax error, unexpected '=', expecting ')' in /home3/finestto/public_html/index.php on line 17

No comments posted yet

Your Answer:

Login to answer
109 Like 52 Dislike
Previous forums Next forums
Other forums

Count Session and Trigger Events
I am New in PHP, seeking a method to count logged users by counting the sessions or any …, is

User feedback after MySQL query has been executed
Hi all, I've just registered on PHPFreaks because I've got a question that I simply can't work out b

Locking mysql tables with php
Hi

BACKGROUND:
I have multiple instances of the same php script running in a WAMP environ

Help building / using array
First - this is a cross-posting, if this is wrong I apologise! What started out as a MySQL query que

media recovery
Hi,
i startup the database i got the error

SQL> startup
ORACLE instance started.

Reg Ex
Im trying to search for the string: srv_9 (Dead ???)

I thought to use preg_match, however I d

Need Successful Return
Hello I am currently working a form here, and I have everything figured out except when I click the

get the country of visitor and display content based on that
Hello all,

I have seen that Google analytics can tell you where a visitor is coming from and

help, header() is not working!
Hello, I have this code:


<?php

/**
* @author samoi
* @copyright 200

php redirecting
i wont open a new thread but i have a question about redirecting....
i wonder why my code doesnt

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash