What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » php cookie help [solved]

php cookie help [solved]
Author: Message:
L. Coyote
Senior Member
****

Avatar
Captain Obvious

Posts: 981
Reputation: 49
39 / Male / Flag
Joined: Aug 2004
Status: Away
RE: php cookie help
quote:
Originally posted by Ezra
value="<?php $_COOKIE["naam"] ?>">
You are missing an "echo"

code:
value="<?php echo $_COOKIE["naam"] ?>">

Edit: I now see the problem, I didn't look at it closely before.

You can't use JavaScript events with PHP. :s "onClick" is JavaScript/VBScript ONLY.

You can set the cookie via JavaScript, though. Also the page needs to be sent to the server in order for PHP to get the cookie.

This post was edited on 03-07-2005 at 10:27 PM by L. Coyote.

Hack, hack, hack!
Finally became a Systems Analyst! :spam:

03-07-2005 10:24 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
php cookie help [solved] - by Ezra on 03-07-2005 at 10:13 PM
RE: php cookie help - by L. Coyote on 03-07-2005 at 10:24 PM
RE: php cookie help - by Ezra on 03-07-2005 at 10:28 PM
RE: php cookie help - by L. Coyote on 03-07-2005 at 10:36 PM
RE: php cookie help - by Ezra on 03-07-2005 at 10:41 PM
RE: php cookie help - by Plik on 03-07-2005 at 10:45 PM
RE: php cookie help - by L. Coyote on 03-07-2005 at 10:46 PM
RE: php cookie help - by Ezra on 03-07-2005 at 10:50 PM
RE: php cookie help - by Plik on 03-07-2005 at 10:55 PM
RE: php cookie help - by L. Coyote on 03-07-2005 at 10:57 PM
RE: php cookie help - by Ezra on 03-07-2005 at 11:00 PM
RE: php cookie help - by Plik on 03-07-2005 at 11:12 PM
RE: php cookie help - by L. Coyote on 03-07-2005 at 11:16 PM
RE: php cookie help - by Ezra on 03-07-2005 at 11:23 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On