| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Vivek Khera | Date: | March 14 2001 9:50pm |
| Subject: | Re: HOWTO: Get column types & enum values using perl | ||
| View as plain text | |||
>>>>> "MW" == Mark Worsdall <mysql@stripped> 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: khera@stripped Rockville, MD +1-240-453-8497 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/
| Thread | ||
|---|---|---|
| • Problem with replication | Rick Jansen - Tweakers.net | 11 Mar |
| • Re: Problem with replication | Jeremy D. Zawodny | 11 Mar |
| • RE: Problem with replication | Rick Jansen - Tweakers.net | 11 Mar |
| • Re: Problem with replication | Jeremy D. Zawodny | 11 Mar |
| • RE: Problem with replication | Rick Jansen - Tweakers.net | 11 Mar |
| • HOWTO: Get field types? | Mark Worsdall | 13 Mar |
| • HOWTO: Get column types & enum values using perl | Mark Worsdall | 14 Mar |
| • Re: HOWTO: Get column types & enum values using perl | Vivek Khera | 14 Mar |
| • Remove or Unsubscribe | mysql | 13 Mar |
| • Re: HOWTO: Get column types & enum values using perl | Mark Worsdall | 14 Mar |
