Page 1 of 1

Sending and recalling data to/from MySql

Posted: Fri Aug 31, 2007 1:37 am
by bohn002
Ok, still new to this programming to MySql. I am making a comic store pull list, there is company name, comic name, issue number and how many needed set up in a form. I understand the php side mostly on building the component, just the sql stuff is messing up. I am collecting the username/real name in the form. How can i store the info to a table called pulllist and then be able to recall it based on username. thanks for the help!

Re: Sending and recalling data to/from MySql

Posted: Sat Sep 01, 2007 10:55 pm
by moijafcor

Re: Sending and recalling data to/from MySql

Posted: Sun Sep 02, 2007 2:00 am
by bohn002
Hmm, sorry, I'm working on th joomla 1.0.x series.

Re: Sending and recalling data to/from MySql

Posted: Sun Sep 02, 2007 12:31 pm
by ianmac
Most of that document will still work, but:

instead of $db =& JFactory::getDBO()

put:
global $database at the top of your function.
And then substitute $database for $db.

Ian