Re: [PHP] Re: Is select_db necessary?

2009-08-12 Thread Ralph Deffke
ralph_def...@yahoo.de "Martin Scotta" wrote in message news:6445d94e0908120718g6c5bf368tacf8bbad127b5...@mail.gmail.com... > Wed, Aug 12, 2009 at 10:37 AM, Ralph Deffke wrote: > > > I agree totally, are we not dicussing speed issues all the time? and then > > we &

[PHP] Re: Is select_db necessary?

2009-08-12 Thread Ralph Deffke
, databasedevelopers can espext some smartness of us, the programmers. its a lot off stuff to do for the database to select a database. for shure, the database leafs that IN OUR hand to avoid to force time consuming server resources. ralph ralph_def...@yahoo.de "Colin Guthrie" wrote in message news

Re: [PHP] Is select_db necessary?

2009-08-12 Thread Ralph Deffke
rst and then 50 just raw sql's to that database. now after dumping that much stuff on u, it depends on ur design if u need a select_db first or not. hope that helps Ralph ralph_def...@yahoo.de "Allen McCabe" wrote in message news:657acef20908112023y222de6f4q63e64cd1e2785...@m

Re: [PHP] how to say "inverse your value" (to a boolean)?

2009-08-11 Thread Ralph Deffke
t;red", "red" ,"green" ,... ) { if( count( $_b ) > $a ) { return $_b[ $a++ ] ; } $a=0; return $_b[ $a++ ] ; } so now u can do what ever anybody wants on just putting the right values into the array cheers ralph ralph_def...@yahoo.de &qu

[PHP] Re: Synchronizing autonumber fields

2009-08-11 Thread Ralph Deffke
same time in the various subsidaries. a timestamp field is a breakdown to the milisecond. however there is still a chance of 1 to some billion, that two records have the same key. just some possibilities cheers ralph ralph_def...@yahoo.de ""Leidago !Noabeb"" w

[PHP] Re: how to say "inverse your value" (to a boolean)?

2009-08-10 Thread Ralph Deffke
u... try echo ""; for( $i=0 ; $i<10; $i++){ echo "something " . (($a = $a^1) ? "red\n" : "green\n"); } echo ""; watchout the brackets ! cheers ralph_def...@yahoo.de "John Butler" wrote in message news:52842d6f-dd45-44a6-ae06-2e58ef8f6...@gmail.com... > quick Q: > I have this inside a fore

[PHP] Re: how to say "inverse your value" (to a boolean)?

2009-08-10 Thread Ralph Deffke
with XOR try this $a = 0; echo $a ^ 1; $a = 1; echo $a ^ 1; hope that helps ralph ralph_def...@yahoo.de "John Butler" wrote in message news:52842d6f-dd45-44a6-ae06-2e58ef8f6...@gmail.com... > quick Q: > I have this inside a foreach{} that I want to alternate between on &g

AW: [PHP] reason for a "Notice:.." on one site but not another? (Same code.)

2009-08-10 Thread Ralph Deffke
he same story there are the == === and != !=== operators ____ Von: Martin Scotta An: Andrew Ballard CC: Ralph Deffke ; php-gene...@lists..php.net Gesendet: Montag, den 10. August 2009, 20:40:19 Uhr Betreff: Re: [PHP] reason for a "Notice:.." on one site bu

Re: [PHP] reason for a "Notice:.." on one site but not another? (Same code.)

2009-08-10 Thread Ralph Deffke
sion == false ) return false; if ( expression == false) return false; return true; } ralph ralph_def...@yahoo.de "John Butler" wrote in message news:9ada6df4-649c-4790-b51b-cc9cc0505...@gmail.com... > >> > > If you switch it around you'll get a notice because the IF e

[PHP] Re: MySQL auto_increment fields Server version: 5.1.32-community-log

2009-08-09 Thread Ralph Deffke
I should mention that I use MyISAM as storage engine what makes it even more wiered. "Nisse Engström" wrote in message news:91.f7.55947.dc74f...@pb1.pair.com... > On Sun, 9 Aug 2009 20:17:15 +0200, "Ralph Deffke" wrote: > > > I'm facing the fact that it

[PHP] Re: MySQL auto_increment fields Server version: 5.1.32-community-log

2009-08-09 Thread Ralph Deffke
Nisse Engström" wrote in message news:91.f7.55947.dc74f...@pb1.pair.com... > On Sun, 9 Aug 2009 20:17:15 +0200, "Ralph Deffke" wrote: > > > I'm facing the fact that it seems that auto_increment fields in a table not > > start at 1 like it was in earlier

Re: [PHP] MySQL auto_increment fields Server version: 5.1.32-community-log

2009-08-09 Thread Ralph Deffke
I would like to have a KNOWN status of my database after a NEW installation of the application, because the further installation relais on information stored in record 1 of each table. "tedd" wrote in message news:p06240801c6a4fe331...@[192.168.1.100]... > At 8:17 PM +0200 8/9/09,

Re: [PHP] MySQL auto_increment fields Server version: 5.1.32-community-log

2009-08-09 Thread Ralph Deffke
MENT=1; > > It's likely that you dropped every record and expected the auto_increment > to > > reset. > > > > Jerry Wilborn > > jerrywilb...@gmail.com > > > > > > On Sun, Aug 9, 2009 at 1:17 PM, Ralph Deffke > wrote: > > > > > Hi

Re: [PHP] MySQL auto_increment fields Server version: 5.1.32-community-log

2009-08-09 Thread Ralph Deffke
pped every record and expected the auto_increment to > reset. > > Jerry Wilborn > jerrywilb...@gmail.com > > > On Sun, Aug 9, 2009 at 1:17 PM, Ralph Deffke wrote: > > > Hi all, > > > > I'm facing the fact that it seems that auto_increment fields in

[PHP] MySQL auto_increment fields Server version: 5.1.32-community-log

2009-08-09 Thread Ralph Deffke
Hi all, I'm facing the fact that it seems that auto_increment fields in a table not start at 1 like it was in earlier versions even if I install mySQL brand new creating all tables new. it seems to me that auto_increments handling has changed to older version. is somebody out there who can give me

[PHP] Re: Question: what are frameworks?

2009-08-09 Thread Ralph Deffke
id "library" u say more modern "framework" in both cases its a bunch of functions doing some stuff the user of the framework hasn't to take care about by using the framework. hope that helps ralph ralph_def...@yahoo.de ""Parham Doustdar"" wrote in message

Re: [PHP] Re: dynamically naming PHP vars on the fly?

2009-08-08 Thread Ralph Deffke
but then ur byond simple select, man, I do hate unions and try to avoid those. "Nisse Engström" wrote in message news:8b.50.40613.c518d...@pb1.pair.com... > On Sat, 8 Aug 2009 15:01:42 +0200, "Ralph Deffke" wrote: > > > of course u can do this by sql. > &

Re: [PHP] Re: dynamically naming PHP vars on the fly?

2009-08-08 Thread Ralph Deffke
of course u can do this by sql. see this SELECT * FROM `sometable` LIMIT 0 , 30 gives u max 30 records if existstarting at record 0 on the next request u could say SELECT * FROM `sometable` LIMIT 30 , 30 giving u max 30 recotds starting at record 30 ralph ralph_def...@yahoo.de "Nisse En

[PHP] Re: str_replace

2009-08-08 Thread Ralph Deffke
looks good, u r searching for $bible_verse_ref in $text_message_template to be replaced by the string "bible_verse_ref". if that makes sence to u, yes its right. ralph ralph_def...@yahoo.de ""Ron Piggott"" wrote in message news:83745b9e385a4402888ba5924

Re: [PHP] Re: Buffered Logging?

2009-08-07 Thread Ralph Deffke
DAILY backup AND reset of the logging tables. so the tables where never much bigger then 5 records. so if u use mySQL and the buffer technices mentioned earlier I would go with it because of the benefit not to maintain another different tool. ralph "Waynn Lue" wrote

[PHP] Re: "PHP 6 and MySQL 5 for Dynamic Web Sites" Book

2009-08-07 Thread Ralph Deffke
Hi Larry, nice to have a comment from the editor, and I want to say thanks for writing this book. however this discussion was initiated by a newbie asking what book he should use to learn php. ur book is important to the community of php freaks ! it saved my time to see where the path is going th

[PHP] Re: Pattern Matching

2009-08-06 Thread Ralph Deffke
this side for shure is for help, lets u play arround with regex http://gskinner.com/RegExr/ ralph ralph_def...@yahoo.de "Floyd Resler" wrote in message news:50fc5ab0-ee8b-4ac2-b982-9262a3977...@adex-intl.com... > I need some assistance in pattern matching. I want allow the ad

AW: [PHP] Displaying user data and picture

2009-08-06 Thread Ralph Deffke
u playing arround with the htaccess file 3. its easy in those and other cases 4. image directores are public, and apear in search engines Von: Michael A. Peters An: Ralph Deffke CC: php-general@lists.php.net Gesendet: Donnerstag, den 6. August 2009, 23:02:55

Re: [PHP] "PHP 6 and MySQL 5 for Dynamic Web Sites" Book

2009-08-06 Thread Ralph Deffke
because this is to start with the baby figuring out about a family :-) ralph_def...@yahoo.de "Eddie Drapkin" wrote in message news:68de37340908060841x129a9096w6c0907f85614c...@mail.gmail.com... On Thu, Aug 6, 2009 at 11:32 AM, tedd wrote: > At 5:34 PM -0700 8/5/09, sono...@fannullone.us wrote: >

Re: [PHP] Displaying user data and picture

2009-08-06 Thread Ralph Deffke
header out. to give u all the details is worth some time and time is money. the amount of documentation to figure out the details is not small. start with some w3c and rfc standard to get the clue. regards ralph ralph_def...@yahoo.de "nashrul" wrote in message news:24839092.p...@talk.n

Re: [PHP] Re: PHP programming strategy

2009-08-06 Thread Ralph Deffke
as it comes to this point I can recomment an O'reilly book "High Performance Web Sites, essential knowledge for frontend engineers" if u read that book ur eyes will grow and u will not bother about php comments, ralph "Ashley Sheridan" wrote in message news:1249543712

[PHP] Re: "PHP 6 and MySQL 5 for Dynamic Web Sites" Book

2009-08-05 Thread Ralph Deffke
why do u stick to php 6? i would recommend www.scribd.com and have a search on PHP. there are books on beginners for php5 and articles of the difference to php 6. a very usefull site by the way, made me stopping buying books. loads of material on IT stuff. ralph ralph_def...@yahoo.de wrote in

[PHP] Re: Time keeping in DB

2009-08-05 Thread Ralph Deffke
and it is not a good idear to do them unique, that is because internally those field are stored in databases as long unsigned integer often the passed seconds since 1982 (the birth of the ibm pc) or even miliseconds. that means there is always internally a big juggling to format the date. Ralph

[PHP] Re: dynamically naming PHP vars on the fly?

2009-08-05 Thread Ralph Deffke
u can "dynamical" chosse a variable name with a variable using a "douple" $ charachter eg. $a = "this is a": $b = "a"; echo $$b; outputs "this is a" this is an all open feature to u have fun ralph "Govinda" wrote in message new

[PHP] Re: Time keeping in DB

2009-08-05 Thread Ralph Deffke
off course, but this is a different subject, means a finished, not changing time sheet is to store. in that case I would prefere to use a single record for each sheet holding an id, possibly a date and then a medium text holding a simple xml notation of the sheet. the benetit of that concept is aga

[PHP] Re: Time keeping in DB

2009-08-05 Thread Ralph Deffke
many times he wants a day or time range. u can report any number of time bits to any number of project a day or time range Ralph "Shawn McKenzie" wrote in message news:5e.47.03459.7ead9...@pb1.pair.com... > So, obviously not PHP related, but I'm looking for thoughts on the be

[PHP] Re: Character encoding

2009-08-05 Thread Ralph Deffke
I assume that the comments are collected by a browser form provided by you ! do u use the form attribute "accept-charset" ? I always do and I always use UTF-8 homogeniously throughout my application I never had that problem. "Sándor Tamás (HostWare Kft . )" wrote in message news:9ac01674e03a4

[PHP] how to pass variable argument list in a childconstructor to parent constructor, ideas wanted

2009-08-02 Thread Ralph Deffke
problem: __ construct( $something ... variable argument list ){ parent::__construct( ??? ); } I tried with func_get_args, but the problem is that it gives an indexed array back. lets say the argument list is mixed like this: ( "string", "string", array) func_get_args will give this [0] => "

[PHP] Converting user input for XML-validation

2007-11-16 Thread Ralph Kutschera
tandard function in PHP to convert any string for usage with XML? In the example the string should become "< thats a bracket". Thanks a lot, Ralph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Converting user input for XML-validation

2007-11-16 Thread Ralph Kutschera
Thanks a lot for your answers! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Converting user input for XML-validation

2007-11-16 Thread Ralph Kutschera
Ralph Kutschera wrote: > Is there a standard function in PHP to convert any string for usage with > XML? In the example the string should become "< thats a bracket". I found htmlspecialchars() now. But the question that remains: Is that sufficient for XML? regards, Ral

[PHP] function -> action

2007-08-02 Thread Ralph Kutschera
hing() { } public action doSomethingElse() { ... } ... is actually the same but would help to see the design also in the code. TIA, Ralph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Parent Object

2007-08-01 Thread Ralph Kutschera
t I want! How can i resolve this issue? I don't want to know which class is being inherited, but I'd like to know which class has created the current object. TIA, Ralph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Apache - page fault in php5ss.dll in phpmyadmin?

2006-09-24 Thread Ralph Frost
other references from folks with XP, etc. I also have questions into the phpmyadmin forum but have not heard back yet. Thanks in advance for any thoughts or suggestions for resolving this sort of behavior or uncovering the flaw I am overlooking. Best regards, Ralph Frost

[PHP] php-db@lists.php.net

2005-01-23 Thread Ralph Frost
ty as I had before December 16, 2004? Thank you in advance for any help you can offer. Best regards, Ralph Frost Imagine consciousness as a single internal analog language made of ordered water, fabricated on-the-fly during respiration. -- PHP General Mailing List (http://www.php.net/) To unsubscr

RE: [PHP] getting an array out of the POST array

2004-08-17 Thread Ralph G
Remove $_POST from $_POST[firstname][$key], $_POST[middlename][$key] and $_POST[lastname][$key]. It should simply be $firstname[$key], $middlename[$key], and $lastname[$key] Not sure what your array data looks like but instead of using while() use foreach(): foreach($_POST['firstname'] as $key

RE: [PHP] Re: php inventory control software

2004-08-02 Thread Ralph G
See www.eshox.com -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 1:16 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: php inventory control software John W. Holmes wrote: > From: "John Nichel" <[EMAIL PROTECTED]> > >>Steve Douville wrote: >>

RE: [PHP] PHP OO concepts

2004-04-11 Thread Ralph G
OOP? Stay tuned for PHP5 -Original Message- From: jdavis [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 1:45 PM To: PHP List Subject: [PHP] PHP OO concepts Hello, I have am checking out PHP OOP and it's pretty smooth. I have a decent amount of Java experience so PHP OOP is

RE: [PHP] Looking for a comprehensive PHP tutorial

2004-04-09 Thread Ralph G
Check these out: http://www.juicystudio.com/tutorial/php/index.asp http://www.scit.wlv.ac.uk/~jphb/sst/php/ -Original Message- From: Ash.. [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 2:35 AM To: [EMAIL PROTECTED] Subject: [PHP] Looking for a comprehensive PHP tutorial Hi, I

RE: [PHP] Domain Name ?

2004-04-01 Thread Ralph Guzman
The easy way... $domain = "http://www.foo.com";; $domain = explode('.', $domain); $foo = $domain['1']; -Original Message- From: Dave Carrera [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 1:30 AM To: [EMAIL PROTECTED] Subject: [PHP] Domain Name ? Hi List, I asked this a whi

RE: [PHP] Re: [PHP-WIN] ASP.NET web control in PHP?

2004-03-31 Thread Ralph Guzman
You might also want to look at opensource frameworks like Ampoliros or Ez publish -Original Message- From: Ignatius Reilly [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 9:21 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Bill Subject: [PHP] Re: [PHP-WIN] ASP.NET web control in

[PHP] RE:

2004-03-30 Thread Ralph Guzman
Might be a Register Globals issue: http://us4.php.net/register_globals -Original Message- From: Ketvin [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 12:40 AM To: [EMAIL PROTECTED] Subject: Dear all, i just move my previous php script to a new server and found that it is no

RE: [PHP] session.bug_compat_42

2004-03-24 Thread Ralph
It's great to see you on the list Rasmus! Anxiously awaiting for official release of PHP5...I haven't been this excited since the release of PHP4!!! :-) Many thanks go out to you and the others who make PHP possible. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] Se

RE: [PHP] small business inventory management package

2004-03-10 Thread Ralph
OSSUITE: http://sourceforge.net/projects/ossuite/ or just browse through sourceforge projects: http://sourceforge.net/softwaremap/trove_list.php?form_cat=129&discrim=183 -Original Message- From: Christian Calloway [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 09, 2004 1:38 AM To: [EM

RE: [PHP] How many days between two dates

2004-02-16 Thread Ralph
Use KronoClass: http://lafucina.holosoft.it/kronoclass/index.html example: // Now calc how days are between date_from and date_to echo 'How many days are between 03/20/2003 and 04/21/2003 ?: '; echo $k->days_diff('03/20/2003','04/21/2003'); echo ''; -Original Message- From: Shaun [mail

[PHP] PHP Social Software

2004-01-30 Thread Ralph
Anybody know of any PHP based Social Software projects? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP EDITORS

2004-01-28 Thread Ralph
I agree that Zend Studio is phenomenal. Another editor that I like is NuSphere's PhpEd. You might want to look at this one too: http://www.nusphere.com/ -Original Message- From: Gryffyn, Trevor [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 2:04 PM To: [EMAIL PROTECTED] Sub

RE: [PHP] [posibleOT] Forcing entering te site thru index.php

2004-01-28 Thread Ralph
The only other way I can think of doing this without sessions is to use $_SERVER['HTTP_REFERER'] to check if page request is coming from an existing page within your site or not. But I don't think this method will work 100% of times. Another approach would probably be to use single entry point con

RE: [PHP] Making Graph / Chart

2004-01-27 Thread Ralph Guzman
Take a look at jpgraph: http://www.aditus.nu/jpgraph/ -Original Message- From: unkno me [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 5:25 PM To: [EMAIL PROTECTED] Subject: [PHP] Making Graph / Chart Hi, Does anyone know what function is needed to make graphic chart like th

RE: [PHP] How to prevent duplicated values?

2004-01-27 Thread Ralph Guzman
>What I would do would instead be to put an >index on that column, then with a simple select >check if that username is free or not. Based on >what I get in return I can then either insert the >data or return the form to the visitor with information >about it. Much more simple in the long run

[PHP] Online Community Project

2004-01-21 Thread Ralph Guzman
I want to develop a friendster like program in php. I've searched the net to see if there are any similar programs or projects but I have not found anything. Anybody seen or come across any programs or projects for developing a friendster like community? -- PHP General Mailing List (http://www

[PHP] [Article] Writing Efficient PHP...

2004-01-20 Thread Ralph Guzman
In the past I've read emails of people looking for php programming tips and better practice advice. Here is a good article I came across on writing efficient php code: http://www-106.ibm.com/developerworks/edu/wa-dw-waeffphp-i.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] Sorting data into columns vertically

2004-01-09 Thread Ralph Guzman
DISREGARD THIS ONE -Original Message- From: Ralph Guzman [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 4:35 PM To: 'Raditha Dissanayake'; 'dareal hamsta' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Sorting data into columns vertically Here is a functi

RE: [PHP] Sorting data into columns vertically

2004-01-09 Thread Ralph Guzman
Here is a function I use. Assuming data is stored in an array called $items you will call out horizontalTable() like this: horizontalTable(3,600,1,3,3, $items); Here is the horizontalTable() function code: // $size: number of columns // $width: table width // $border: table border // $cpadding:

RE: [PHP] Sorting data into columns vertically

2004-01-09 Thread Ralph Guzman
Here is a function that will do this, assuming $items is an array you would do the following: // $size INTEGER // $width INTEGER // border INTEGER // $cpadding INTEGER // $cspacing INTEGER // $data ARRAY function horizontalTable($size, $width, $border, $cpadding, $cspacing, $data) {

RE: [PHP] Re: Not working?

2004-01-09 Thread Ralph Guzman
Or this: system("rename('/path/to/new.sh', '/path/to/old' . $today)"); -Original Message- From: Matt Grimm [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 10:28 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: Not working? You can't use variables inside single quotes, either. Thi

RE: [PHP] post vars not by form

2004-01-09 Thread Ralph Guzman
Use socket connection: http://www.php.net/fsockopen read the "User Contributed Notes" where you will find functions and examples. -Original Message- From: Nabil [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 2:07 PM To: [EMAIL PROTECTED] Subject: [PHP] post vars not by form

RE: [PHP] Hiding files away from /public_html/

2004-01-09 Thread Ralph Guzman
Put them in a folder with .htaccess: RewriteEngine onRewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/.*$ [NC] ReWriteRule .*\.(gif|jpg)$ - [N,F,L] -Original Message- From:

RE: [PHP] Buffalo'ed, stumped, confused...

2004-01-09 Thread Ralph Guzman
For debugging purposes, if you want to see all values in $_POST use this code: print ''; print_r($_POST); print ''; or this: print ''; var_dump($_POST); print ''; -Original Message- From: Robin Kopetzky [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 4:31 PM To: PHP General

RE: [PHP] Re: post an array into another site

2003-12-08 Thread Ralph Guzman
= THE END = -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Virtual Directory Support

2003-12-03 Thread Ralph Guzman
ctory Support On Wednesday 03 December 2003 12:51, Ralph Guzman wrote: > I have a new installation of PHP 4.1.2 and it appears I cannot run php > scripts outside of apache root directory. How did you come to this conclusion? Was there an error message? If so, what did it say? If there was no er

[PHP] Virtual Directory Support

2003-12-02 Thread Ralph Guzman
I have a new installation of PHP 4.1.2 and it appears I cannot run php scripts outside of apache root directory. I look at phpinfo() and I saw Virtual Directory Support is set to disabled. I'm suspecting this could me the problem, but I have not been able to find anything on google or the lists exp

[PHP] Sorting DB Results

2003-11-13 Thread Ralph Guzman
I am trying to write a query (mysql 3.23) that will sort results using one or two substrings in item number. So for example I have item numbers that start with SE, TS, N0, W00, etc. So let say I want results sorted in the following order TS, SE, N0, W0 I have trie

RE: [PHP] PHP Journals and Magazined

2003-10-14 Thread Ralph Guzman
If you are looking for magazines: http://www.phphub.com/browse.php?cat=52 You can find all sorts of PHP resources online. Here are a few of my favorites: http://www.phphub.com/ http://www.zend.com/developers.php http://www.sitepoint.com/ http://www.devshed.com/Server_Side/PHP and of course,

RE: [PHP] Select multiple payment mode

2003-10-01 Thread Ralph Guzman
I guess the thing to do would be to log in payments in the database. So lets say the total is $50.00, if the user pays $25 on cc and payment is authorized, then log this into the database, then show the remaining balance. At this point you can give user the option to pay the remaining balance using

RE: [PHP] php with MsSql

2003-09-24 Thread Ralph Guzman
You might also want to look at these libraries for mssql native support: http://www.freetds.org -Original Message- From: João Cândido de Souza Neto [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 9:21 AM To: [EMAIL PROTECTED] Subject: [PHP] php with MsSql I'm creating a site

RE: [PHP] Subcategories in php

2003-09-24 Thread Ralph Guzman
This article explains four methods for doing this: http://www.evolt.org/article/Four_ways_to_work_with_hierarchical_data/17 /4047/index.html -Original Message- From: phpu [mailto:[EMAIL PROTECTED] Sent: Saturday, September 20, 2003 7:41 AM To: [EMAIL PROTECTED] Subject: [PHP] Subcatego

RE: RE: [PHP] PHP Editor - which to use?

2003-09-24 Thread Ralph Guzman
>It doesn't do syntax highlighting, but if you need >that, then you need to learn to code better. Ha,ha. too funny. -Original Message- From: Jim Lucas [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 9:56 AM To: jeffrey pearson; [EMAIL PROTECTED] Subject: Re: RE: [PHP] PHP Ed

RE: [PHP] Single Quotes vs Double Quotes

2003-09-09 Thread Ralph Guzman
Read this article: http://www.zend.com/zend/tut/using-strings.php -Original Message- From: micro brew [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 9:04 PM To: [EMAIL PROTECTED] Subject: [PHP] Single Quotes vs Double Quotes Hi everyone, Could somebody please explain to me

RE: [PHP] mysql Pattern Matching

2003-09-05 Thread Ralph Guzman
Is there an advantage or difference in running FIND_IN_SET() instead of LIKE? -Original Message- From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 5:53 AM To: Ralph Guzman; PHP General Mailing List Subject: Re: [PHP] mysql Pattern Matching From

RE: [PHP] A bd problem

2003-09-04 Thread Ralph Guzman
First, do not use HTML email for posting questions to the list. Take a look at: $not = $consulta->fetch_row($res); not familiar with your BaseDatos class, but fetch_row will normally return an enumerated array, this means that rather than using $not['Descripcion'] you should be using $not['0'],

[PHP] mysql Pattern Matching

2003-09-04 Thread Ralph Guzman
I know this question is best for the mySQL mailing list, but I am unable to subscribe to their list at this moment so perhaps somebody here can help me out. I have a table with a field where amenities are listed together using a comma delimiter like: pool,spa,fitness-center To search this table I

[PHP] Best Approach for Multiple Options

2003-09-03 Thread Ralph Guzman
I'm currently in the process of writing a real estate listings program and I am not sure what the best approach is for storing and searching through the property amenities. Example: houses or apartment amenities can be a pool, fitness center, spa, etc. Users must be able to search for listings wit

RE: [PHP] OO PHP question

2003-08-26 Thread Ralph Guzman
http://www.php.net/oop http://php.resourceindex.com/Documentation/Class_Design_and_OOP/ http://www.evolt.org/article/PHP_Intro_to_Objects_and_Classes/17/48911/i ndex.html -Original Message- From: Mike Zornek [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 11:01 AM To: [EMAIL P

RE: [PHP] determine how many checkboxes are selected.

2003-08-26 Thread Ralph Guzman
Change box names to chk[] and assign the id as the value, so for example: to check which boxes have been checked simply traverse through the chk[] array like this: $chk_array = $_POST['chk']; for($chk_array as $chk_key => $chk_value) { print 'Checkbox Id:'. $chk_key . ' Value:'. $chk_value

RE: [PHP] How to make an argument optional...confirmation...

2003-08-21 Thread Ralph Guzman
function test($arg1, $arg2, $arg3 = "") { if(isset($arg3)) { // do whatever with $arg3 } } -Original Message- From: Jonathan Villa [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 7:56 PM To: [EMAIL PROTECTED] Subject: [PHP] How to make an argument optional...conf

RE: [PHP] in the middle of shift and pop

2003-08-19 Thread Ralph Guzman
unset($A[2]); -Original Message- From: Decapode Azur [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 3:26 PM To: [EMAIL PROTECTED] Subject: [PHP] in the middle of shift and pop is it possible to remove an element of an indexed array such as this exemple $A = array('a', '

RE: [PHP] Delimiter WITHOUT lots of IF's

2003-08-19 Thread Ralph Guzman
); return $cart_cdqty; } } -Original Message- From: Ralph Guzman [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 11:41 PM To: 'Cesar Aracena'; [EMAIL PROTECTED] Subject: RE: [PHP] Delimiter WITHOUT lots of IF's Sensitivity: Confidential I agree

RE: [PHP] Delimiter WITHOUT lots of IF's

2003-08-18 Thread Ralph Guzman
ing cart'; } else { print 'Total Size:' . $cdqty['quantity'] . ''; print 'Total CDs:' . $cdqty['total_size'] . 'MBs '; } I have not tested this but it should work. Ralph -Original Message- From: Cesar Aracena [mailto:[EMAIL

RE: [PHP] Delimiter WITHOUT lots of IF's

2003-08-18 Thread Ralph Guzman
38 PM To: 'Ralph Guzman'; [EMAIL PROTECTED] Subject: RE: [PHP] Delimiter WITHOUT lots of IF's Importance: High Sensitivity: Confidential Using a cookie (I know, I know...) I plant a cookie in the visitor's browser when he opens the site with a random generated number which expir

RE: [PHP] Delimiter WITHOUT lots of IF's

2003-08-18 Thread Ralph Guzman
How are you keeping track of items added being added to the shopping cart? -Original Message- From: Cesar Aracena [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 7:55 PM To: [EMAIL PROTECTED] Subject: [PHP] Delimiter WITHOUT lots of IF's Importance: High Sensitivity: Confidential

RE: [PHP] Delimiter WITHOUT lots of IF's

2003-08-18 Thread Ralph Guzman
How are you keeping track of items added being added to the shopping cart? -Original Message- From: Cesar Aracena [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 7:55 PM To: [EMAIL PROTECTED] Subject: [PHP] Delimiter WITHOUT lots of IF's Importance: High Sensitivity: Confidential

RE: [PHP] Category and sub-category logic

2003-08-17 Thread Ralph Guzman
Read this article: http://www.evolt.org/article/Four_ways_to_work_with_hierarchical_data/17 /4047/index.html It explains the 4 different methods that you can use when working with hierarchical data. -Original Message- From: Ryan A [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 200

RE: [PHP] Validate The Last Day of Month with server's clock????

2003-08-17 Thread Ralph Guzman
-Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 12:00 PM To: [EMAIL PROTECTED] Subject: [PHP] Validate The Last Day of Month with server's clock Hi! Here's a trick script. We know that some months have the last day which is 30

RE: [PHP] LAST DAY OF MONTH

2003-08-15 Thread Ralph Guzman
I just noticed, this will give me total days for current month. But let's say I want to look up the total days for another month? -Original Message- From: Sn!per [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2003 1:21 AM To: Ralph Guzman Cc: PHP General Mailing List Subjec

RE: [PHP] LAST DAY OF MONTH

2003-08-15 Thread Ralph Guzman
wow. I missed that one in the manual. I guess it's time for me to call it a night. Thanks. -Original Message- From: Sn!per [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2003 1:21 AM To: Ralph Guzman Cc: PHP General Mailing List Subject: Re: [PHP] LAST DAY OF MONTH

RE: [PHP] php, search engine that index via local filesystem?

2003-08-15 Thread Ralph Guzman
Might want to take a look at: http://www.htdig.org/ Using the PHP wrapper class: http://sourceforge.net/projects/htphp/ -Original Message- From: Louie Miranda [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2003 12:42 AM To: [EMAIL PROTECTED] Subject: [PHP] php, search engine that i

[PHP] LAST DAY OF MONTH

2003-08-15 Thread Ralph Guzman
How can I get the last day for the current month? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Generate Dates

2003-08-14 Thread Ralph Guzman
I have to generate a menu for all months in a year, with each month broken down into two periods. For example: January 01-15 January 15-31 February 01-15 February 15-28 March 01-15 March 15-31 Etc... How can generate a list of all 12 months using the above format? -- PHP General Mailing List

RE: [PHP] Application Dev -- Separating code for speed.

2003-08-14 Thread Ralph Guzman
http://bombusbee.com/ -Original Message- From: Jonathan Pitcher [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 7:20 AM To: [EMAIL PROTECTED] Subject: [PHP] Application Dev -- Separating code for speed. I have a application, almost like a web portal. I am working on developing

RE: [PHP] Re: PHP Fusebox

2003-08-14 Thread Ralph Guzman
Alexandru, I will take a look at Krysalis. Thanks for your response. Ralph -Original Message- From: Alexandru COSTIN [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 12:20 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: PHP Fusebox Hello Ralph, Anyway, as a sample

RE: [PHP] Stop neurotic posting

2003-08-14 Thread Ralph Guzman
This will help: http://catb.org/~esr/faqs/smart-questions.html This has got to be the longest thread I've seen. -Original Message- From: andu [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 9:32 PM To: [EMAIL PROTECTED] Subject: [PHP] Stop neurotic posting This is a very busy

RE: [PHP] PHP vs ASP.NET "formal opinions" request

2003-08-12 Thread Ralph Guzman
http://www.wowwebdesigns.com/wowbb/forum12/149.html you might also want to take a look at mono project. An open source implementation of .net http://www.go-mono.com/ -Original Message- From: Douglas Douglas [mailto:[EMAIL PROTECTED] Sent: Sunday, August 10, 2003 7:46 PM To: [EMAIL PRO

[PHP] Regular Expression

2003-08-10 Thread Ralph Guzman
Been working on this one for a while but can't get it working properly. I need a regular expression to match if address is 1. PO Box 2. P.O. Box 3. P.O.Box I'm using /i to make this case insensitive. I got it working with 1 & 2, but it's still not matching 3. Any suggestions? if(preg_match( "

RE: [PHP] Best PHP CMS

2003-08-10 Thread Ralph Guzman
Any opinions on ezPublish 3? http://www.ez.no/ I am considering this as a CMS and framework for my future projects. -Original Message- From: Matt Schroebel [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 12:14 PM To: Anthony; [EMAIL PROTECTED] Subject: RE: [PHP] Best PHP CMS

<    1   2   3   4   >