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 5436 Jul 14, 2008, 1:27 AM
Thread Re: [Andy] Format of alter_col
Andy 5335 Jul 14, 2008, 1:42 AM
Post Re: [Andy] Format of alter_col
Andy 5290 Jul 14, 2008, 6:46 AM
Thread Re: [Andy] Format of alter_col
Andy 5285 Jul 14, 2008, 7:46 AM
Thread Re: [Andy] Format of alter_col
brewt 5301 Jul 14, 2008, 3:01 PM
Thread Re: [brewt] Format of alter_col
Andy 5290 Jul 14, 2008, 11:42 PM
Thread Re: [Andy] Format of alter_col
brewt 5279 Jul 14, 2008, 11:55 PM
Thread Re: [brewt] Format of alter_col
Andy 5290 Jul 15, 2008, 12:00 AM
Thread Re: [Andy] Format of alter_col
brewt 5288 Jul 15, 2008, 12:03 AM
Thread Re: [brewt] Format of alter_col
Andy 5296 Jul 15, 2008, 12:09 AM
Post Re: [Andy] Format of alter_col
Wychwood 5258 Jul 15, 2008, 2:15 AM