Re: Re: [PHP-DB] Store more than 1 piece of information in a single variable

2007-08-03 Thread juanjo
El mensaje ha llegado correctamente pero... estoy de vacaciones hasta el próximo 20 de Agosto. Atenderé tu correo a la vuelta. Si por el motivo que fuere necesitas ponerte en contacto con ADIMEDIA puedes hacerlo en [EMAIL PROTECTED] o en el Telf. 934 63 57 37. -- PHP Database Mailing List (htt

Re: [PHP-DB] Store more than 1 piece of information in a single variable

2007-08-03 Thread Niel
> First.. You're using mysql_fetch_array when you wanted > mysql_fetch_assoc.. .. select user_id from whatever .. and then $row = > mysql_fetch_array($res) .. youd have a $row[0].. mysql_fetch_assoc > would allow $row['user_id'] mysql_fetch_array($res) will fetch both associative and numerical in

RE: [PHP-DB] Store more than 1 piece of information in a single variable

2007-08-03 Thread Uber Wannabe
(see below) -Original Message- From: Arena Servers [mailto:[EMAIL PROTECTED] Sent: Friday, August 03, 2007 10:44 AM To: php-db@lists.php.net Subject: [PHP-DB] Store more than 1 piece of information in a single variable ok, firstly here's my script... Now, the script's task is to sel

Re: [PHP-DB] Store more than 1 piece of information in a single variable

2007-08-03 Thread Michael Preslar
First.. You're using mysql_fetch_array when you wanted mysql_fetch_assoc.. .. select user_id from whatever .. and then $row = mysql_fetch_array($res) .. youd have a $row[0].. mysql_fetch_assoc would allow $row['user_id'] Secondly.. You can use one query to select all the info.. select e107.user_i

Re: [PHP-DB] Store $_SESSION in MySQL table

2005-02-11 Thread Martin Norland
[EMAIL PROTECTED] wrote: Greetings all. While trying to create a session-based advertising model that does not rely on the existence of cookies, I ran into trouble: I can't figure out how to place the entire $_SESSION array into a MySQL table row, then retrieve it and use the information from on

RE: [PHP-DB] Store $_SESSION in MySQL table

2005-02-11 Thread Bastien Koert
serialize the array before insertion and unserliaze it when you retreive it from the db bastien From: [EMAIL PROTECTED] To: php-db@lists.php.net (PHP) Subject: [PHP-DB] Store $_SESSION in MySQL table Date: Fri, 11 Feb 2005 17:25:34 + Greetings all. While trying to create a session-based adver

Re: [PHP-DB] Store a File (any type) in MySQL

2004-03-24 Thread Ricardo Lopes
olving a problem is right if it is used in the right situation. - Original Message - From: "Daniel Crespo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 23, 2004 4:24 AM Subject: Re: [PHP-DB] Store a File (any type) in MySQL > Ok, I'll consid

Re: [PHP-DB] Store a File (any type) in MySQL

2004-03-22 Thread Daniel Crespo
Ok, I'll consider it... But just, please, could you give me an example code of what I want to do? Thanks a lot. "Bruno Santos" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > Daniel Crespo wrote: > > >Hi everybody... > > > >Anyone knows how to store a file (any type) in MySQL?

Re: [PHP-DB] Store a File (any type) in MySQL

2004-03-21 Thread Bruno Santos
Daniel Crespo wrote: Hi everybody... Anyone knows how to store a file (any type) in MySQL? Thanks hello MySql has binary field types, but, are they long (in size) enough for your file ? if the file is small, i guess you could store the data in the mysql field, but, and if files are user c

RE: [PHP-DB] store whois requests

2003-09-16 Thread Ryan Marks
This is some code I already use... you may wish to change the way you retrieve you whois data. Ryan Whois Hostname: $host"; //backwards tick marks will run this command on the server and echo's it out to the screen echo `whois $host`; echo ""; //get the tim

RE: [PHP-DB] Store

2003-03-06 Thread Aaron Wolski
Mine :) Aaron -Original Message- From: Marie Osypian [mailto:[EMAIL PROTECTED] Sent: March 6, 2003 2:53 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Store I was wondering if anyone was using a good store that was open sourced in php. Marie O -- PHP Database Mailing List (http://www.p

RE: [PHP-DB] store an array in a mysqldb

2001-08-31 Thread Peter J. Krawetzky
If you are setting up a true relational database, arrays would be stored in a seperate table with a unique key. Each part of the array would be a seperate row. This is called normalization. If you are doing it for fun, then you could place some type of seperator (like a comma, semicolon, etc) b

Re: [PHP-DB] store an array in a mysqldb

2001-08-30 Thread Justin Buist
Nothing comes to mind that isn't a bit of a "hack" really. You could try seperating the data with delimiters before putting it in, then splitting the data back up into an array at query time. You could setup some tables, one called 'arrays' and one called 'array_values". Arrays would pretty muc

RE: [PHP-DB] Store Procedures

2001-08-24 Thread tony . mccrory
08/23/2001 Subject: RE: [PHP-DB] Store Procedures

RE: [PHP-DB] Store Procedures

2001-08-23 Thread Rick Emery
no -Original Message- From: Francisco Carvalho [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 23, 2001 4:20 PM To: '[EMAIL PROTECTED]' Subject: [PHP-DB] Store Procedures Newbie question. I've been developing web application in IIS using ASP and Microsoft SQL Server 7.0. I use "Sto