|
by: Robert Fritz |
last post by:
Hello,
i'm using pear (for the first time). the function "numRows" (Win XP
SP2 , IIS, MS ACCESS) gives me always the value "-1" (= the
ErrrorObject) - although the
sqlResult contains data.
I have to check the number of rows before I use the sqlResult. How do
I get the numbers of rows?
Something like this:
|
by: Swincher |
last post by:
Hey - - -- --- --- - -- -
Any data folks out there? I have started investigating the use of MDB2
for a data object. So far, it is winning the struggle...
I am just trying to connect to a database and run a "select * from
<table>" query.
The language is below, taken essentially from the docs. the language
does, well, nothing. it neither...
|
by: scottauge |
last post by:
I cannot for the life of me get a connection using MDB2 to a PostgreSQL
8.1 database.
I can get a connection just fine using:
$db = pg_connect ("host=localhost port=5432 dbname=subscriber
user=scottauge password=mypassword");
and using a dsn:
|
by: salvadorvp |
last post by:
Hi, I have the following code that gives me this odd error message at
a line of code inside the PEAR libraries:
"Fatal error: Call to undefined function:
MDB2_Driver_mssql::getMessage(). in C:\php\PEAR\lib\MDB2.php on line
1921"
My code is a simple submit processing form for a login page:
<?php
|
by: salvadorvp |
last post by:
Hi, I wonder If somebody has experience this or could point me in the
right direction:
I have the following script (commented out just to use the username):
// Check username and password
// Assume you have a valid DB handler ($dbh) already connected
$result = false;
if ( isset($_POST) && isset($_POST) ) {
$username = $_POST;
|
|
by: Sal |
last post by:
I have error_reporting set at E_ALL | E_STRICT and get 35 Strict
Standards notices every time I load MDB2. Is this something to be
concerned about, and is this typical of other PEAR packages?
|
by: Kim |
last post by:
I keep getting "function not defined" when trying to get a result
count on my queries ("numRows()") and dont see a bug report on PHP.net
on this matter. And yes, my queries DO have results.
Any idea why I get that message ?
I followed example 2332 on PHP.net, but no luck. (http://www.php.net/
manual/en/function.sqlite-num-rows.php)
Im...
|
by: Rob Wilkerson |
last post by:
Hey all -
I'm bumping into an issue with my installation of the MDB2 package
that I'm hoping someone else has seen. I'm trying to execute a query,
but get an "unknown error" exception that I can't seem to track down
(exact message is "MDB2 Error: unknown error").
I have an ObjectDAO class (which I'm creating via a factory) that
extends...
|
by: exclaim |
last post by:
Apologies if this is not the right forum.
I have an application written originally to work with MySQL which now
has to be extended to work with MSSQL also. I have modified all my
database calls to use the PEAR MDB2 methods rather than mysqli.
Everything still works fine with MySQL, but I have an odd problem when I
test against MSSQL.
Any...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
|