[TYPO3] problem with sql query
mailsajjad at gmail.com
Sun Feb 12 13:01:28 CET 2006
this is a resouce id. to get the result you will have to use
mysql_fetch_row() or mysql_fetch_assoc() or Typo3 version of any of these
----- Original Message -----
From: "stem" <stema at web.de>
To: <typo3-english at lists.netfielders.de>
Sent: Sunday, February 12, 2006 5:25 PM
Subject: [TYPO3] problem with sql query
> i'm sure it is a stupid thing, however it drives me crazy.
> i have the following sql query in my t3-extension:
> $query = 'SELECT storage_pid FROM pages WHERE uid =
> $storagePid = mysql(TYPO3_db, $query);
> therewith i would like to receive the storage pid of the page, where my
> extension is used in order to save the form entries in the corresponding
> however, i get the following result for $storagePid:
> Resource id #96
> i don't have any clue what that means. when i perform the query in
> phpmyadmin i get the proper result.
> could somebody help me please?
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
More information about the TYPO3-english