[PHP-DB] preg_replace and database

2005-02-19 Thread Özgür Odabasi
hi all, I have trouble with preg_replace and querying database, my code is below, function getImgAttributes($id){ $dsn = array( 'phptype' => "mysql", 'hostspec' => "localhost", 'database' => "db", 'username' => "root", 'password' => "pass" ); $myDbc = DB::connect($dsn);

RE: [PHP-DB] Re: Mail question

2005-02-19 Thread Bastien Koert
also have a look at phpmailer class. on http://sourceforge.net bastien From: Manuel Lemos <[EMAIL PROTECTED]> To: ReClMaples <[EMAIL PROTECTED]> CC: PHP Subject: [PHP-DB] Re: Mail question Date: Sat, 19 Feb 2005 16:48:44 -0200 Hello, on 02/14/2005 04:12 PM ReClMaples said the following: I have a

[PHP-DB] preg_replace and database

2005-02-19 Thread Özgür Odabasi
hi all, I have trouble with preg_replace and querying database, my code is below, function getImgAttributes($id){ $dsn = array( 'phptype' => "mysql", 'hostspec' => "localhost", 'database' => "db", 'username' => "root", 'passw

[PHP-DB] calling pic through database

2005-02-19 Thread it clown
Hi All, Im wanting to retrieve pictures where their names are stored in a database. When i select the name ball it must retrieve a picture of a football. Does anyone know where i can find something to get me into the right direction?I have not done something like that before and i dont know where

[PHP-DB] Re: Mail question

2005-02-19 Thread Manuel Lemos
Hello, on 02/14/2005 04:12 PM ReClMaples said the following: I have a quick, probably easy to answer question. I am trying to add the ability to email from like a quest book or a calendar event and get an authentication error in my error log. I can only believe that this is due to my smtp server

Re: [PHP-DB] Re: checkbox into mysql using php

2005-02-19 Thread moses Woldeselassie
Thank you. It works fine with one column, when i use the following syntax: insert into interest(username) values($game_name); but is it possible to use it with more than one columns: for example if a user (david) has selected football and hockey: username | football| soccer| hockey