[TYPO3-english] DB Select
Duch
typo3 at ilomedia.net
Mon Oct 5 16:50:59 CEST 2009
http://typo3.org/fileadmin/typo3api-4.2.6/
have a look at class t3lib_DB and then exec_SELECTquery
Duch
Le 5 oct. 09 à 16:21, Roberto Torresani a écrit :
> Hi all!
> I'm writing an extension. Now I have a table with uid and name of
> category
> and another table with a field that reference to the first table.
>
> Example Table 1;
> uid;name
> 1;category1
> 2;category2
> 3;category3
>
> Example Table 2
> uid;name;category
> 1;name1;1,2
> 2;name2;2
> 3;name3;1,2,3
>
> I need, for example, all the record of second table with category 1.
> What is
> the command to use? I try with exec_SELECTquery, but I don't find
> how set
> the parameters.
>
> Thanks
> Roberto
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list