In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes
>$sth->{TYPE} returns a reference to an array of types.
>
>$types = $sth->{TYPE}
>
>if ($$type[0] = &Mysql::FIELD_TYPE_STRING)
>
>(I don't know about the Mysql::FIELD_TYPE_STRING, but $$type[0] is the
>type of the first field.)
>

When I do this:-

my $types = $sth->{TYPE};
#
if ($$types[0] = &Mysql::FIELD_TYPE_STRING) {
        print "Type is a SRING<BR>";
}

It no longer executes the rest of the code as in the next part that gets
the data doesn't get run.

So I am lost once more.:(

M.
-- 
He came from Econet - Oh no, I've run out of underpants :(
Home:- [EMAIL PROTECTED]         http://www.wizdom.org.uk
Shadow:- [EMAIL PROTECTED]  http://www.shadow.org.uk
Work:- [EMAIL PROTECTED] http://www.hinwick.demon.co.uk

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to