If I have the right-end of the stick then this is what you want:
$dropdown = "
--choose one--";
while($row = mysql_fetch_array($result)) {
$var = $row['yourcolumn'];
$dropdown .= "$var";
}//end while loop
$dropdown .= "";
Just replace the name of the column 'yourcolumn' and
I tried to configure PHP4.0.2 with sybase-ct support. But I got this error
when running "make install"
In file included from internal_functions.c:33:
/export/home/lester/php-4.0.2/ext/sybase_ct/php_sybase_ct.h:58: ctpublic.h:
No such file or directory
I used the following commands:
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: Lest
You mean I need to install the sybase-ct libraries before I configure PHP?
Where can I get them?
Thanks,
Lester
At 10:58 AM 4/27/01 +0200, Stefan Siefert wrote:
>Do you have the sybasect - libraries installed??? You need to have them
>installed in order to compile PHP succesfully!
>Also, if yo
Normaly, they are shipped with the database, you try to connect to... but if
you don't have them you could get them from:
www.php.net/extra/ctlib-linux-elf.tar.gz
Stefan Siefert
-Ursprungliche Nachricht-
Von: Lester June Cabrera [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 27. April 200
OK. But we're running on Solaris.
At 11:11 AM 4/27/01 +0200, Stefan Siefert wrote:
>Normaly, they are shipped with the database, you try to connect to... but if
>you don't have them you could get them from:
>www.php.net/extra/ctlib-linux-elf.tar.gz
>
>Stefan Siefert
>
>-Ursprungliche Nachri
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 [ma
I believe the name of the file is php_oci73.dll, but I've been unable to
find an address to download from.
--
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
HI,
assign another para. and set it up like this
$somepara. = addslashes($line);
than "insert into trivia(trivia) values ('$line');
that will work
Kelvin.
"Jack Dempsey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> http://www.php.net/a
Hi,
Use this:
$query="describe TableName";
$result=mysql_query($query) or die (mysql_error());
This is one good way to prevent update or delete or mass up the table
without known.
Kelvin.
""~BD~"" <[EMAIL PROTECTED]> wrote in message
02a601c0ced3$34cdd5a0$22041dd8@winbox">news:02a60
Hi
Sample,
$link = mysql_pconnect("localhost","login","pass") or die(mysql_error);
if ($link && mysql_select_db("DBname"))
{
return($link)
}
Than.your Query here.
Kelvin.
""hansol"" <[EMAIL PROTECTED]> wrote in message
9c8n9j$vcs$[EMAIL PROTECTED]">news:9c8n9j$vcs$[EMAIL PROTE
Hi,
This is a small example to connect the Database.
and save as "dedb.inc"
And Then, in your php. file Before you start any statement or query. put
this on first.
OK...
Kelvin.
""James McLaughlin"" <[EMAIL PROTECTED]> wrote in message
000801c0ce20$9ab1e900$[EMAIL PROTECTED]">news:000801c
Hi Kancha,
Try this one.
$to=trim($staff[$x]);
Kelvin.
"kancha" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hi all
>
> I have a text file with email addresses. Each line contains one email
> address. I read the file using file() function. Below i
I've had no great joy in getting PHP4 to connect to Oracle using native
drivers. Can anybody point me in the direction of php_odbc.dll and,
ideally, instructions for getting connected via ODBC? If necessary, we
could live with using PHP3, if this is easier.
David Harbud
Chase Information Te
Hi,
I´m using Oracle 7 + PHP4 + NT with OCI functions, without ODBC. It works
fine and it works faster.
Use the OCI functions (see the html help) with the TNS like it is in your
tnsnames.ora file (C:\ORAWIN\NETWORK\ADMIN\TNSNAMES.ORA):
Bye
Carlos
> - Mensagem original -
> De:
Hi,
Where can I find the MsSQL DB-Libraries?
Schajee
Hi All,
I've noticed that IBM is making its DB2 database available
for Linux platforms. Does anyone know if there will be PHP
support for it?
Thank you,
Mike Wright
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EM
ODBC access to DB/2 works just fine via PHP.
For a HOWTO on enabling ODBC in PHP, see www.iodbc.org.
Best regards,
Andrew
--
Andrew Hill - OpenLink Software
Director Technology Evangelism
Universal Data Access Integration
http://www.openlinksw.com
> -Orig
I'm having a spot of trouble getting the php-mysql-4.0.1pl2-9.i386.rpm package to
install.
Its a Redhat 7.0 installation with MySQL 3.23.36-1 installed.
I'm currently using MySQL with ICRADIUS0.17b so I know that MySQL is installed and
working yet I get:
rpm -i php-mysql-4.0.1pl2-9.i386.rpm
19 matches
Mail list logo