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

Contact Form Not Working When I Add Validation Codes
So I built my first working PHP "Contact Us" like form. But, I have been trying to now mak

How to return to a previous page after running a PHP script
I'm having a bit of a melt down here because I think this should be really easy but can't work it ou

browse folder only
hi,
is there a way i can browse or get the directory or folder only and not the file?
i just w

Error: SQL Syntax; Line 1
Code:

<?php require "global_settings.php"; ?>
<title&g

Echoing ASCII code
I have a php page that splits a string into chars and then echoes the ASCII code for each char. I'm

Login logout link help
Hi all,

Im new to php and Im having trouble creating a login/logout link for my page that dis

default SAP userid
hi,, I just like to know if it is ok to use the default SAP user id (SAP*)?

PHP XML extraction text
I would like to extract an xml text and have that text directly echo(print) out on my web page. Her

please help me in this update statment
hi every one

if I have table and this data in it

id name
10

Problem with php's rename function
So, i'm having a problem with the php rename function. Basically my script 'delete_user.php' attempt

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