RE: [PHP-DB] transaction locking

2003-12-08 Thread Angelo Zanetti
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

RE: [PHP-DB] HELP!

2003-12-08 Thread Angelo Zanetti
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

[PHP-DB] help newbie

2003-12-08 Thread Hadi
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);

[PHP-DB] Re: Web counter question..

2003-12-08 Thread J.Veenhuijsen
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

Re: [PHP-DB] help newbie

2003-12-08 Thread Tim Nilimaa
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

Re: [PHP-DB] help newbie

2003-12-08 Thread roy.a.jones
Return Receipt Your Re: [PHP-DB] help newbie document :

[PHP-DB] graphics question

2003-12-08 Thread redhat
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

[PHP-DB] mysql + php

2003-12-08 Thread Will Contact
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

RE: [PHP-DB] mysql + php

2003-12-08 Thread Ryan Jameson (USA)
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

Re: [PHP-DB] mysql + php

2003-12-08 Thread CPT John W. Holmes
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

[PHP-DB] Transfering large mysql database

2003-12-08 Thread Harlan Lax
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

[PHP-DB] Re: Transfering large mysql database

2003-12-08 Thread Justin Patrin
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

RE: [PHP-DB] Decent Search Engine (for MySQL)

2003-12-08 Thread Gavin Amm
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,

Re: [PHP-DB] Decent Search Engine (for MySQL)

2003-12-08 Thread Justin Patrin
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

[PHP-DB] Re: Transfering large mysql database

2003-12-08 Thread Manuel Lemos
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.