| Subject: | hi Totally exceeded. |  
| Summary: | Package rating comment |  
| Messages: | 7 |  
| Author: | keran |  
| Date: | 2014-04-18 23:08:51 |  
| Update: | 2014-04-23 19:32:28 |  
|   |  
 
 | 
 | 
keran rated this package as follows:
| Utility:  | Bad | 
| Consistency:  | Sufficient | 
| 
 | 
  keran - 2014-04-18 23:08:51  
hi 
 
Totally exceeded. I can not believe that we have code like that today. And this is not a orm 
  
  Anthony Amolochitis - 2014-04-20 01:14:52 -  In reply to message 1 from keran 
I plan on updating the code.  This was a messy first version I used to help speed up coding time.  I will also include a version that uses MySqli library. 
  
  Federico Castaņeda Ortiz - 2014-04-21 21:40:16 -  In reply to message 1 from keran 
Hello, I'm learning php, I ran the class and I created the file for my database. 
In a php file, I did the instance of the class: xxxxxxxxxTableQuery, but when trying to use its methods returns me an error: Fatal error: Call to a member function nose () on a non-object in C: \ wamp \ www \ Quinela \ ejemplo_clases.php on line 5 
 
Here my code: 
 
<?php 
// Intenta usar la clase de conferencias 
include('QuinelaLibrary.php'); 
$conferencia = 'Au_conferenciasTableQuery'; 
echo $conferencia->nariz(); 
?> 
 
Can you help? 
 
Thank You. 
 
  
  Anthony Amolochitis - 2014-04-22 01:35:15 -  In reply to message 3 from Federico Castaņeda Ortiz 
The function is public static so it would be called as such... 
 
$sqlSelect = xxxxxxxTableQuery::ReturnSelect($id); 
  
  Federico Castaņeda Ortiz - 2014-04-22 14:47:55 -  In reply to message 4 from Anthony Amolochitis 
Hello, thank you very much. 
To generate the sql statement SELECT and UPDATE all ok. 
 
I'm using this: 
$ id = 1; 
$instance::ReturnSelectSql($id) --> SELECT * FROM quinela.au_conferencias WHERE id = 1 
 
$instance::ReturnDeleteSql($id) --> DELETE FROM quinela.au_conferencias WHERE id = 1 
 
 
To generate the sql INSERT statment: 
$data ['Mexican', 'Mex', 'mexico.jpg', 1]; 
$instance::ReturnSelectSql($data) 
 
ReturnInsertSql conference :: echo $ ($ data); 
 
But it returns error: 
  Notice: Trying to get property of non-object in C: \ wamp \ www \ Quinela \ QuinelaLibrary.php on line 133 
 
And in the end the decision: 
 
INSERT INTO quinela.au_conferencias (conference, abbreviated logo liga_id) VALUES ('','','','') 
 
Then, I do not know how wich parameters send to function.  
 
 
Greetings from Chihuahua, Chih. Mexico 
  
  Anthony Amolochitis - 2014-04-23 18:53:28 -  In reply to message 5 from Federico Castaņeda Ortiz 
Here is an example of usage with some code I have written. 
 
// create the data object 
$UserInfoData_New = UserInfoData() ; 
$UserInfoData_New->cellphone = '111-222-3333'; 
$UserInfoData_New->name      = 'Billy Joe Bob'; 
 
// pass in the data object  
$sqlInsertUserInfo = UserinfoTableQuery::ReturnInsertSql($UserInfoData_New); 
 
// now you can run your database insert 
// INSERT HERE // 
  
  Federico Castaņeda Ortiz - 2014-04-23 19:32:28 -  In reply to message 6 from Anthony Amolochitis 
Great!!!! 
 
It's Ready!!!!!! 
 
 
Thank you.  
 
 
  
   |