
February 13th, 2003, 08:29 AM
|
|
Junior Member
|
|
Join Date: Feb 2003
Posts: 14
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
problems using functions w/ parameters
this results in an error.
Code:
public function query("host","sql")
cst="driver={mysql odbc 3.51 driver};server="&host&";uid=root;pwd=;database=test"
some more code..
and when calling the function...
Code:
some code
db.query("localhost","select * from startsida order by nr")
some more code..
what's wrong (error tells "identifier expected") ?
|