RE: [PHP-DB] getting data back when inserting

2004-12-01 Thread Stefan
You should easily use mysql_insert_id(); otherwise you could use something like: SELECT max(id) FROM ... But I think the first command is what you're looking for. Stefan -Ursprüngliche Nachricht- Von: Aaron Todd [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 1. Dezember 2004 17

AW: [PHP-DB] getting data back when inserting

2004-12-01 Thread Stefan
The actual problem was the leading number in some of your arguments (4_h_1, 4_h_2, etc) Stefan -Ursprüngliche Nachricht- Von: Aaron Todd [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 1. Dezember 2004 18:33 An: [EMAIL PROTECTED] Betreff: Re: [PHP-DB] getting data back when

Re: [PHP-DB] About PDO::fetchObject

2015-06-11 Thread Stefan A.
Something like this should get you started ?php // NOT TESTED !!! class SimpleMapper { private $metadata = array(); private $stmt; public function __construct(PDOStatement $stmt, array $metadata) { $this-stmt = $stmt; $this-metadata = $metadata; }

[PHP-DB] unixODBC and Sybase ASE 11.9.2 on a linux box

2001-02-27 Thread Stefan Siefert
about this combination... thx Stefan Siefert -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP-DB] PHP Bug or configuration error?

2001-03-13 Thread Stefan Siefert
Hi Pierre... I think the problem is, that you have configured php as cgi-apliction, and not as an ISAPI module. I'm not sure how to configure PHP this way (cause we run only linux - server, and no IIS..) but this should be the problem. Greetings, Stefan Siefert Hallo listmembers, i have

AW: [PHP-DB] Structure Question

2001-03-27 Thread Stefan Siefert
are able to select over the filetyp criteria!! Stefan Siefert -Ursprngliche Nachricht- Von: Jordan Elver [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 27. Mrz 2001 14:38 An: PHP Database Mailing List Betreff: [PHP-DB] Structure Question Hi, I want to keep filenames of different kinds

AW: [PHP-DB] Connecting and Viewing a Database

2001-03-27 Thread Stefan Siefert
, Stefan Siefert -Ursprngliche Nachricht- Von: Anyangwe, Tanwani [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 27. Mrz 2001 17:49 An: '[EMAIL PROTECTED]' Betreff: [PHP-DB] Connecting and Viewing a Database Does anyone know how to connect and display table rows from an ODBC source MS Access

AW: [PHP-DB] configure with sybase-ct option

2001-04-27 Thread Stefan Siefert
Do you have the sybasect - libraries installed??? You need to have them installed in order to compile PHP succesfully! Also, if you have sybase-ct installed, specify the path with: --with-sybase-ct=/path/to/sybasectlibs Hope this helps, Stefan Siefert -Ursprungliche Nachricht- Von

AW: AW: AW: [PHP-DB] configure with sybase-ct option

2001-04-27 Thread Stefan Siefert
ok let's see take those: ftp://ftp.metalab.unc.edu/pub/Linux/ALPHA/freetds/freetds-0.51.tgz and compile them... in your configure script of php, you enter --with-sybase-ct=/your/freetds/installpath Greetings, Stefan Siefert -Ursprungliche Nachricht- Von: Lester June Cabrera

AW: [PHP-DB] Connection to AS/400.

2001-05-07 Thread Stefan Siefert
). The support is very usefull!! Greetings, Stefan Siefert -Ursprüngliche Nachricht- Von: Nicolas Machado [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 7. Mai 2001 21:36 An: [EMAIL PROTECTED] Betreff: [PHP-DB] Connection to AS/400. OK, I have Linux, Apache and PHP, somebody knows

AW: [PHP-DB] mssql_connect() function not found when I load the page...

2001-06-20 Thread Stefan Siefert
You need to uncomment the mssql.dll (or something called like this) in your php.ini (In the section Windows DLL's). Greetings, Stefan -Ursprüngliche Nachricht- Von: lwneo [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 20. Juni 2001 06:21 An: [EMAIL PROTECTED] Betreff: [PHP-DB

AW: [PHP-DB] newbie: Trying to select a database in php

2001-06-20 Thread Stefan Siefert
Try it with mysql_select_db($database,$connect) instead of msql_select_db($database,$connect) :-) msql is a different Database System (in general, it is a lot older than mysql I think) Stefan -Ursprüngliche Nachricht- Von: Paul Lockyer [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 20

[PHP-DB] mysql_query returns nothing?

2001-07-04 Thread Stefan Siefert
Hm, since we are using PHP 4.0.6 we do get sometimes no returnvalue...(function mysql_query) I think, this is always then, when we are executing update oder delete syntax hm, does anyone know anything about it? Stefan Siefert -- PHP Database Mailing List (http://www.php.net

AW: [PHP-DB] image resizing

2001-07-09 Thread Stefan Siefert
from your php - scripts) (www.imagemagick.org). I think, I have seen several Tutorials to do so (PHP/ImageMagick) but on the fly.. I don't find them in my bookmarks now... Hope this helps, Stefan Siefert -Ursprungliche Nachricht- Von: Adv. Systems Design [mailto:[EMAIL PROTECTED]] Gesendet

AW: [PHP-DB] PHP4-ODBC-MSSQL7

2001-07-10 Thread Stefan Siefert
Hi, I'm not sure about the probeme you have, but if the probleme is based on ODBC, why do use ODBC? You could also use the Sybase-Ct libs.. should work also with MSSQL... Greetings, Stefan -Ursprüngliche Nachricht- Von: Michael Yevdokimov [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag

[PHP-DB] Row order

2001-07-11 Thread Stefan Doverud
. The problem that I encounter is that I lose all the variables from the search when I refresh the document. Is it possible to resend all variables without inserting them in the A-tag ? (like A href=find.php?var1=$var1..) Hopefully someone has a smart solution.. =) regards - Stefan

[PHP-DB] Linux + Apache + freetds + MsSQL 7.0

2001-07-17 Thread Stefan Kisker
) VALUES ('x', 'x', 'x', 'x', 'x', 'm', 'stefan', 'kisker', '...', 'D', '1', 'stadt', 'n') best regards, stefan -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators

[PHP-DB] DB-stored images

2002-11-26 Thread Ohlson Stefan
gt; if ($type == Picture){ print IMG SRC=''\n; } else { print LI$data/LI\n; } } print /UL/body/html\n; ORA_CLOSE($csr); ORA_LOGOFF($handle); ? //Stefan -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] php/mysql problem

2002-12-14 Thread Stefan Windt
i use in the php skript is exactly the same as the one i use for connecting from 'outside'. another strange thing is that the php skript can connect to other mysql-dbs on other servers... is it a config-problem ? i've no idea anymore... Stefan -- PHP Database Mailing List (http://www.php.net

[PHP-DB] Re: passing variables through frames

2003-01-31 Thread Stefan Panayotov
And how does it work? -- Matt [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Nevermind everyone... I found out. Thanks Matt [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Does anyone know how to pass a variable to a

[PHP-DB] BinaryWrite in PHP?

2003-02-12 Thread Ohlson Stefan
Hi! I want to let the user to be able to open or save a textdocument with text that I create on the fly with some select-statements. You know when you click on a button or a link and you get a question if you what to Open the file or or Save it. In ASP I can use Response.BinaryWrite, how can I

[PHP-DB] NotesSQL via ODBC in PHP

2003-02-20 Thread Stefan Haas
Has anybody tried to read/write a Lotus Notes Database via ODBC (NotesSQL)? I don't even get a valid connection with odbc_connect. With other tools (QTODBC) NotesSQL/ODBC is no problem at all. Anything wrong with the php ODBC driver in php 4.2.3 under Win2k? Are ther more reliable ODBC

[PHP-DB] Re: NotesSQL via ODBC in PHP

2003-02-21 Thread Stefan Haas
Stefan Haas [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Has anybody tried to read/write a Lotus Notes Database via ODBC (NotesSQL)? I don't even get a valid connection with odbc_connect. With other tools (QTODBC) NotesSQL/ODBC is no problem at all. Anythi

[PHP-DB] setcookie

2003-09-05 Thread Ohlson Stefan
this it will not save any more items. It seems to get full..? NE1 had experience with this? Or if you have a different and better way to store many items on the server for a user they are most welcome! Thanx! //Stefan -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP-DB] php / xml

2003-11-26 Thread stefan bogdan
hello i'm trying to make a pattern for an economic document using xml ex document id='unique' name='document_1' fixpart field id= 'id' visible='true' name='id' type='numeric' htmltype='textbox' /field filed id='name' visible='true' name='name' type='select' htmltype='select'

[PHP-DB] Fw: informix problem

2004-01-16 Thread stefan bogdan
i have winnt 4.0 servicepack 6 + apache 2.0.47 + php 430 + informix clientfor nt ilogin demo works fine sql editor works fine but when i try to connect to informix via php i'get an error like Warning: ifx_connect(): E [SQLSTATE=S1 001 SQLCODE=-406] i have informix server 2000 installed

Re: [PHP-DB] php-mysql problem

2004-05-13 Thread Stefan Dengscherz
hello, did you load the mysql module in your php.ini configuration file? i.e. is the following line there: extension=mysql.so regards On Thu, 13 May 2004 11:47:41 -0400 Jianping Zhu [EMAIL PROTECTED] wrote: have redhat 9.0 and Server version: Apache/2.0.40. i have installed rpms

[PHP-DB] SQLite problem INSERTing string

2004-09-19 Thread Stefan Reimers
version. If anyone has a clue, please contact me or just answer. Thanks in advance Stefan -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: SQLite problem INSERTing string

2004-09-19 Thread Stefan Reimers
statement in INSERTs, so INSERT INTO table SET attr=val would not work. Thx Stefan -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: Abstraction Layer....

2004-09-19 Thread Stefan Reimers
of RDBMS (e.g. PostgreSQL and Oracle, furthermore ODBC) and is very nice. I worked with it the last four months to write a flexible information system. Some comparisons can be found at: http://php.weblogs.com/Compare_PEAR_DB_ADOdb http://phplens.com/lens/adodb/ Stefan M Saleh Eg wrote: Anyone

[PHP-DB] Re: PHP - FOXPRO

2004-09-21 Thread Stefan Reimers
is connecting to an OLEDB Provider for VFP: http://fox.wikis.com/wc.dll?Wiki~VFP_OleDB_Provider That should get you going. Good luck, Stefan Reimers -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: PostgreSQL

2004-09-29 Thread Stefan Reimers
, I reported it to my successors on the project. Stefan Reimers -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: php_mysql.dll fails to load

2004-10-27 Thread Jose Stefan
It appears as if the php_mysql.dll module has problems loading the libmysql.dll file. Setting the PHP dir to the system path var did NOT work for me. However, these options did: a) copy the bundled libmysql.dll to the windows system32 folder. b) OR, copy the bundled libmysql.dll to apache's BIN

[PHP-DB] Re: php_mysql.dll fails to load

2004-10-27 Thread Jose Stefan
It appears as if the php_mysql.dll module has problems loading the libmysql.dll file. Setting the PHP dir to the system %path% var did NOT work for me. However, these options did: a) copy the bundled libmysql.dll to the windows system32 folder. b) OR, copy the bundled libmysql.dll to apache's

Re: [PHP-DB] Re: [EMAIL PROTECTED] November 2, 2004

2004-11-02 Thread Stefan Reimers
To end up with this discussion: It is a piece of truth that the whole world is curious on what will happen during ( ;-) )and after the voting in the US but as the main part of the world has no effect on the election by using php this posting was obviously misplaced. Worst of all, this posting

[PHP-DB] Re: Newbie Setup Trouble

2005-02-07 Thread Stefan Reimers
=php_mysql and delete the ; in front of it, if present. Stop and start webserver and try again. Alternatively you should install XAMPP or similar which installs Apache, PHP and MySQL at once. This makes life easier for beginners. Stefan Mike Rondeau wrote: Hello, I have just begun study

[PHP-DB] Re: Problem with an update after an insert: MySQL

2005-02-08 Thread Stefan Reimers
It would make things easier if you could determine the error, so try to use mysql_error after all your mysql_queries, not just after the first one. Stefan [EMAIL PROTECTED] wrote: I'm having trouble with having trouble with doing an update after doing an insert on and a select on a table

[PHP-DB] Re: Is there anything non commercial pdf lib to create PDF file from PHP ?

2005-02-10 Thread Stefan Reimers
Try FPDF on http://www.fpdf.org/ Stefan Santoso Berkah wrote: Dear Friends, Is there anything non commercial pdf library (stable release) to create PDF file from PHP except PHPlib.com ? I've browsed this site and it costed Euro 450. Can you help me please ? Best regards, [EMAIL PROTECTED

[PHP-DB] History of MySQL support in PHP

2005-03-19 Thread Stefan Reimers
Hi list, can anyone tell me, when PHP originally started the MySQL support? I downloaded the php 3.0.17 version from php.net and it already supports MySQL. Thx in advance Stefan -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] History of MySQL support in PHP

2005-03-19 Thread Stefan Reimers
The changelog reaches back to the first beta of PHP4 Forest Liu wrote: I think you can check the changelog on www.php.net On Sat, 19 Mar 2005 14:13:44 +0100, Stefan Reimers [EMAIL PROTECTED] wrote: Hi list, can anyone tell me, when PHP originally started the MySQL support? I downloaded the php

Re: [PHP-DB] History of MySQL support in PHP

2005-03-19 Thread Stefan Reimers
Indeed, the book writing is no bad guess, but with slightly different focus than PHP ancestry. But wondering how long mysql is supported is more or less personal interest. Thx to both of you for answering and greetings from Germany to China and California, USA Stefan Reimers ___ Forest Liu

[PHP-DB] class of objects created by mysqli_result-fetch_object

2006-02-04 Thread Stefan Reimers
) unless I wrap the properties of these instances of stdClass to a custom class, right? Is there any way to fetch MYSQL data to a suitable class other than stdClass - suitable in the sense of: the custom class has all properties which are fetched from db. thx Stefan -- PHP Database Mailing List

Re: [PHP-DB] PDO user question

2012-09-09 Thread Stefan Wixfort
Hi Jim I've had some success with querying using pdo and prepared statements as well. One thing that I'm curious about is How does one handle the need to get the number of rows returned by a Select? The documentation is very clear that PDO doesn't return that value for a Select statement