>>>>> "MW" == Mark Worsdall <[EMAIL PROTECTED]> writes:

MW> When I do this:-

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

Perhaps you mean

if ($$types[0] == &Mysql::FIELD_TYPE_STRING)

you are doing an assignment, not a comparison.


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: [EMAIL PROTECTED]       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

---------------------------------------------------------------------
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