No Ouput After ADODB Connection Attempt?
I am trying to connect to a MSSQL Database but I am having some problems. I create this function in a file (Called functions.php) Code:
View Complete Forum Thread with Replies
Related Forum Messages:
ADODB Multiple Database Connection
I'm using ADODB for a PHP project and am having problems with multiple (MySQL) databases. I've looked through all the docs and am stumped. I know how to use PHP and MySQL and I still haven't got a clue why this isn't working. Code:
View Replies !
Adopting ADOdb (actually ADOdb Lite)
I'm interested in adopting ADOdb (actually ADOdb Lite) and have a simple question that I haven't been able to quite pinpoint an answer to. I'm used to using the native mysql functions with mysql_escape_string(). With ADOdb, is this handled transparently with the execute method or should I take my own steps to sanitize input data? Also, one of the reasons I'm looking at ADOdb is I'd like to start to explore postgreSQL. Are the security considerations with postgre similar to mysql?
View Replies !
Ouput Formatting...
I would like to have the results of my query display in a grid format. The code below returns my thumbnails and links them to the actual images. However the entries in the database are simply paths to these images. I thought I could do this with CSS but the way this query is returning the results I am stuck and not sure how to resolve it. Any suggestions?
View Replies !
Select And Ouput
I'm trying to display a bunch of pictures in rows with 5 pictures per row. The filenames of the pictures are all stored in a MySQL database and the actual files are stored on the server. So, I know how to return and output all of the records from a MySQL table using a while statement. However, I need to only output five of them, insert a break in the HTML to start a new line, and then output five more and another break, and then do it again until there are no more pictures left. Anyone have any ideas?
View Replies !
Ouput Image
I am trying to output an image with text coming from a database" $image=mysql_result($result,$i,"image"); trying to output it like this: <img src=../prod_images/" . $image . " height=90> problem is that some images have a space in the text like "image 1". When it is outputted onto the screen, the browser does not read anything after the space. How can I get around this?
View Replies !
How To Ouput A Html Page To PDF ?
I been able to output data from MySQL page and put in into a generated HTML page using <TABLE>. Is there any fastest way to convert the HTML page directly into a PDF document for the user to download when the user click on a link, juts like the one (PDF Version / Printable Version) of Devshed.com?
View Replies !
Mysql/PHP To Excel Ouput?
I can successfully, output contents from two mysql tables into excel but I was wondering if there was a way of determining the actual layout - column sizes because at present they are all over tha place? .....
View Replies !
I'm Getting Strange Ouput In Url String
I've been getting strange output in my url string within my app lately. It adds stuff like ?1174406969965 when I'm not even posting a url string on my forms. This doesn't seem like a big issue, but I was wondering if anyone has ran into this before. Code:
View Replies !
HTML Ouput Gets Scrambled While Parsing
On a page I want to display rows of recordset, coming from a mysql database. The problem is that somewhere halfway, PHP seems to generate messed up HTML code for no reason at all. e.g: The first 54 records display correct syntax. Code bellow is an examlpe of a row ouput for record 54 Code:
View Replies !
Sorting LDAP Ouput With PHP3
I am wanting to create a telephone list of all users on a LDAP database. I have managed to extract the data, but cannot get the code to sort the results in alphabetic order , based on surname. My code:
View Replies !
Hack Attempt?
I store all of the searches that are made on my website so i can identify what my customers want. One of the recent searches look like this Content-Transfer-Encoding: 8bit x-: 18938d774e16326063c819c92eea0050 Content-Type: text/plain Subject: to: censoredforpost@aol.com Sadly i only store searches in a tinytext mysql field so i am not sure if this is the whole attack. My website is using php so i figured that it was best to ask you guys as you would know wot attacks are used against php. It looks like this is an attempt to send an email can you tell me what type of attack this is? or what they are attempting if i am wrong?
View Replies !
Attempt To Compile PHP 5.2.0 With Mysql And Gd (2.0.33)
I had an install of php without gd, this seemed to work ok. I decided I would like to use the gd package with php. I have Redhat 3.0AS, and php 5.2.0, and gd-2.0.33. the phpinfo file looks like it has gd (shows up in info page). I get a failure running one of the gd functions: Fatal error: Call to undefined function imagecreatefromjpeg() in usr/local/apache2/htdocs/thumbnail_generator.php on line 42 That function is supposed to be ok in gd. I assume that I must start all over. What directory should I be using for --with-gd=/?????? I have tried the unzipped location (gd-2.0.33) where i do the ../configure, etc - the php config fails, saying it cannot find libgd.(a|so) (which is in .libs) or at times gd.h. I have used /usr/lib as well - seems everything fails in some form. I am using apache 2.0. How can I remove php 5.2, and gd, and start over "correctly". I followed the install and readmes for both php and gd - but no luck.
View Replies !
Login Attempt Problem
Im creating a script that logs users in. I want a part of the script that if a user fails to put in the correct credentials then it logs it in the database, it logs the time and the users ip. But, I cant think of how I would query the database for all the records with a timestamp 300 seconds old. So, I need a query that checks the database for records less then 300 seconds old. Something like: $timestamp = time() - 300; $ip = $_SERVER['REMOTE_ADDR']; // Query here that checks for the records where the timestamp is greater then 300 seconds on
View Replies !
Session Rejecting My First Attempt.
I am using sessions for my login page, it always rejects my first attempt and second attempt i con login with the same login details. although i placed session_start(); right at the top of my document, but still its the same.
View Replies !
Odbc_connect Fails & Returns 1 On Attempt
Curious to see if anyone has had a similar issue. - solaris 2.8, sparc - apache 1.3.31 - php v. 5.0.3 - using easysoft odbc drivers - using unixODBC - apache built with php and required odbc/easysoft/unixODBC libraries statically linked (some) - connecting to MSSQL 2000 the problem is with this code: // the $connect variable contains the full {DSN=blah;SERVER=blah;PORT... etc) $cnx = odbc_pconnect($connect, $uid, $pwd) || printf("ERROR CONNECTING<p>"); if ($cnx == 0) { printf ("unable to establish connection - $cnx"); } else { echo $cnx; $rs = odbc_exec($cns, "use db;"); odbc_close($cnx); } the odbc_connect will return the value of "1" to the $cnx handle. anyone ever see this? no errors are thrown (from program output, or apache error logs). the auth seems to work OK... when I change the pwd to something incorrect, the proper errors pop up. i'm new to php, is there further debugging that I can do? the MSSQL box is offsite and i won't be able to do detailed error analysis from it's logs. i 'trace'd the php command from the command line, which produced the same error, with the trace not really showing any fruitful details from the calls made. i guess this is more of a unixODBC or easysoft issue, but was just wondering if anyone has noticed this return type.
View Replies !
Fetch, Store, Process: My First Attempt
I've made it a long way and I've read a lot of manual pages and tutorials. Some of this code is mine and some of it I got from the manual pages, so it's a Frankenstein script. Believe me, if I could have found the code to do this, I would have taken it in a second. But I couldn't find it so I had to write and piece together something that would work. Sadly, this represents about 60 hours of work. The code below fetches a remote page, stores it, scans it for the desired text and then displays the desired text in a webpage. It also checks to see if the stored file is "old" and if so, updates the stored file. It "works", but I believe it could be more efficient and I'm sure I've made some very rookie mistakes. Code:
View Replies !
Can You Define A Variable Twice? (Attempt At CMS From Scratch)
I've been typing along in my free time trying to create my own CMS (Content Management System) from scratch. Just wanting to start with something basic. I won't bore you with endless amounts of code, however, I'll just get right down to my current minor issue I have not been able to fix my self. Code:
View Replies !
First Attempt At Uploading Image And Storing To Db
I am trying to upload an image, create a new file based on that image and then store the base64 encoded image data in a database. I dont really know where my code is going wrong so I will just display it below: The following code contains the script to process the uploaded file, the form to upload the file and then a few links to view the file from a php script called simpleimageviewer.php: Code:
View Replies !
Warning: Mcrypt Ecb(): Attempt To Use An Empty IV, Which Is NOT Recomm
how to properly use mcrypt_ecb? This is the piece of my code I'm having trouble with below. I've done quite a few searches but keep coming up empty on the proper syntax from start to finish. $key = "unlock"; $msg = " top secret "; $crypted = mcrypt_ecb(MCRYPT_LOKI97, $key, $msg, MCRYPT_ENCRYPT); $crypted = bin2hex($crypted); echo "$crypted";
View Replies !
An Attempt To Explain Sessions - PLEASE Correct Errors Where Found
This is stuff I've been arguing with recently and I think I've figured out how to get the crud to work right :-) session_start() sets up your session vars. As such, it must be called before the header is sent; in other words, before you start sending HTML. You can have 150 lines of php code, but as soon as you echo "<HTML>" you're hosed. session_register() will set up the variable passed to it to EVERY page that starts with session_start(), 'cause a session is a temp file somewhere (I think on your local machine) that is storing this, so until that file gets whacked or updated somehow, the variable is in there. Session_register can be used anywhere in your code. Session_register will NOT update if you try to give it a new value. Example: $var was passed from page1.php via session_register("var"); $var = bob; will NOT set $var = bob. $var is still registered as a session var, so when you echo $var, it still gets $var's value from the session. Also, it will not update if you send $var in the URL. So http://www.whatever.com/page2.php?var=bob will NOT work, as the session sets $var BEFORE the URL does. And of course, this also holds true for form data. Nice little security bonus, isn't it? There are a few things you can do to change $var: 1. session_unregister("var"); - this will delete $var from your session file. Then you should be able to declare $var again, and then session_register it again if you want. Note that session_unregistering will only remove the session file's entry for $var, but not $ar itself. So unregistering $var will keep it from passing it to other session-enabled pages, but it leaves $var set in the page you unregistered it in. You can then do whatever you like with $var. If you don't want $var to exist at all, you have to unregister it and then unset("var"); 2. session_unset(); will whack ALL session variables. 3. session_destroy(); will whack your session completely. So, if you want to set your session var to a passed var, i.e. page2.php?var=bob, you would do this:
View Replies !
Create A New Database Connection And Using This Connection For The Current Browser
The database is MySQL I would like to ask if it is possible to create a new database connection (new connection ID: XX). This connection (ID:XX) will be used for the different pages within the same browser. If the user open another new browser, it will create another database connection (ID:YY). mysql_pconnect does not work because it will use the same connection for all browser. I want to have a specific connection for each browser.
View Replies !
PHP Adodb
I just started using the php adodb library for my Oracle transactions, but am running into a problem when there are 2 simultaneous requests going on at the same time. The nature of the php app that I created is it runs a large query that takes approximately 15 seconds to run and then prints the data out on a web page. If I open 2 separate browser windows and call the same report at about the same time, or while one report is processing, I get the following error: Warning: Unknown: _oci_close_session: OCISessionEnd: ORA-03127: no new operations allowed until the active operation ends in Unknown on line 0 When I was doing this same report using php4 and the OCI functions I had no problems with this database and concurrent transactions, seems to be something with how I am using adodb.. Here is my code snippet: include('./adodb/adodb.inc.php'); $username = "user"; //oracle user $password = "password"; //oracle password $database = "testdatabase"; //tnsnames database entry //Type of connection $db = NewADOConnection('oci8'); //Sets the query results to come back as assoc arrays $db->SetFetchMode(ADODB_FETCH_ASSOC); function InvokeErrorHandler() { global $db; ## assume global echo $db->ErrorMsg(); } //Make the connection $db->Connect($database, $username, $password); if (!$db->Connect($database, $username, $password)) InvokeErrorHandler(); $query = "SELECT * FROM table"; $rs = $db->Execute($query);......
View Replies !
ADOdb
I'm interested to use ADodb layer in my project. I would like to hear your opinion about ADodb. Will this improve the database performance.
View Replies !
ADOdb &
I use PageExecute with bind variables. I understand that you cannot use the Prepare() method. when I try to still use InParameter(), I still get the error 'Query failed:' returned by the Adodb Pager method Render.
View Replies !
ADODB Insalation? HOW?
I am a newbi; but one that can usually figure something out with a product manual, or a visual example. Anyhow, I downloaded ADODB and was ready to install it with the help of the product manual, and this is their complete instruction for installation. "Unpack all the files into a directory accessible by your webserver." Drum roll, please! That's it! No examples, or deep explanation. Anyhow, could someone please help me with this. I running XP Pro, PHP 4.3.3 as a SAPI module.
View Replies !
ADODB Question
I am in the process of converting a PHP5 script that talks to an MS SQL db from using ODBC to ADODB. I should say that I have no control over what is installed on the (remote) server. It seems to have some sort of minimal set of ADODB functions, but doesn't (for example) recognise the GetRow() function. Anyway, before, to put the results into an array for further manipulation, I had: $results = odbc_exec($connection_id, $select); while(odbc_fetch_row($results, $rowcount)): $hits[]=array_map('trim', odbc_fetch_array($results, $rowcount)); endwhile; now I am trying things like: $results = $conn->execute($select); // (this works, and I can get individual values with: $results->Fields["Variable name"]->Value while (!$results->EOF): $hits[]=array_map('trim', $results->fields ); $results->MoveNext(); endwhile; but get the error message "array_map() [function.array-map]: Argument #2 should be an array" I thought that $results->fields would be an array? Help! PS I also thought that foreach($results AS $result): ...whatever... endforeach; would work, but this get the error message: "Uncaught exception 'Exception' with message 'Object of type variant did not create an Iterator'"
View Replies !
MySQL / ADODB
I've taken on a massive project for a client recently and now I've hit some bug fixes that are required (3rd party code). and was just wondering about peoples opinions / personal findings. This set of scripts for the section of the project use an ADODB class for MySQL. I've never used this method before (I wrote a class a while back to handle my MySQL core code which was mainly a wrapper for various mysql_*() functions etc). The original query with the ADODB used code was hanging on retrieving 19k rows. I managed to locate the bug here by introducing a LIMIT of 1000 which then worked (although obviously a lot of data was missing, it didn't hang and the results that were expected were displayed). Removing the LIMIT again produces the hang situation again. I stripped out that particular piece of ADODB class code and replaced it with straight-forward mysql_*() calls wich retrieves all the data (all 19k rows) with no issues whatsoever. My query, is ADODB known to be slower / more resource intensive than straight mysql_*() calls via a mysql_connect() connection? Version info for this is: * @version V1.20 25 June 2001 (c) 2000, 2001 John Lim [email address removed] Unfortunately, due to the bad coding style of this part of the project (was "off the shelf" purchased code by the client) and the abominal use of 'global', I have a fair amount of work ahead of me I think as now I'm pulling errors regarding functions of unknown members in other sections of this code.
View Replies !
PHP, ADODB And Unicode
how come my unicode is getting replaced by question marks? In my database I have three unicode first names, and one name "John". As you can see, the encoding on my resulting web page is correct as the first two chinese characters print correctly (well they do on my display). Code:
View Replies !
Using Adodb Within A Class
Im trying to perform a query using Adodb within a class. The class is a search function and from within the process function within the class I'm trying to run this code. PHP Code: $results = $userdb->Execute($this->query); But the error I'm getting is: Fatal error: Call to a member function Execute() on a non-object in search.php on line 128 The adodb class has been declared and called within an init.php which is included into the right place and all the other files have been included accordingly. I'm guessing the error is cause by limits with classes that are preventing me from accessing another classes functions. But is there a way around this to allow it to work and access the adodb class?
View Replies !
GetUpdateSQL In ADOdb
i'am using the ADOdb to did the select, insert, and update function. but i have some question of using the GetUpdateSQL in ADOdb. For example, i have a form that can edit the user profile that content name, address, and tel no. fields with the edit button at the bottom of the form. if i edit the name field and then click the edit button, the GetUpdateSQL in ADOdb can perform the update properly.if i didn't modified any of the fields in the form, when i click the edit buuton, a error message displayed: *Query was empty*.
View Replies !
ADODB And Sessions
I 'm experiencing a problem with ADODB's Session Management. There is No Documentation on that part on How you gonna set Session Variables. Ie. Usually you would set $_SESSION['varname'] = 'somecontent' But if i do that with the ADODB session2 included at the beginning then session_start() command and afterwards set the Session Variable then nothing happens... No content in the database entered. Therefore i'm a little dissappointed that there is no documentation on that. Could anyone be of assistance?
View Replies !
AdoDB GerAssoc
I have a problem with adodb GetAssoc (RS function) it somehow seems to not completeley return the recordset. If I print the recordset with r2html (adodb function) I get multiple rows, but in the array there are less rows. It somehow seems to "stack" all queries with the same uid. I tried moving the pointer to see if that changes anything, it does depending on what I enter in move() and how many rows there are in the RS. movefirst or movelast didn't work. Is this a bug or how do I get the full RS into the associative array? Adodb: adodb466 Mysql: 4.1.13 php: 4.4.0
View Replies !
Using ADODB Without ODBC
I found a link to downloading an ODBC library but it was down. Another one I found said I had to setup an ODBC connection first. This seemed odd. I just dont want to setup an ODBC connection. If I have to I will though. I'm using the latest PHP.
View Replies !
ADODB Autoexecute Portable?
I can't find this anywhere, so your help is greatly appreciated. The main reason I'm using ADODB is the fact that I can port my code to different database types. So I want to make sure my code is portable. Will the autoexecute function be portable to different databases? The reason I ask is because I read this on their "Tips for writing portable SQL" page: Inserts When you create records, you need to generate unique id's for each record. There are two common techniques: (1) auto-incrementing columns and (2) sequences. Auto-incrementing columns are supported by MySQL, Sybase and Microsoft Access and SQL Server. However most other databases do not support this feature. So for portability, you have little choice but to use sequences. Sequences are special functions that return a unique incrementing number every time you call it, suitable to be used as database keys. In ADOdb, we use the GenID( ) function. It has takes a parameter, the sequence name. Different tables can have different sequences. $id = $connection->GenID('sequence_name'); $connection->Execute("insert into table (id, firstname, lastname) values ($id, $firstname, $lastname)"); For databases that do not support sequences natively, ADOdb emulates sequences by creating a table for every sequence.
View Replies !
Getting An Image From A PHP Source And ADOdb
I am trying to display an image in my html document. The document contains the following line: <td class="Input"><img src=getimage.php?tbl=dbo.Employees&type=jpg&col=Photo&idCol=EmployeeID&id=1 Border=0 alt=''> </td> This call getimage.php source. Following is the php source itself: <?PHP include_once('ordersappdata.php'); $objConn1 = &ADONewConnection("mssql"); $objConn1->debug = $DebugMode; $objConn1->Connect("server1","sa","sa2000","northwind"); include_once('utils.php'); $myQuote = ""; $objRSImage = ""; $strSQL = ""; $image = ""; $myType = ""; $handle = ""; $filename = 'test.txt' $handle = fopen($filename, 'a'); //fwrite($handle, "Debug open"); //$myQuote = getQuote($objConn1, getGet("tbl"), getGet("idCol")); $myQuote = ""; $strSQL = "select " . getGet("col") . " from " . getGet("tbl") . " where "; $strSQL .= getGet("idCol") . " = " . $myQuote . getGet("id") . $myQuote; //fwrite($handle, $strSQL . ""); $objRSImage = $objConn1->Execute($strSQL); if ($objRSImage): //fwrite($handle, "Recordset OK" . ""); $image = $objRSImage->fields[getGet("col")]; $objRSImage->Close(); switch (getGet("type")): case "jpg": //fwrite($handle, "Type = jpeg"); header("Content-type: image/jpeg"); $myType = "jpg"; break; case "gif": //fwrite($handle, "Type = gif"); header("Content-type: image/gif"); $myType = "gif"; break; case "png": //fwrite($handle, "Type = png"); header("Content-type: image/png"); $myType = "png"; break; default: //fwrite($handle, "Type = default"); if(ord($image[0]) == 255 && ord($image[1]) == 216 && ord($image[2]) == 255 && ord($image[3]) == 224): header("Content-type: image/jpeg"); $myType = "jpg"; endif; if(strcmp(substr($image,0,3),"GIF") == 0): header("Content-type: image/gif"); $myType = "gif"; endif; if(ord($image[0]) == 137 && ord($image[1]) == 80 && ord($image[2]) == 78 && ord($image[3]) == 71 && ord($image[4]) == 13 && ord($image[5]) == 10 && ord($image[6]) == 26 && ord($image[7]) == 10): header("Content-type: image/png"); $myType = "png"; endif; endswitch; header("Content-Disposition: attachment; filename="" . getGet("col") . ".$myType" . """); header("Content-Transfer-Encoding: binary"); header("Content-length: " . strlen($image) . ""); //fwrite($handle, "filename="" . getGet("col") . ".$myType" . """); print($image); unset($image); endif; unset($objRSImage); $objConn1->Close(); unset($objConn1); fclose($handle); ?> The image is not displayed in the html document. Is someone can tell me why it is not?
View Replies !
PHP ADODB DB2 Associative Arrays
I know this doesn't -exactly- match php, but its still related, and adodb doesn't have its own google group yet, so i thought I'd go generic. The problem is, I created a nice little script for Oracle using oci8 and tried to convert to db2, but ran into issues. In case you don't know what ADODB is, checkout http://adodb.sourceforge.net/ The GetAssoc, or SetFetchMode(ADODB_FETCH_ASSOC) methods to get an associative array from a DB2 database don't function properly. The result of a simple query, for example: select firstname, lastname, dob from person results in an array something like: Array ( [LASTNAME] => 'Bob' [DOB] => 'Henry' [0] => ��-12-01' ) Now -that- is a real pain, and I've tried looking through the db2 driver, but couldn't pin-point myself where the problem was, as the ADODB code is a little out of my league, and the complications of the new 'extension' don't help. I was just wondering if anyone knows what I'm talking about? Or maybe a possible solution to the problem? I'd prefer a solution at the base level, not a 'quick-fix', as I use this library often. Some further information that might be useful is that i'm running DB2 v8.2 Enterprise, on WinXP (up-to-date). I'm using the latest ADODB 4.8.1 (NOT the extension). And i'm using Apache/2.2.2 + PHP/5.1.4 served on WinXP, same machine as DB2.
View Replies !
MSSQL Versus ADOdb
My next project is going to be hosted on a server running MSSQL and I'm curious if anyone out there has had any experiences of using ADOdb as an abstraction layer rather than using the PHP MSSQL functions. Any performance differences? Thoughts?
View Replies !
Adodb, Smarty And Mojavi
i have to do a medium sized project using php. i'm new to php but i quite like the model-view-controller pattern. so i was thinking to use the following combination of frameworks: mojavi, smarty and adodb. since i haven't gog any expirience at all with those frameworks i have got a cuple of questions: a) is this a common combination of frameworks for a medium sized application? b) can i run this combination on a apache 2 webserver? c) are those frameworks well developed or are they still buggy (meaning: not very stable)? i have also got a question about the database. i'm wondering if i should use a normal mysql database with innodb tables or if i should use an alternativ like postgresql or maxdb i think that's all for the moment i would really appreciate it if somebody found the time to give me a small feedback. it doesn't matter if you can't answer all my questions. i would allready be happy if someone could give me answers like "i used mojavi and it worked well" or "i didn't like smary" or "michael, what you're suggesting is bit of an overkill )
View Replies !
Simple ADODB Question...
I have just started developing my basis for a new web app, i am trying to get my database communication spot on, however, I am having some problems! I am using AdoDB Lite as an abstraction layer, and I am trying to get my login page working. i have a file (database.php) which creates the connection like so: Code:
View Replies !
News System With Adodb
I am creating a news system with php and try to use the functions PageExecute and Move from adodb for it. Are there any examples of how to use those functions or any tips how to work with them.
View Replies !
Adodb Create Database
if you can connect then create a database using adodb a standard connection is like <?phpinclude('adodb/adodb.inc.php'); $db = ADONewConnection($dbdriver); # eg 'mysql' or 'postgres' $db->debug = true; $db->Connect($server, $user, $password, $database); $rs = $db->Execute('sql here '); but using it like this it seems the database must already exist before you can do the "create database sql" !
View Replies !
[ADOdb] Setting Sqlite Path?
I've installed sqlite on my remote website under /home/username/sqlite/ And ADOdb under /home/username/public_html/adodb What do I need to change inorder for sqlite to exec from the above path?
View Replies !
ADoDB & Total RecordSet Size
I need to setup a "paging" system so that only X records will be shown on a page at a time. Clicking next page, shows the next X and so on. This only works if you know the total number of pages (total records/X per page). My question is simple. Can you get with 1 query the desired recordset (i.e. using limit 10,20), but for the ADoDB (adodb.sourceforge.net) object to know how many were possible? I hate doing 2 queries, especially on something so "small".
View Replies !
Connecting To The Remote Oracle Using PHP And ADODB
I'm connecting to remote oracle with the following code. I am not being able to connect to the oracle. $DSN="oci8://".USERNAME.":".PASSWORD."@".HOST."/".SID; $DB=NewADOConnection($DSN); $DB->debug = 1; Then I am using this code: $res=$DB->Execute($sql) or die($DB->ErrorMsg()); It is showing error: Fatal error: Call to undefined method stdClass::Execute()
View Replies !
|