0
Do you know how to ask the user name and use? I’m setting up a website that is also a virtual store. I want the store to be nice to whoever comes in, Asking for a name, being nice, saying, "Okay, that item went to your cart, Amanda." But I’d like to know, how do I ask the person’s name, and save it on a cookie? And How can I use the name in the entire site with the cookie? I’ve looked, but just ask the name, and don’t use it. Just welcome. I would like to use the code throughout the site, paying off the user, talking to him. For this, I believe a cookie is needed.
Thank you.
Hugo, I think what you need is to use Sesssions ($_SESSIONS in php), not cookies. Take a look here: http://blog.thiagobelem.net/learning-a-usar-sessoes-no-php/
– rafaels88
Interesting comment. But it’s not what I’m looking for. Thank you :)
– Hugo Marcelo
Okay, good luck then =)
– rafaels88