REOL Posted August 16, 2006 Share Posted August 16, 2006 [code]function getCorporateProfile(){ $query = "SELECT * FROM feature, featuretype WHERE feature.featuretypeid = featuretype.id AND featuretype.name = 'corporateprofile'"; $result = pgdbsql( $query, "adminssssss" ); return $result;}[/code]that is my function abovehow do i just call and run it? Quote Link to comment Share on other sites More sharing options...
GingerRobot Posted August 16, 2006 Share Posted August 16, 2006 $var = getCorporateProfile();So the result of your query will be stored in $var; Quote Link to comment Share on other sites More sharing options...
REOL Posted August 16, 2006 Author Share Posted August 16, 2006 thanks a lot.i had that before but the data i was looking for didnt show.but now it works.'-ps Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.