homepage Welcome to WebmasterWorld Guest from 54.211.231.221
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe and Support WebmasterWorld
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Databases
Forum Library, Charter, Moderators: physics

Databases Forum

    
Storing Session Variable to MySQL
TheSnowSnake




msg:4313690
 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,
client_ref,
FBlastname,
FBphone,
FBcity,
author,

FBrate,
FBcomment,
FB_date )

values (
NULL,
'<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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved