[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Inserting a record into an arbitrary database
****** message to minivend-users from Chris Wenham <cwenham@netmonger.net> ******
>>>>> "Jason" == Jason M Korkin <jkorkin@korksoft.com> writes:
> ****** message to minivend-users from "Jason M. Korkin" <jkorkin@korksoft.com> ******
> Chris,
> You can insert, update, or delete records through the [sql] tag... just shoot regular
> SQL statements into your database and it should work OK. Both of the following examples
> have been pulled from sites which we've done recently.
> An example for MV4.04a:
> [sql interpolate=1]
> insert into userdb (username, password) values ('[value mv_username]', '[value
> mv_password]')
> [/sql]
> Like wise, you can also remove records quite easily too:
> [sql interpolate=1]
> delete from userdb where email='[value email]'
> [/sql]
Jason,
Thanks, but I am not using a SQL database for this site - nor can
I. This is a tab delimited database managed by Minivend.
Also, I can't find any documentation on the SQL tag besides an
unusable minimum in the Tag reference. Is there another reference
that I'm missing?
Regards,
Chris Wenham
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list