| Related sites for http://www.woyano.com/view/213/ |
| Info_Touch_Technologies_Corp_ Manufactures, distributes and sells public Internet kiosk technology. | | RecipeML Official specification document, FAQ, example recipes, and the DTD of the recipe markup language formerly known as Dessert. | | Software_and_Solutions_for_the_Automotive_Industry Microsoft's site about the CE based telematics software platform. | | Ev3_Multimedia_Solutions Offers web design services and other multimedia solutions. | | Facility_Information_Systems,_Inc_ FIS provides CAFM-focused ERP, facility management and infrastructure planning software for large scale corporate infrastructure resource management. | | RFC_3183 Domain Security Services using S/MIME. T. Dean, W. Ottaway. October 2001. | | Iowa_Beauty_and_Barber_Supply Integrated system which may be used stand-alone or with added modules. Network and remote location capable. Provides most major salon functions. May be purchased or leased. | | Eagle_Technology,_Inc_ Offering preventive computerized maintenance management software (CMMS) and enterprise asset management software (EAM) to plant and facility maintenance departments worldwide. | | ZT The esoteric programming language. Documentation, interpreter, and example programs. | | COMDEX Lists all events for the year 2002. | | Alston_Software_Labs Top rated home and entertainment titles. Home of Child's Play, the net's most popular paint program for the younger crowd. | | Sumit_Mehta Task Scheduler, NoteBook, and other applications. | | Wikipedia__CP/M Encyclopedia article, with links to many related topics. | | RFC_0212 NWG Meeting on Network Usage. Information Sciences Institute University of Southern California. August 1971. | | RFC_0865 Quote of the Day Protocol. J. Postel. May 1983. | | Chilkat_ASP_Examples Examples with the Chilkat component for Email, Encryption and XML | | Truetype_Web_Solutions Offers design and graphics services. | | Web_Demon Offers design and maintenance services. | | IT_Continuum_Inc_ Offers web, graphic and Flash design, e-commerce solutions, application development, 3D modelling and animation, hosting and networking services. Based in Rancho Cucamonga in California, United States | | IPBWiki Integrates the login system of Mediawiki with Invision Power Board |
|
Download ezSQL Database Class (2.04) - Woyano _uacct = "UA-263269-5"; urchinTracker(); var xajaxRequestUri="/ajax";var xajaxDebug=false;var xajaxStatusMessages=false;var xajaxWaitCursor=true;var xajaxDefinedGet=0;var xajaxDefinedPost=1;var xajaxLoaded=false;function do_ajax(){return xajax.call("do_ajax", arguments, 1);} window.setTimeout(function () { if (!xajaxLoaded) { alert('Error: the xajax Javascript file could not be included. Perhaps the URL is incorrect?\nURL: /third_party/xajax/xajax_js/xajax.js'); } }, 6000); var template_root = '/sites/woyano/template/uk'; //JQUERY CALLS $(document).ready(function(){ // fade out error messages $("#error_bg").fadeOut(3000,function(){ }); // fade out notify messages $("#notify_bg").fadeOut(3000,function(){ }); }); @import url("/sites/woyano/template/uk/css/common.css?1209728599");
New to Woyano? Join now! -
Login -
Help
Home
My Friends
My Topics
My Woyano
Quick StartMost PopularNew StuffPeopleTagsAbout Us
Related Items
class="std_image" alt=''>
How To Access Gmail With PHP
8659 views
class="std_image" alt=''>
Multiple date dropdown function
1498 views
class="std_image" alt=''>
Parsing email to MySQL
2183 views
class="std_image">
Download ezSQL Database Class (2.04)
Rate this: class="va_c"> class="va_c"> class="va_c"> class="va_c"> class="va_c">
By JV
(Contact - View My Woyano)
Published Tue 06 Feb 2007,
34997 Views,
26 Comments
class='std_image' width="120" height="103">
class='va_c'>
ez_sql_2.04.zip
(59 KB, upload, archive) ~ (right click to download)
If you haven't already... please have a look at Why Woyano is useful for techies Overview ezSQL is a class that makes it ridiculously easy to use mySQL, Oracle8, SQLite (PHP), within your PHP script. Includes lots of examples making it very easy to understand how to work with databases. ezSQL has excellent debug functions making it lightning-fast to see what’s going on in your SQL code. ezSQL can dramatically decrease development time and in most cases will streamline your code and make things run faster. Features ezSQL is a widget that makes it ridiculously easy for you to use PHP-PDO, mySQL, Oracle8, InterBase/FireBird, PostgreSQL, SQLite (PHP), SQLite (C++) or MS-SQL database(s) within your PHP/C++ scripts (more db's coming soon) It is one php file that you include at the top of your script. Then, instead of using standard php database functions listed in the php manual, you use a much smaller (and easier) set of ezSQL functions. It automatically caches query results and allows you to use easy to understand functions to manipulate and extract them without causing extra server overhead It has excellent debug functions making it lightning-fast to see what's going on in your SQL code Most ezSQL functions can return results as Objects, Associative Arrays, or Numerical Arrays It can dramatically decrease development time and in most cases will streamline your code and make things run faster as well as making it very easy to debug and optimise your database queries. Works with Smarty templating languageIt is a small class and will not add very much overhead to your website. Download Download ezSQL completely Free from the download link at the top of this page, also check out EZ Results Paging Class ezSQL's sister class that makes result paging a snip. Important Note! For Inerbase/Firebase, PostgreSQL, SQLite (C++), MS-SQL database(s) download version 1.26. Or, even better, help port ezSQL to version two. Documentation Extensive help documentation and examples (N.B. Full docs in download file). ezSQL revision/build history Article explaining the theory behind ezSQL ezSQL Forum The ezSQL forum is here.. Testemonials Chris Ray - "I have used ezSQL since version 1.04 and have so much confidence in this database class that I use it (with permission from Justin) as the database engine in a commercial product that I have released recently. To see this fast and easy to use database class in action, you could visit the ReviewCast demo at www.reviewcast.com" Robin Jackson - "Was in the process of learning about SQl and PHP, the going was slow, that is until ezSQl came along and made things a relative snip. In the process of using ezSQL I also found out more about MySQL and PHP and can now write more natively if I so wished. I found the 'class' not just a usefull tool but also a fabulous assistant to learning." Luke Hendricks - What a great tool! I trimmed dozens of lines of redundant code out of one of my apps using your object. I can’t wait to build one from the ground up using it. LL Ceder - "The many examples you provided make it really easy for people to start using your classes immediately." Will Macdonald - "BRILLIANT work !!! Next time you are in London let me buy you a beer. It just saved me several hours." Kevin Danenberg - "Your ezSQL class facilitated the rapid development of this database intensive site (www.blbex.com). There were times when it was so ludicrously simple I had to laugh! Especially considering how rich ezSQL is in features. Nicely done!" Alan Graham - "Coming from a J2EE/Oracle background, I was a complete newcomer to PHP/MySQL when I discovered ezSQL. Great documentation and an exceptionally simple API made this the clear choice for our systems (www.parallel56.com). I've recommended it to numerous others, and they've loved it too. You've found what you're looking for, just download it!!!"Matthew Hellinger - "I've been using ezSQL from v1.08 and it has become an indispensable part of my programming arsenal. With ezSQL I get projects done 2-3 times quicker and can tackle much larger projects with ease thanks to the great API. Knowing that these projects can be easily moved to different database systems is an added bonus."Jim O'Halloran's Web Log - "When I first started working with PHP, the lack of a standard database library seemed odd to me. How would I write database independent PHP scripts? But then I discovered ezSQL which wraps up everything nicely for me. Sure, I could have used PEAR DB, or ADOdb, or Metabase or now PEAR MDB? I guess each has their own advantages or disadvantages, but the fact that there is a choice means we can pick the best tool for the job. For what I'm doing right now, thats ezSQL. Why should I use a more bloated DB library when I'm not going to use most of its features?" Sites Using ezSQL www.reviewcast.com - Community review site www.blbex.com - Big League Baseball Exchange www.acaldra.com - Community site www.okyz.com - French Mac, PC, Unix software company www.WebspaceEnterprises.com - E-Business development company www.polandguangzhou.com - Polish Consulate in China (Commercial and Economic Section) Author Justin Vincent
Great content, let me share it! »
This Item
Feature
Flag as Adult
Flag as Inappropriate
Category: Uploads, Archive
Tags: ezsql, oracle, mysql, php, script, database, class
Geo-tags: london, uk
Contributor
class="va_c"> JV
Add to friends
Contact
View My Woyano
Share it
Link to this item:
Bookmark this item:
        
class="va_c"> RSS Feed
People who liked this item
   
26 Comments class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
sagetips ~ 18 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image" src="http://www.woyano.com//sites/woyano/template/uk/gfx/random/profile/2_thumb.gif"> Hi -
EZsql looks to fit my needs. But I'm trying to install and am not having luck. The instructions indicate a file "ez_sql_core.php" should be present but it doesn't appear to be in the zip file I download.
Am I missing something?? [ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
JV ~ 18 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image"> Best thing to do is get ezsql/mysql/demo.php to work.
Just edit the values at the top of the file.
p.s. ez_sql_core.php is in the dir ezsql/shared
Hope this helps! [ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
sagetips ~ 18 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image" src="http://www.woyano.com//sites/woyano/template/uk/gfx/random/profile/1_thumb.gif"> Yes, thanks it works now. It wasn't clear to me that the values in demo.php needed edit.
Thanks again [ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
bkramer ~ 18 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image"> JV,
what is new in version 2.03?
your build history doc hasn't been updated. [ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
MazY ~ 17 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image"> The download links appear to be broken. :( [ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
alan ~ 16 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image"> I had downloaded and tried this files, but where can find the demo for sybase, I need this, Thanks.
--------------------
software reviews [ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
johntheentrepreneur ~ 15 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image" src="http://www.woyano.com//sites/woyano/template/uk/gfx/random/profile/2_thumb.gif"> hi,
please help me with my ezsql error.
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 33172040 bytes) in /hsphere/local/home/livinise/blobees.com/libs/ez_sql_core.php on line 370
please look at this link for more explanation
http://forums.pligg.com/showthread.php?p=29747
[ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
johntheentrepreneur ~ 15 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image" src="http://www.woyano.com//sites/woyano/template/uk/gfx/random/profile/4_thumb.gif"> any help please? with the porblem above? [ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
FSDFSDFHSJKGFJLDKFHG ~ 15 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image" src="http://www.woyano.com//sites/woyano/template/uk/gfx/random/profile/4_thumb.gif"> I'm new to PHP. I've been using this not-so-good php class for simplified mysql usage, and want to migrate to ezSql. Everything has went wel, but I have one question: is it possible to do an "or die" style error reporting on all query functions? (Example, $db-query("insert query here") or die("...") will do the query and then die if I try to do it) [ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
muurbloem ~ 14 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image" src="http://www.woyano.com//sites/woyano/template/uk/gfx/random/profile/4_thumb.gif"> Hello,
In the file ez_sql_mysql.php I have adapted the following part.
function escape($str)
{
// aanpassing 14-07-2007
// return mysql_escape_string(stripslashes($str));
$str2 = mysql_escape_string(stripslashes($str));
return htmlentities($str2, ENT_QUOTES, 'UTF-8');
}
This extended function gave me the the mixed leters like é and ë.
Maybe someone can use this.
Ubel Jan
[ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
tom151 ~ 14 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image" src="http://www.woyano.com//sites/woyano/template/uk/gfx/random/profile/3_thumb.gif"> Hi JV,
I'm converting to XAMPP and PHP5 -- now getting this error - does ezSQL not run on PHP5? Is there some PHP config change that will solve this?
Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in c:XAMPPxamppxamppphp_incez_sql_core.php on line 32
(and repeats for many lines)
Thanks for ezSQL, [ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
Dory Spartan ~ 13 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image" src="http://www.woyano.com//sites/woyano/template/uk/gfx/random/profile/3_thumb.gif"> ezSQL Database Class 2.03 with PostgreSQL support
http://postgresql.fortunecity.com/
Hope this helps! [ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
Selina ~ 7 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image" src="http://www.woyano.com//sites/woyano/template/uk/gfx/random/profile/4_thumb.gif"> thanks,, very helpful
regards, selina [ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
topanga ~ 12 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image" src="http://www.woyano.com//sites/woyano/template/uk/gfx/random/profile/4_thumb.gif"> we are still waiting for some demo.... of this database
Regards, Topanga [ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
ozyank ~ 12 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image" src="http://www.woyano.com//sites/woyano/template/uk/gfx/random/profile/1_thumb.gif"> I have not been able to use the variable $db->insert_id successfully. For example, should this work?
$sql="INSERT INTO test_mdb_members (".$fields.") VALUES (".$values.")";
$results=$db->query($sql);
$last_id = $db->insert_id;
echo "Records added: ".count($results).". Last ID: ".$last_id."";
[ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
ozyank ~ 12 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image" src="http://www.woyano.com//sites/woyano/template/uk/gfx/random/profile/4_thumb.gif"> I forgot to say. Nothing is displayed for $last_id in the echo statement. [ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
JV ~ 11 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image"> Just a quick note to everyone.
I added support for PHP PDO, and also added postgress and ms-sql to the main distribution.
Thanks for the contributions.
JV [ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
Christophe ~ 10 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image"> JV, do you have a public Subversion repository set up for this? [ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
greg ~ 10 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image"> On the Constructor on ezSQL_mysql ver.2.04 why did you leave out the function to connect to the Database?
My Copy Just Had
$this->dbuser = $dbuser;
$this->dbpassword = $dbpassword;
$this->dbname = $dbname;
$this->dbhost = $dbhost;
So I added
$this->quick_connect($this->dbuser, $this->dbpassword, $this->dbname, $this->dbhost);
[ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
Janet Kellman ~ 7 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image" src="http://www.woyano.com//sites/woyano/template/uk/gfx/random/profile/4_thumb.gif"> I'm new to PHP. I've been using this not-so-good php class for simplified mysql usage, and want to migrate to ezSql. Everything has went wel, but I have one question: is it possible to do an "or die" style error reporting on all query functions?
(Example, $db-query("insert query here") or die("...") will do the query and then die if I try to do it)
Janet Kellman, software reviews manager [ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
Bancer ~ 6 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image" src="http://www.woyano.com//sites/woyano/template/uk/gfx/random/profile/1_thumb.gif"> Hi, I got this error message on my localhost:
Strict Standards: Declaration of ezSQL_mysql::query() should be compatible with that of ezSQLcore::query() in D:serverfinance_systemtemp213-ez_sql_2.04ezsqlmysqlez_sql_mysql.php on line 263
Strict Standards: Declaration of ezSQL_mysql::escape() should be compatible with that of ezSQLcore::escape() in D:serverfinance_systemtemp213-ez_sql_2.04ezsqlmysqlez_sql_mysql.php on line 263
ezSQL demo for mySQL database run @ 2008-02-26 12:59:26
What is the best way to fix it? [ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
foof ~ 5 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image" src="http://www.woyano.com//sites/woyano/template/uk/gfx/random/profile/2_thumb.gif"> Is there an answer to this problem:
http://www.jvmultimedia.com/portal/node/208
I can't remember my username/password to see the answer!
I have the same problem. [ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
teapear ~ 4 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image" src="http://www.woyano.com//sites/woyano/template/uk/gfx/random/profile/3_thumb.gif"> hi, i got this error message when using mysql_real_escape_string;
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:xampphtdocsnewupmmainlogin.php on line 7
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:xampphtdocsnewupmmainlogin.php on line 7
my code:
include_once "include/ez_sql_core.php";
include_once "include/ez_sql_mysql.php";
$db = new ezSQL_mysql('root','','um','localhost');
$username = mysql_real_escape_string($_POST["username"]);
$query = $db->get_row("SELECT * FROM user WHERE Username='$username'"); [ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
mosphp ~ 4 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image" src="http://www.woyano.com//sites/woyano/template/uk/gfx/random/profile/3_thumb.gif"> hi, I have to thanks for this great class that I use it from 1.26.
But, I'm facing a problem that how to do runtime-created function within a function in php, could you please show me some example !
Best, [ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
mosphp ~ 4 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image" src="http://www.woyano.com//sites/woyano/template/uk/gfx/random/profile/3_thumb.gif"> i mean:
function aaa(){
..
$result =$db->get_results($array); <-- getting error of Fatal error: Call to a member function get_results() on a non-object in
..
}
thanks [ reply ] class="box_darker_blue">
class="box_darker_blue1">
class="box_darker_blue2">
class="box_darker_blue3">
class="box_darker_blue4">
class="box_darker_blue5">
Terry ~ 3 months ago 0 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image" src="http://www.woyano.com//sites/woyano/template/uk/gfx/random/profile/1_thumb.gif"> mosphp:
You need to do something like this:
function aaa($sql)
{
global $db;
$result = $db->get_results($sql);
return $result;
}
Hope that it helps.
Cheers,
Terry [ reply ] class="box_darker_blue"> class="box_darker_blue1"> class="box_darker_blue2"> class="box_darker_blue3"> class="box_darker_blue4"> class="box_darker_blue5"> AdGuy 22 votes class="thumbs_up" title="thumbs up" alt="thumbs up" /> class="thumbs_down" title="thumbs down" alt="thumbs down" /> class="std_image"> This is my two cents... Hey you know AdGuy always gets the last word! ;) Please Login to Add Your Comment ..or.. class="va_c"> Replying to comment by class="box_dark_blue">
class="box_dark_blue5">
class="box_dark_blue4">
class="box_dark_blue3">
class="box_dark_blue2">
class="box_dark_blue1">
© 2008 Woyano Limited. All Rights Reserved |Terms of use | Privacy policy | Careers | Feedback |
|