![]() |
#21
|
||||
|
||||
![]()
If I did it right
echo '<p>Adoptables have been rearranged'.$_COOKIE->mysuid.'</p>'; then it only printed Adoptables have been rearranged. |
#22
|
||||
|
||||
![]()
Oh nope, the $COOKIE is a superglobal array, its not an object. You need to use {$COOKIES['mysuid']} here, if you need me to explain to you what are the differences of objects and arrays I am glad to help.
__________________
![]() Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#23
|
||||
|
||||
![]()
It's not echoing anything still
|
#24
|
||||
|
||||
![]()
I see, then guess what? Do not use $_COOKIE at all, try to select uid from table prefix.users and it will work this way. In next release I will enable $_SESSION to store uid and username for almost every page, so you will be using sessions instead of cookies. For now, you have to write a code to fetch uid from database.
__________________
![]() Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#25
|
||||
|
||||
![]()
How do I do that? Sorry very tired here :(
|
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New newbie joining in | destrovel | Newcomer Center | 2 | 09-14-2014 11:18 AM |
Shop Tables | SilverDragonTears | Questions and Supports | 1 | 02-02-2013 03:26 PM |
More fetching from tables help | SilverDragonTears | Questions and Supports | 4 | 04-30-2012 03:00 PM |
Tables | StarGirl | Questions and Supports | 3 | 04-26-2012 02:57 PM |
Joining Usergroups | Cindykt | Questions and Supports | 1 | 08-19-2011 09:25 PM |
What's New? |
What's Hot? |
What's Popular? |