|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
personalization with cookies
Hi,
I have set cookies and now want to place them in my htm pages - how can I do this. My book shows me how to use echo but I don't want to use that. setcookie("first_name", "$first_name"); So, how do i call this up in order to give me something like; Hi Bob. Ta. Craig. |
|
#2
|
|||
|
|||
|
So - you don't want to do it through php - you want to do it on your regular static pages, correct?
__________________
~ Joe Penn We work for free to help make this a valuable resource on the internet. Do you appreciate the help - did we provide help that will help you prosper and help that has contributed to sharpening your current skill set? Show your appreciation and purchase something from our Amazon Wishlist's - it's simple and a great way to say thank you. |
|
#3
|
|||
|
|||
|
yeah, sorry to be difficult.
|
|
#4
|
|||
|
|||
|
You can set a cookie in javascript ->
Code:
document.cookie = "cookieName=cookieValue"; You can also display a cookie in javascript -> Code:
document.write( document.cookie ); The above will display the value of the cookie... |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > personalization with cookies |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|