by thesnowsnake » Wed Aug 03, 2011 2:06 pm
Well again remember I'm new. Old but new lol.
This is my LOGO code that worked for me.
INSERT INTO `feedback` ( `ID_feedback`, `author`, `client_ref`,`FBrate`, `FBcomment`, `FB_date`)
VALUES (
NULL,
<code type="user" />,
'<input name="client_ref" required= "y" />',
'<input title="Feedback Rating" type="list" options="Good,1;Fair,2;Poor,3"/>',
'<input name="FBcomment" required= "y" />',
'<input name="FB_date" type="date" out="Y-m-d" default="today" />'),
'<input name="FBlastname" required= "y" />',
'<input name="FBphone" required= "y" />',
'<input name="FBcity" required= "y" />'
Now to start with a lot of these fields needed to be filled by (preloadin another table) Pain in the ask me.
but the " <code type="user" />," inserted the id number of the user from my joomla users table.
I will try to get rid of Joomla in the future as my site is pretty well just a database feedback site and not really suited to all the neat joomla stuff ( It was down and dirty to set up).