Hi ALek,
Yes you can make the column auto_increment. YOu can also make the
incrementations start at a particular value by using the ALTER command. EG:
ALTER TABLE mytable AUTO_INCREMENT = 99;
it will start your next inserted record with 99 for that specific column
value. I am not 100% sure
your post is abit vague, give more details or code then we can try help. Its
kinda like you saying, help my car wont go.
-Original Message-
From: Akmal [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 06, 2003 5:43 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] HELP!
I'm trying to create
Hi , please help this newbie , how to make my database view from
[1] [2] [3] [4] [5] [6] [7] [8]
to
1 2 34
Thanks very much
Hadi
require(cobaconfig.php);
$numresult = mysql_query(select * from dataiklanbaris order by id desc);
$jumlah = mysql_num_rows($numresult);
Try :
?
session_start();
if ( ! isset($_SESSION['count']) )
{
$fp=fopen(./counter.txt,r);
$_SESSION['count']=fread($fp,5);
fclose($fp);
$_SESSION['count']++;
$cnt=$_SESSION['count'];
$fp=fopen(./counter.txt,w);
fwrite($fp,$cnt);
fclose($fp);
}
$c= $_SESSION['count'];
print You are
Hadi wrote:
Hi , please help this newbie , how to make my database view from
[1] [2] [3] [4] [5] [6] [7] [8]
to
1 2 34
Thanks very much
Hadi
***removed code***
You could convert the array into a string but why would you like to do
that?
Not a good way but a possible way
Return Receipt
Your Re: [PHP-DB] help newbie
document
:
I am working on a Fedora-installed (linux) server with PHP 4.3.3
configured with ('./configure' '--enable-pic' '--with-freetype-dir=/usr'
'--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-gdbm'
'--with-jpeg-dir=/usr' '--with-png' '--enable-magic-quotes') plus a lot
more that I
hi!
I am first question of php in this news group. I would like to ask my
question about
php + mysql. Now I am programming php+mysql. I put word, excel, mpeg and
any binaries into
the mySQL database using php on linux server,But I can take out these binay
from mySQL
James,
The consensus of developers here seems to have been not to store binary objects in the
database. Rather store them in the file system and simply store reference records in
the database. It is much easier this way. If doing it differently is not an option
for you
From: "Will Contact" [EMAIL PROTECTED]
Now I am programming php+mysql. I put word, excel, mpeg and
any binaries into
the mySQL database using php on linux server,But I can take out these
binay
from mySQL database. I would like to see the files and save my pc from
Does anyone have a recomendation on an app that will help me transfer a
large table from one host provider to another. I have tried phpmyadmin but
if I export to SQL the import doesn't seem to work. If I export to csv I
lose the column formating.
On one host I have access to the root and on the
Harlan Lax wrote:
Does anyone have a recomendation on an app that will help me transfer a
large table from one host provider to another. I have tried phpmyadmin but
if I export to SQL the import doesn't seem to work. If I export to csv I
lose the column formating.
On one host I have access to
Shall I resign myself to using a search with like %var%?
Are there no other better methods?
Maybe REGEXP has something to offer?
-Original Message-
From: Gavin Amm
Sent: Thursday, 27 November 2003 4:00 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Decent Search Engine (for MySQL)
Hi All,
Gavin Amm wrote:
Shall I resign myself to using a search with like %var%?
Are there no other better methods?
Maybe REGEXP has something to offer?
-Original Message-
From: Gavin Amm
Sent: Thursday, 27 November 2003 4:00 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Decent Search Engine (for
Hello,
On 12/08/2003 10:08 PM, Harlan Lax wrote:
Does anyone have a recomendation on an app that will help me transfer a
large table from one host provider to another. I have tried phpmyadmin but
if I export to SQL the import doesn't seem to work. If I export to csv I
lose the column formating.
15 matches
Mail list logo