[PHP] PHP Netobjects Fusion problem

2005-03-26 Thread Johan van Zyl
Hi All
This code:




First Name
Last Name


";
echo "";
echo $row["FIRST_NAME"];
echo "";
echo "";
echo $row["LAST_NAME"];
echo "";
echo "";
}
echo "";
ibase_free_result($result);
}
?>

gives me this error:
Connected to: 10.0.0.3:employee.fdb
First Name Last Name

Fatal error: Call to undefined function: ibase_fetch_assoc() in
/home/e-smith/files/ibays/Primary/html/html/untitled17.php on line 209

How do I slove this?
Thx




Johan van Zyl
JVZ Systems CC/realcorp.net
Customised Software
http://www.jvz.co.za
[EMAIL PROTECTED]
021 851 7205
082 875 4238



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.1 - Release Date: 2005/03/23


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] RE: [firebird-php] auto increment last insert

2004-11-24 Thread Johan van Zyl
Hi
Thx Helen for another non-hostile, and as usual, very informative response!
We newbie's are having a though time, well at least in THIS forum! At least
I am!
You (me) apparently have to RTFM or FO

And thx to all the other POSITIVE responses I have had!
It is REALLY appreciated. It is not easy being a PHP newbie!
If I am supposed to study ALL manuals in great detail before I am allowed to
ask a question here.?

Greetings


JVZ
  -Original Message-
  From: Helen Borrie [mailto:[EMAIL PROTECTED]
  Sent: 25 November 2004 00:23
  To: [EMAIL PROTECTED]
  Subject: RE: [firebird-php] auto increment last insert


  At 09:01 AM 25/11/2004 +1100, you wrote:

  >I've just arrived in the office - did this thread get completed?
  >Is the original poster satisfied with the information?
  >
  >Basically, a set-by-step approach to replacing MySQL's autoinc, without
  >procedures, triggers, and trying to get the value after the insert(could
be
  >inaccurate if the generator's been used since the insert...)
  >
  >This example will use the following simple table:
  >CREATE TABLE tbl_test (
  >   int_ID NUMERIC(18,0) NOT NULL,
  >   str_name VARCHAR(100),
  >PRIMARY KEY(int_ID)
  >);
  >/* This is the generator for the tbl_test table */
  >CREATE GENERATOR gen_tbl_test;

  For safety, you should also create a trigger, in case the database is used
  by other applications at some point:

  CREATE TRIGGER BI_tbl_test for tbl_test
  ACTIVE BEFORE INSERT
  AS
  BEGIN
 IF (new.int_ID IS NULL) THEN
   new.int_ID = GEN_ID(gen_tbl_test, 1);
  END ^




Yahoo! Groups Sponsor

Get unlimited calls to

U.S./Canada





--
  Yahoo! Groups Links

a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/firebird-php/

b.. To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.799 / Virus Database: 543 - Release Date: 2004/11/19


[PHP] mail() problem

2004-11-24 Thread Johan van Zyl
Hi All
I use sample code from PHPFreaks i.e.

mail($email_address, $subject, $message, "From: realcorp.net
Webmaster<[EMAIL PROTECTED]>\nX-Mailer: PHP/" . phpversion());

When the e-mail address is [EMAIL PROTECTED] (hosted by my telco/isp) it
works.
When I try [EMAIL PROTECTED] (via godaddy) it does not?

If I send e-mails to those two addresses, using Outlook, they both work?

Please feel free to try and register here.
http://realwebonline.myftp.org/mc/register.php
so that I can see if it works with other e-mail addresses.

I did look this up in the manual - but I am still baffled.

Thx
============
Johan van Zyl
JVZ Systems CC
Box 3469
Somerset West
7129
[EMAIL PROTECTED]
http://www.jvz.co.za
+27 (0)82 875 4238
+27 (0)21 851 7205
Fax 088 021 852 2387


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.799 / Virus Database: 543 - Release Date: 2004/11/19

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP & Affiliate & Login

2004-11-20 Thread Johan van Zyl
Hi
How difficult would it be to write Affiliate software, using PHP,
Dreamweaver & FireBird hosted on Linux(SME)
like
http://www.myreferer.com/content/en/order.shtml
It does not have to be that sophisticated, I would just like to know who
visited my page and where were they directed from.

Also, have you got any sample code for this scenario:
People accessing this URL must get a screen where they can either with a
login and password gain access to other pages, or they can register. When
they click register, they must supply a login name and their e-mail address.
This will then trigger a SP in firebird that will generate a password and
e-mail it back to them. They can now login with this password and must be
able to change their password.

Thx

====
Johan van Zyl
JVZ Systems CC
Box 3469
Somerset West
7129
[EMAIL PROTECTED]
http://www.jvz.co.za
+27 (0)82 875 4238
+27 (0)21 851 7205
Fax 088 021 852 2387


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.799 / Virus Database: 543 - Release Date: 2004/11/19

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php