TJay
10.04.2004, 18:11
Ok
I have been trying to sharpen my skills with php with Mysql. I am fairly comfortable writing and executing queries and handling output using php.
What I am struggling with is the incorporation using the Mambo global variables and classes.
Also with the valid mambo or die.
I have seen a few posts on this issue and normally folks say grab a component and take it apart. I am not having much luck with this approach.
It seems to me that a good step by step how to would be helpful.
If I can get my first comp written. I will document the process and provide it as a tutorial, cause I dont think one exists, if it does I cant find it.
What I am trying to do, just as a learning tool. Is create a comp that will allow me to view data from a table as specified by a passed parameter. Say user ID
Then add an option to edit this data.
but one step at a time. I have to first get an instance of MOS and get access to the API $database etc classes and variables.
TJay
I have been trying to sharpen my skills with php with Mysql. I am fairly comfortable writing and executing queries and handling output using php.
What I am struggling with is the incorporation using the Mambo global variables and classes.
Also with the valid mambo or die.
I have seen a few posts on this issue and normally folks say grab a component and take it apart. I am not having much luck with this approach.
It seems to me that a good step by step how to would be helpful.
If I can get my first comp written. I will document the process and provide it as a tutorial, cause I dont think one exists, if it does I cant find it.
What I am trying to do, just as a learning tool. Is create a comp that will allow me to view data from a table as specified by a passed parameter. Say user ID
Then add an option to edit this data.
but one step at a time. I have to first get an instance of MOS and get access to the API $database etc classes and variables.
TJay