First  |  Prev |  Next  |  Last
Pages: 4 5 6 7 8 9 10 11 12 13 14 15 16 17
printf and unsecable char
Hello I would like to print a string formatted on the right side and fill in the left side with the unsecable character [ ] I read in the printf command I could use : printf( "%#30s" , $mystring ) ; to display $mystring string with the character # before (on the left) and I try to replace # by   ... 6 Jan 2010 09:55
Machine learning
Hello, Does someone here knows how to apply machine learning in php. I want my script to automaticaly make decisions based on a dataset given by mysql. I tried to google for an algoritm, but i don't understand it very well. Could someone please help me find a solutions to maken decision trees in php. ... 23 Dec 2009 07:30
EZPDO Replacement
One of our programmers had done a fair amount of coding using the EZPDO ORM library and it is no longer supported, Does anyone have any experience migrating from EZPDO to another ORM library. Any recommendations?, Thanks in advance for your help. ... 14 Dec 2009 14:23
Mysql query
The query from my previous post was only part of a larger query. This is the entire query: SELECT GREATEST( IF( CURDATE( ) >= DATE_SUB( DATE( FROM_UNIXTIME( 1239508800 ) ) , INTERVAL LEAST( 14, ( SELECT COUNT( * ) FROM `verse_of_the_day_Bible_verses` WHERE seasonal_use =1 ) ) DAY ) AND CURDATE( ) <= DATE( ... 14 Dec 2009 22:09
Mysql query
Does anyone see anything wrong with this query? Do I have one of the >, = or < mixed up? The purpose is to figure out if it is within 14 days of Christmas AND if there is content for Christmas available. 2 is symbolic in the database being Christmas. Ron IF( CURDATE( ) >= DATE_SUB( DATE(2009-12-25) , INTERV... 13 Dec 2009 18:43
Combing PDO with mysql_pconnect connections in one application -- will this degrade performance?
As long as you test it (hopefully using some sort of automated tests) you should be right. Since you're using persistent connections (make sure you set pdo to do the same), I don't think you're really doubling the number of connections. Yeah, I think PDO uses the underlying mysql/pgsql functions anywa... 10 Dec 2009 14:34
Combing PDO with mysql_pconnect connections in one application-- will this degrade performance?
Sara Leavitt wrote: Hi, We are about to convert all of our queries using mysql_pconnect to prepared statements using PDO database connections. It will take some time to convert the hundreds of SQL statements so the plan is to do it in phases. Is it a bad idea to have both a mysql_pconnect and a PDO... 10 Dec 2009 16:48
Combing PDO with mysql_pconnect connections in one application --will this degrade performance?
Hi, We are about to convert all of our queries using mysql_pconnect to prepared statements using PDO database connections. It will take some time to convert the hundreds of SQL statements so the plan is to do it in phases. Is it a bad idea to have both a mysql_pconnect and a PDO connection open for the same ap... 9 Dec 2009 14:27
Multiple MySQL schemas
Hi all. We are wanting to create an app that contains multiple clients. Each clients has anywhere from 1 user to more than a hundred. We had the idea of separating each client into its own database schema. This reduces the single point of failure - if 1 client db dies, it doesn't kill the others. This keeps the indi... 8 Dec 2009 14:11
unlink problems
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I use the following to delete a file on a webserver if( unlink( "./$filename" ) ) { echo $filename." deleted "; $action=''; echo "<script>document.location.href='$PHP_SELF?action=$action&code=$code'</script>"; } But I get the following error W... 26 Nov 2009 10:52
First  |  Prev |  Next  |  Last
Pages: 4 5 6 7 8 9 10 11 12 13 14 15 16 17