Re: [PHP] Searching and storing results index in cookies or session variables

2006-07-13 Thread Brian Anderson
Hey, I figured I was making a nightmare goulash out of it, but with limited knowledge and few examples I could find, it is what I came up with, back in yonder times. Probably why I am questioning it's viability now. I understand offset and limit in SQL. Perhaps, like this example

[PHP] Searching and storing results index in cookies or session variables

2006-07-12 Thread Brian Anderson
which is already sorted, and grab element x through element y. Would this be an efficient way using a session variable? Does anybody else handle search results in a similar way? -Brian Anderson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Development Environments/Automation

2006-05-16 Thread Brian Anderson
Thanks. I will check out the links that you and Peer sent me. Qcodo and Cake both look like promising alternatives. I appreciate the help, -Brian Miles Thompson wrote: At 02:01 PM 5/15/2006, Brian Anderson wrote: Hello, I am being asked to find some sort of development environment

Re: [PHP] Question about templates

2006-05-16 Thread Brian Anderson
Sure if all you are writing is a hello world page, but if you are writing out an application that is more complex, wouldn't the savings and managability be beneficial enough to justify? ... code reusability ... Don't ya think? Why is it easier to do something like this: echo 'table'; echo

[PHP] Development Environments/Automation

2006-05-15 Thread Brian Anderson
Hello, I am being asked to find some sort of development environment for PHP/MySQL, if is exists, in which it has some sort of automation/wizzardry. What is being done is a mass of MSAccess interfaces, forms, reports, etc. are needing to be re-written in php and connected to a MySQL database

[PHP] Advice updating MS Access data to remote MySQL host that only allows local access

2006-03-21 Thread Brian Anderson
convoluted, and frought with difficulties. There has to be a easier way to update the transaction status table? Hmmm -Brian Anderson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Advice updating MS Access data to remote MySQL host that only allowslocal access

2006-03-21 Thread Brian Anderson
Yeah, I thought of that, but how do I connect to a mdb file on a linux server that doesn't have odbc installed? Brady Mitchell wrote: -Original Message- I wonder if anyone has any ideas? As I can't just run an update locally and connect to the remote MySQL host, I was scheduling a

Re: [PHP] Advice updating MS Access data to remote MySQL host that only allowslocal access

2006-03-21 Thread Brian Anderson
The only other thing that I can think to do is to try locally write a .sql file and ftp that for updating because MS Excel format csv is making me want to kill myself. -Brian Brian Anderson wrote: Yeah, I thought of that, but how do I connect to a mdb file on a linux server that doesn't have

[PHP] Regexp matching in SQL

2006-03-06 Thread Brian Anderson
I am trying to simplify an SQL query that is pretty much like below: $sql = SELECT * FROM table WHERE keyword RLIKE '$expression1' OR keyword RLIKE '$expression2' ; The different terms '$expression1' and '$expression1' come from an array. Is there any way to within one regular expression to

Re: [PHP] Regexp matching in SQL

2006-03-06 Thread Brian Anderson
IN ( exp1, exp2) didn't seem to work for me. I've seen that used before for including a subquery, but somehow it didn't like the comma separated list. I think this below is doing it for me. $separated = implode(|, (explode( , (AddSlashes($_REQUEST['terms']);

Re: [PHP] if syntax using multiple conditions

2004-09-15 Thread Brian Anderson
Thanks! And, *wow* yes I just did try php2asp. Pretty good translation, although a few things need adjusting, it seems to do a remarkable job. I'll definitely have to play with it some more. :) -Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] if syntax using multiple conditions

2004-09-13 Thread Brian Anderson
What is the proper syndax in an if statement for containing multiple conditions? example: if ( condition1 condition2 ) { dothis; } if ( condition1 (condition2 || condition3) ) { dothis; } I am trying to translate this from asp to php: If WhichAction = 7 And (InStr(filename, \) Or

[PHP] XML_sql2xml

2004-08-26 Thread Brian Anderson
Hello, I am trying to install XML_sql2xml I followed the directions to install XML_sql2xml at: http://php.chregu.tv/sql2xml I used pear and typed: pear install XML_sql2xml The result I got was: No release with state eqal to: 'stable' found for 'XML_sql2xml' Is there someplace that the

[PHP] hosting provider won't enable ftp_connect()

2004-08-10 Thread Brian Anderson
phpcollab.com: You should ask your hosting provider to install those for you, probably they will do without much problem. Or, if they don't want to, you should consider choosing another provider. If it is an issue, does anyone know of a hosting provider that allows these extensions? -Brian

Re: [PHP] hosting provider won't enable ftp_connect()

2004-08-10 Thread Brian Anderson
Thanks, both John and Jay. I will take a look at both those sites. Regards, -Brian Anderson From: John Nichel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 10, 2004 9:50 AM Subject: Re: [PHP] hosting provider won't enable ftp_connect() Brian Anderson wrote: I am trying

Re: [PHP] hosting provider won't enable ftp_connect()

2004-08-10 Thread Brian Anderson
Hey all, Thanks all for the good reference links. I will see what they offer. Bummed if I have to switch hosts, because I have been happy with Godaddy in general. :) -Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Online training - Recommendations??

2004-06-14 Thread Brian Anderson
Hello, Anyone have any recommended(reputable) resources for online PHP training/certification? I would like good training but a certificate and course documentation of would be good too. Thank you, -Brian Anderson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http