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
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
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
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
> 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
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:
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;
...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
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
hello,
how can i switch from http to https without typing the whole url?
thanks
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
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
12 matches
Mail list logo