C
|
cgphp 6/2/2012 |
if(empty($data['AddImage6'])) |
S
|
scoobysteve author 6/2/2012 |
if(empty($data['AddImage6']))
|
C
|
cgphp 6/3/2012 |
if(is_null($data['AddImage6'])) |
S
|
scoobysteve author 6/4/2012 |
if(is_null($data['AddImage6']))
|
S
|
scoobysteve author 6/7/2012 |
Thanks, This still points to the first option on both occasions when I logon to a members account that has a filename listed in the database under ADDImage6 and when there is no filename in the database. this seems to be the problem I am having with what ever variations of code used it always goes to the same choice.
|
C
|
cgphp 6/7/2012 |
if(!isset($data['AddImage6']) || trim($data['AddImage6'])==='') |
S
|
scoobysteve author 6/7/2012 |
if(!isset($data['AddImage6']) || trim($data['AddImage6'])==='')
|
C
|
cgphp 6/7/2012 |
Make a print_r() of $data['AddImage6'] in the After successful login event and let us know what you get. |
S
|
scoobysteve author 6/7/2012 |
Make a print_r() of $data['AddImage6'] in the After successful login event and let us know what you get.
|
C
|
cgphp 6/7/2012 |
print_r($data['AddImage6']); |
C
|
cgphp 6/7/2012 |
Just tested on my local project and the code above works fine. I have set a field to empty and NULL as well. |
S
|
scoobysteve author 6/7/2012 |
Just tested on my local project and the code above works fine. I have set a field to empty and NULL as well.
|
C
|
cgphp 6/7/2012 |
Try this: print_r($data['AddImage6']);
|
S
|
scoobysteve author 6/7/2012 |
OK Its working now thank you so much I will try it with my options now once again thank you |
C
|
cgphp 6/7/2012 |
Are you sure AddImage6 is the real name of the field? Please, check carefully: it might be addImage6 or Addimage6 or addimage6 for example. |