Have a 'look' at the object that is getting returned.
Insert 'asdf($obj_name);' as shown below and also put this script in your code.
function asdf($object, $where=false)
// Used for debugging. Reason for odd name is easy to type but also easy to
find in code to get rid of
{
$type = gettype($o
Hi.
In addition to Luis's comment, freshly installed WINDOWS XP Professional
machines default the installation directory to C:\WINDOWS.
Cheers.
O.J.
- Original Message -
From: "Luis Moreira" <[EMAIL PROTECTED]>
To: "Stephen Cassidy" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wedn
Ok .. I figured it out now guys. Sorry for the hassle.
returning the object is fine, but if you don't assign another variable
with it after the function call it doesn't presist.
So what I did was (after the function declaration in the code):
if ($_GET['item']) $newitem = show_item($_GET['item']
Thanks for the answers so far guys ... the thing that puzzles me is
that the query definately works fine, because if I do this:
---
function show_item($item) {
$sublvl = $_GET['sub'];
$qry_item = query("select ITMLIST.*, GRPLIST.NAME AS SUBNAME from
ITMLIST, GRPLIST where ITMLIST.IT
I'm guessing your ibase_fetch_object($qry_result) call does not
successfully retrieve any data. It then returns false and your calling
script does nothing if false is returned.
At 09:32 PM 30/06/2004, you wrote:
Hi lads,
I'm just tinkering around in PHP again recently, I haven't done much
OO in
Hi All,
I am testing the PHP - JAVA Integration. I am using Windows 2000
Server with SP4, IIS 5.5 and PHP 4.3.4 and Java 1.4.1. The Java works
with PHP. I am able to test the Java class Java.lang.system
Now I want to test with one of my class files. When I did the
following
$publ = new Jav
Hi,
I am having this strange session related problem. Basically I am starting
a session on a succesful login and forwarding them to a page using:
This works fine and they can naviagate around a bit. But when they return
to a few of the pages for some reason the session appears to be terminat
Anyone happen to have any idea? I currently kicked out DOMXML for XSLT
transforms, someting I don't prefer because the XSLT library (libxsl)
is faster then Sablotron.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ragnar wrote:
Hi lads,
I'm just tinkering around in PHP again recently, I haven't done much
OO in general, so I wasn't too surpised when some of the stuff I did
today didn't work.
Example:
(DB abstraction):
function data($qry_result){
if ($qry_result){
return ibase_fetch_object($qry_result);
}
Hi lads,
I'm just tinkering around in PHP again recently, I haven't done much
OO in general, so I wasn't too surpised when some of the stuff I did
today didn't work.
Example:
(DB abstraction):
function data($qry_result){
if ($qry_result){
return ibase_fetch_object($qry_result);
}
}
(I
Stephen Cassidy wrote:
Hi all, I am fairly new to this (attended a beginners course last week) and
I have been asked to install PHP on or 4 web servers (spread over 4 sites),
all the servers are exactly the same running Windows XP and IIS 5.
I downloaded the latest PHP 4.3.7 and managed to install
Hi all, I am fairly new to this (attended a beginners course last week) and
I have been asked to install PHP on or 4 web servers (spread over 4 sites),
all the servers are exactly the same running Windows XP and IIS 5.
I downloaded the latest PHP 4.3.7 and managed to install it perfectly on 3
of t
12 matches
Mail list logo