Portal Home > Knowledgebase > Articles Database > MySql question
MySql question
Posted by MichelleH, 09-04-2008, 12:27 AM |
I have a client who wants to insert this into the mysql of iTrader. The point of the site will be to keep your TR from another forum. This puts in the feedback needed for 1 TR. I need the first value (here is a 7) to repeat various amounts of time. If someone comes with the TR of 158 I want to be able to run this 158 times and not change the rateid manually. If anyone could help I would greatly appreciate it and so would my client! Thanks
|
Posted by foobic, 09-04-2008, 01:28 AM |
Not sure if I understand the problem, but if you want rateid to auto-increment then just put that in the field definition and use 0 in your insert statement (or just don't specify rateid at all).
Check the current field definition with
|
Posted by MichelleH, 09-04-2008, 01:50 AM |
Ha! I got it Thanks!
|
Posted by anon-e-mouse, 09-04-2008, 03:18 AM |
Closed as requested
|
Add to Favourites Print this Article
Also Read