[PHP-DB] Objects in dbm db

2001-10-20 Thread Jesse Goerz
I'm trying to store an array of objects in a dbm database. Here's what I'm using: function build_preliminary_language_index($lang, $db, $key) { $dbh = dbmopen("$db", "c") or die("Error opening db"); $article_string = dbmfetch($dbh, "articles"); $article_array = unserialize($article_stri

Re: [PHP-DB] connecting to msql... easy question!

2001-10-20 Thread Raquel Rice
On Sat, 20 Oct 2001 09:16:26 -0400 David Bedingfield <[EMAIL PROTECTED]> wrote: > ...still no luck with this... any help? > > David Bedingfield wrote: > > > With a basic php document, I am trying to create a table. I have a good > > code for the table (I think) but I cannot connect to the SQL s

[PHP-DB] Re: autoloading of session variables from mysql fields

2001-10-20 Thread John Lim
Hi Mike, You will get better performance if you store the row as one session variable (an associative array), rather than one session variable per row element. You can get the associative array using mysql_fetch_array($rs,MYSQL_ASSOC) i believe. Regards, John <[EMAIL PROTECTED]> wrote in messa

[PHP-DB] Upgrade problems php3 - php4

2001-10-20 Thread sgibbs
Our ISP is trying to upgrade php and mysql versions on our website. The current site works fine using MySQL 3.22.20a and PHP3. We are able to upload, modify and create new database records with no problem using webforms to enter test and html. Now that we are trying to upgrade to MySQL 3.23.36

Re: [PHP-DB] PHP and Oracle

2001-10-20 Thread DL Neil
> Just a cosmetic question really. Why are the three links I have put in at > the bottom of the script appearing at the top on the WEb page, just beneath > the comp sci banner. How do I get them to appear beneath the table? Georgina, It may look "cosmetic" but a browser's job is to display mar

Re: [PHP-DB] connecting to msql... easy question!

2001-10-20 Thread p.whiter
Hi Well you should have the server name from your host, *usually* 'localhost', a typical connection for me is below: $connection = mysql_connect("localhost","username","password") or die("Couldn't Connect"); HTH Paul - Original Message - From: "David Bedingfield" <[EMAIL PROTECTED]> To:

[PHP-DB] PHP and Oracle

2001-10-20 Thread GEORGINA ELAINE BAILEY
I want to keep my project number unique. So how would I say (in PHP) that script should do insert if project number is unique, but should print out a message if not, and where abouts in the script would I put it? Georgina Project Database - Project Details "; exit;

[PHP-DB] connecting to msql... easy question!

2001-10-20 Thread David Bedingfield
...still no luck with this... any help? David Bedingfield wrote: > With a basic php document, I am trying to create a table. I have a good > code for the table (I think) but I cannot connect to the SQL server. I > have the SQL server name, SQL username, SQL password, and SQL database > name. I h

[PHP-DB] PHP and Oracle

2001-10-20 Thread GEORGINA ELAINE BAILEY
Just a cosmetic question really. Why are the three links I have put in at the bottom of the script appearing at the top on the WEb page, just beneath the comp sci banner. How do I get them to appear beneath the table? Georgina Project Database - Search Results "; echo "ORIGINATO

[PHP-DB] https

2001-10-20 Thread J-E-N
hello, how can i switch from http to https without typing the whole url? thanks

[PHP-DB] autoloading of session variables from mysql fields

2001-10-20 Thread jacksonm
Hi, I am trying to write a function that will: - take a list of mysql tables as an array ($sqltables) - take a unique row identifier common to all tables ($rid) - iterate through the $sqltables array and fetch the row for each table where rid = $rid - discover the names of the fields in each

Re: [PHP-DB] Check Boxes!

2001-10-20 Thread p.whiter
Try removing the parenthesis from your update sql query $sql = "UPDATE vacancies SET AuthStatus='1' WHERE JobID = '$JobID'"; HTH Paul - Original Message - From: "Matt C" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, October 20, 2001 12:43 AM Subject: [PHP-DB] Check