homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Gold Sponsor 2015!
Home / Forums Index / Code, Content, and Presentation / Databases
Forum Library, Charter, Moderator: open

Databases Forum

Storing Session Variable to MySQL

Msg#: 4313688 posted 3:54 pm on May 17, 2011 (gmt 0)

I want to store a session variable I added to a user profile in community builder using logos and joomla 1.6 here is a eg:

NSERT INTO feedback (ID_feedback,

FB_date )

values (
'<input name="client.Idclient" hidden="yes" />',
'<input name="LastName" hidden="yes"/>',
'<input name="Phone" hidden="yes" />',
'<input name="City" hidden="yes" required="n"/>',
<code type = "user" />,

'<input title="Feedback Rating" type= "list" options="Good,1;Fair,2;Poor,3" />',
'<input title="Comment" input= "textarea" required="y" />',
'<input name="FB_date" type="date" out="Y-m-d" default="today" />'
**** this all works well but I would like to sore the users company name form the profile.

maybe something like this..

$sql ="UPDATE feedback SET name = '$company', $company = '$company'

Anyone got a idea how 2 do this. I'm very new to all this.
TNX in advance for looking.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Databases
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved