Hi
Format of included files is the same as original .php file.:)
When you include .php file it is the same as you copy that file in your main
.php file in that place.
This is my first time programming with PHP. I have seen include files in
the beginning of a php block and wonder is there a
If I have the right-end of the stick then this is what you want:
$dropdown =
form method=\post\ action=\somescript.php\
select name=\yourselect\
option value=\selected\--choose one--/option;
while($row = mysql_fetch_array($result)) {
$var = $row['yourcolumn'];
$dropdown .= option
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:
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
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
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]...
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
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 PROTECTED]...
This
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 is a
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
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):
?php
putenv(ORACLE_SID=sidname);
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:
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
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
you need to use the addslashes() command which will escape the quote mark
for you, so something like
$query=insert into trivia (trivia) values (' . addslashes($line) . ');
however, you will find that on a machine which is configured with
magic_quotes_gpc turned on, you will end up with
Hi All,
I created a table using the create command.
create table trivia
(
entry_id integer not null auto_increment,
trivia text null
);
Now I have a fle tvia.txt, the content of which are as follows:
The average person's left hand does 56% of the typing.
The longest one-syllable
http://www.php.net/addslashes
-jack
Subodh Gupta wrote:
Hi All,
I created a table using the create command.
create table trivia
(
entry_id integer not null auto_increment,
trivia text null
);
Now I have a fle tvia.txt, the content of which are as follows:
The
19 matches
Mail list logo