REGISTER
|
Search Tycoon Talk
|
Freelancer.com
|
Members
Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.
Register Here
Forum Rules
PHP Forum
You are currently viewing our PHP Forum as a guest. Please
register
to participate.
Login
Remember Me?
Login via Freelancer.com
Tycoon Talk
>
Web Development and Programming Support
>
PHP Forum
>
insert cooking into db
Link Back
Thread Tools
Search this Thread
insert cooking into db
05-10-2005, 01:12 PM
#
1
(
permalink
)
insert cooking into db
weddingm
Skilled Talker
Posts: 69
Trades:
0
Talkupation:
I am trying to enter a cookie as a variable into a database. I can echo the variable on the page but how to I set the value to enter into database?
$x=$_COOKIE['user'];
***$username=$x
"Insert....bla bla bla
Thanks,
Matt
Register
now for full access!
05-10-2005, 10:20 PM
#
2
(
permalink
)
gregory
Skilled Talker
Posts: 61
Trades:
0
Talkupation:
once that cookie is a variable ($x in this case), you can insert it like anything else:
mysql_query("INSERT INTO tableName VALUES ('$ID', '$x', '$otherVariable')");
« Reply to
insert cooking into db
Previous Thread
|
Next Thread
Tycoon Talk
>
Web Development and Programming Support
>
PHP Forum
>
insert cooking into db
Thread Tools
Search this Thread
Show Printable Version
Email this Page
Search this Thread
:
Advanced Search
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
Off
Pingbacks
are
Off
Refbacks
are
Off
Forum Rules
Feeds:
RSS
JS
XML
Feeds for this forum:
RSS
JS
XML
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Tweet this thread
Page generated in
0.19995
seconds with
12
queries