[PHP-DB] supporting multiple databases...

2005-01-30 Thread Paul Chvostek
of SELECTs and even the db connect functions called from config variables. This seems elegant on the surface, but make for highly obtuse code. Is there a preferred method of handling this issue, or does everybody just roll their own? -- Paul Chvostek

[PHP-DB] Serve images from files, or db?

2002-12-31 Thread Paul Chvostek
n the collection. What should I be considering when coming up with a strategy for these two projects? What are the strengths and weaknesses of storing files in a BLOB versus storing pointers to those files? Thanks. :) -- Paul Chvostek <[EMAIL PROTE

Re: [PHP-DB] how to grab data from a webpage into my database?

2003-01-11 Thread Paul Chvostek
ke CGI::Lite et al. Do a search at CPAN. I haven't heard of a method for doing this sort of HTML post-processing in PHP. If someone else has, I'd love to know more about it. -- Paul Chvostek <[EMAIL PROTECTED]> Operations /

[PHP-DB] dates and updates recommendation?

2003-01-26 Thread Paul Chvostek
table in the future, are there gotchas I should be aware of with any particular field types? Thanks. :) -- Paul Chvostek <[EMAIL PROTECTED]> Operations / Abuse / Whatever it.canada, hosting and development http://ww

Re: [PHP-DB] Find and replace in a string

2003-01-26 Thread Paul Chvostek
at split() will work just fine on multi-line arrays, including fields split over multiple lines. If you want to process your data line-by-line, you'd need to wrap it. The better you can predict the input data, the cleaner the code you can use to parse it. Learn the regexps. -- Pau

Re: [PHP-DB] elseif

2003-01-27 Thread Paul Chvostek
$error = "$errorYou must enter a contact phone number or > email address."; > } > if ($error == "") > { > $query = "insert into stores set > -- > Addison Ellis > small independent publishing co. > 114 B 29th Avenue North

Re: [PHP-DB] Is my Hosting service full of it?

2003-02-09 Thread Paul Chvostek
as well. :) > I wondering if anyone has an opinion of whether I'm dealing with people who > don't know what they're doing. Do any of their comments make sense. > I'd be glad to provide further clarification if desired. I just have a real > feeling that I'm not

Re: [PHP-DB] Making a text wrapper

2003-02-22 Thread Paul Chvostek
.php.net/wordwrap doesn't do what you need, and the extra comments on that page don't provide additional resources that are useful for you, then perhaps you can provide more details on the php-general list, where this will be a little more on

Re: [PHP-DB] Database question

2003-07-03 Thread Paul Chvostek
tabase link identifier cannot be stored in a session variable and then re-used by another session. Check out http://www.php.net/features.persistent-connections for details. -- Paul Chvostek <[EMAIL PROTECTED]> it.canada