Gossamer Forum
Quote Reply
Format of alter_col
Hi,

In regards to this function:
Code:
$editor->alter_col($column_name,
{
size => 20,
type => 'int'
});

..what kind of format is required for the form_names/form_values ??

This is whats in my glinks_Links.def file:


Code:
'form_names' => [
'Affiliate 1',
'Affiliate 2'
],
'form_values' => [
'Affiliate 1',
'Affiliate 2'
],
..basically, what I need to do - is go through another table, and get a list of values, like:

Affiliate 1
Affiliate 2
Affiliate 3
Affiliate 4
Affiliate 5

..and then update the glink_Links table, depending on the values got.

TIA

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Format of alter_col Andy 7641 Jul 14, 2008, 1:27 AM
Thread Re: [Andy] Format of alter_col
Andy 7506 Jul 14, 2008, 1:42 AM
Post Re: [Andy] Format of alter_col
Andy 7451 Jul 14, 2008, 6:46 AM
Thread Re: [Andy] Format of alter_col
Andy 7454 Jul 14, 2008, 7:46 AM
Thread Re: [Andy] Format of alter_col
brewt 7464 Jul 14, 2008, 3:01 PM
Thread Re: [brewt] Format of alter_col
Andy 7459 Jul 14, 2008, 11:42 PM
Thread Re: [Andy] Format of alter_col
brewt 7441 Jul 14, 2008, 11:55 PM
Thread Re: [brewt] Format of alter_col
Andy 7459 Jul 15, 2008, 12:00 AM
Thread Re: [Andy] Format of alter_col
brewt 7450 Jul 15, 2008, 12:03 AM
Thread Re: [brewt] Format of alter_col
Andy 7465 Jul 15, 2008, 12:09 AM
Post Re: [Andy] Format of alter_col
Wychwood 7416 Jul 15, 2008, 2:15 AM