[PHP-DB] SQLite?

2004-02-03 Thread alain
Is it a good place to ask questions about SQLite? I'm going to test it with PHP5. Anybody here has done it? Alain -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] multiple fields all unique?

2004-02-03 Thread John W. Holmes
Jas wrote: John W. Holmes wrote: From: "Jason Gerfen" <[EMAIL PROTECTED]> Yeah, I have never used a unique field for the database, and you are right it is a mysql db. Now is a good time to do it the right way, then... Yes definately, I am trying to convert my exisiting fields to a unique type an

[PHP-DB] connection problem??

2004-02-03 Thread Michael G. Tracey
I'm using an example from a book [see below]... First I was getting: "0:0" as the result. I dropped the complete Mysql 4.1.1 backup into my directory. Ran code below as phpconn.php Now keep getting the error below... Any ideas??? "Not connected : Client does not support auth

[PHP-DB] Not having mysql_close() ... is that a big problem ???

2004-02-03 Thread -{ Rene Brehmer }-
hi gang simple question really (for once): I've written a forum system ... most of it (still lack the edit and perms things, but otherwise it's fully working), over the past 4-5 days ... but I've noticed that on some of the scripts I've forgotten the mysql_close () will that cause any prote

Re: [PHP-DB] multiple fields all unique?

2004-02-03 Thread Jas
John W. Holmes wrote: From: "Jason Gerfen" <[EMAIL PROTECTED]> Yeah, I have never used a unique field for the database, and you are right it is a mysql db. Now is a good time to do it the right way, then... ---John Holmes... Yes definately, I am trying to convert my exisiting fields to a uniqu

Re: [PHP-DB] multiple fields all unique?

2004-02-03 Thread John W. Holmes
From: "Jason Gerfen" <[EMAIL PROTECTED]> > Yeah, I have never used a unique field for the database, and you are > right it is a mysql db. Now is a good time to do it the right way, then... ---John Holmes... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

Re: [PHP-DB] multiple fields all unique?

2004-02-03 Thread Jason Gerfen
John W. Holmes wrote: From: "Jas" <[EMAIL PROTECTED]> Has anyone every performed such a feat as to check for matching fields before updating? And if so could you show me some code that used to accomplish this. I have written my own but the if - else statements are getting ridiculous. Ar

Re: [PHP-DB] Problema con MySQL

2004-02-03 Thread Juan Ringhetti
Marco, veo lo siguiente: estás utilizando la sentencia db_connect() en lugar de mysql_connect("parametros de conexion") y está faltándote mysql_select_db(base, link); para seleccionar la base de datos que tiene la tabla articulo_boletin. el resto parece estar todo 10 puntos. Saludos Juan Lic.

Re: [PHP-DB] multiple fields all unique?

2004-02-03 Thread John W. Holmes
From: "Jas" <[EMAIL PROTECTED]> > Has anyone every performed such a feat as to check for matching fields > before updating? And if so could you show me some code that used to > accomplish this. I have written my own but the if - else statements are > getting ridiculous. Are the columns actually

[PHP-DB] multiple fields all unique?

2004-02-03 Thread Jas
I am running into a problem and I have yet to find an elegant solution for it. I have three fields in a database that cannot have duplicates of these particular fields. +--+---++ | hostname | mac | ip | +--+--

[PHP-DB] English Translation of "Problema con MySQL

2004-02-03 Thread Rizwan Rizvi
Hi everyone, I am translating what Marco says in his email: === Hola Marco, Con tu permisión estoy traduciendo al ingles lo que dices en tu email. Rizwan. === Good morning everyone: I hope some of you speak Spanish and can help me to find out what is wrong

RE: [PHP-DB] Problema con MySQL

2004-02-03 Thread Rolf van de Krol
Hi Marco, Please use ENGLISH. This mailinglist is english. Rolf -Oorspronkelijk bericht- Van: Marco A. Ortiz [mailto:[EMAIL PROTECTED] Verzonden: zaterdag 31 januari 2004 16:45 Aan: [EMAIL PROTECTED]; [EMAIL PROTECTED] Onderwerp: RE: [PHP-DB] Problema con MySQL Buenos días a todos: Es

[PHP-DB] table values

2004-02-03 Thread JeRRy
Hi, I am running a bouncing script for bounced emails that updated to a database. What I want to do is have 3 bounces before dis-allowing emails to be sent to that user. So I have the following tables in my db: - Username Username of the user - Email Users Email Address - email_setting If set t