I am trying to use a program written in PHP but connect to an Oracle
database.
We have a function as follows:
function dbconnect($db, $username, $password)
{
global $siteadmin;
global $db;
// $bob = @mysql_connect($db, $username, $password);
/function.error-log.php
You can stop individual warnings and messages by putting a @ in front of
them.
Janet
--
Janet Valade -- janet.valade.com
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the installer, you need to
download the zip file which contains these files. Copy both files into
your System32 directory.
Janet
I would appreciate if you could help me in any way, including pointing me to resources that can help get going.
Thank you,
Masud
may have to change the
order of your string, as well as add spaces. Check the manual at
http://us4.php.net/strtotime. IF the database value is in some kind of
MySQL date format, you can perhaps retrieve it as a timestamp. MySQL has
several DATE formats and date/time functions.
Janet
--
Janet
the error message by checking whether
the array element exists before using it (e.g., isset($_POST['op'])). Or
you can just suppress the error message by putting a @ in front of the
variable name.
Janet
--
Janet Valade -- janet.valade.com
--
PHP Database Mailing List (http://www.php.net
)
include(config.php);
Is $auth a session variable? If so, is register_globals turned on? If not,
you should probably be using $_SESSION['auth'].
Janet
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
offtime
Wild cards are used more for things like:
SELECT * FROM offtime WHERE type LIKE 'tp%'
You can also do pattern matching with regular
expressions using REGEXP
Janet
--
Janet Valade
author, PHP and MySQL for Dummies
--
PHP Database Mailing List (http://www.php.net
one row from the database,
you can use the extract statement in a loop and process
each row.
Janet
Janet Valade
Author, PHP MySQL for Dummies
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
If you have a form on your confirm page, with no text fields, just the
submit button, you can use hidden fields in the form to pass the variables
on.
input type=hidden name=var1 value=$var1
--Janet
- Original Message -
From: Kim Kohen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent
it with the variables passed to each page or is there a
simpler way of doing it. Can I put the variable in an include file and
include it in every page - will that work?.
Surely someone must have had a similar situation before and can tell me how
they solved it.
Many thanks
Janet
--
PHP Database
with the same login name so that the same login name
could get entered twice? Seems unlikely that this would happen by accident,
but is this something a hacker could do on purpose?
Thanks,
Janet
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
$result = mysql_query(select distinct country from search);
Janet
- Original Message -
From: Chris Payne [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 16, 2002 1:29 PM
Subject: [PHP-DB] Unique Results?
Hi there everyone,
(Sorry if you got this twice, I don't think
12 matches
Mail list logo