[PHP-DB] Problems with PHP4.0.4pl1 and mysql, when mysql uses another charsets(latin2)
Hi everyone ! I'm from Poland. I set in mySql server, that it can work with Latin 2 charset All is fine, but when i try accessing to databases through php 4.0.4pl1 a have error like below Warning: MySQL Connection Failed: Can't initialize character set 9 (path: default) in /home/httpd/html/test.php4 on line 3 Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/httpd/html/test.php4 on line 4 My system is: Linux RedHat 6.2 apache 1.3.12 PHP 4.0.4pl1 as shared module for apache. I see that it is php module bug. I have apache and php 4.0.4pl1 on my win98 machine. That errors don't occur. What can i solve this problem ?? Ireneusz Piasecki webmaster www.b-c.pl KomNet s.c [EMAIL PROTECTED] tel: 0 606 356 235 [EMAIL PROTECTED]
[PHP-DB] HELP :CAN PHP SUPPORT BARCODE ?
Hi: Sir! I maked Our school's E-library system in winter vaction ,and I ran into the " making Barcode " problem. Could any one help me and tell me how : Can PHP4 output Barcode or Can PHP4 create any Barcode ? or Is there any function can support Barcode output and print? thanks, fongming from Taiwan. 2001/3/1 - This mail sent through IMP: http://web.horde.org/imp/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] Import database in access to mysql
Yes u can... by using MyODBC from www.mysql.com Make ODBC connection to your database (via 32bit ODBC in control panel) and than you can export tables directly to MySQL database as loading data from MySQL. I forget web page where this was shown step by step, sorry... Vojtech - Original Message - From: Jennifer Demeterio [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 01, 2001 10:17 AM Subject: [PHP-DB] Import database in access to mysql hello, i'm using mysql as my database with php but i have an existing database in access, is it possible to import the database in access to mysql ? thanks in advance... hunny -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP-DB] help can please some1 help me?
Buenos Dias, Pedro ! Have U tried the php-function htmlentities ?? For further information consult the Manuel (String Functions -- htmlentities) Greetinx, Mike (Germany) -Original Message- From: Pedro M. S. Oliveira [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 8:59 PM To: PHP db Subject: [PHP-DB] help can please some1 help me? Hello all, i am making a php scrip that needs to convert special caracters html code and i've done a function to do that the prob is that this only work to the or caracteres and not the all the other special caracaters like for instance... can some1 see the code below and try do help me with this? here's what i have done: $word = $HTTP_GET_VARS["word"]; regexp($word); function regexp ($palavra) { $car[0] = ''; $car[1] = ''; $car[2] = ''; $car[3] = ''; $car[4] = ''; $car[5] = ''; $car[6] = ''; $car[7] = ''; $car[8] = ''; $car[9] = ''; $car[10] = ''; $car[11] = ''; $code[0] = 'ccedil;'; $code[1] = 'aacute;'; $code[2] = 'agrave;'; $code[3] = 'atilde;'; $code[4] = 'acirc;'; $code[5] = 'oacute;'; $code[6] = 'otilde;'; $code[7] = 'ocirc;'; $code[8] = 'iacute;'; $code[9] = 'uacute;'; $code[10] = 'eacute;'; $code[11] = 'ecirc;'; $palavra = strtolower ($palavra); for ( $i = 0 ; $i = 11 ; $i++ ) { $coded = eregi_replace ( $car[$i] , $code[$i] , $palavra ); } echo "Coded:"; echo $coded ; echo "br"; echo "Palavra:"; echo $palavra; echo "br"; } ? Procura: FORM ACTION="" METHOD="get" INPUT TYPE= "text" NAME = "word"br INPUT TYPE=submit Value = "Procurar" /form *** Pedro Miguel Silva Oliveira Cell Phone: +351 96 5867227 SMS: [EMAIL PROTECTED] Email: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DB] Drop down box
How do I get my select form to select a value for $num_view and refesh the page? SELECT * FROM table_name ORDER BY n_id DESC LIMIT $num_view I now need a dropdown box that has set values for 5,10,15 and 20 so that the user can select a number of news articles to view and it will refresh the page and show that many? How can I do this without a button needing to be pressed? _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] Storing sensitive information in MySQL
Ahhh my favorite subject. Privacy. There are two PHP functions that do _exactly_ what you're looking for. Mcrypt_encrypt and mcrypt_decrypt. If you're looking for just enough encryption to keep the curious out, use a single password for all encryption. If you want military-grade encryption, have each person choose a (strong) password. I'd suggest Rinjdael or twofish as the encrypting algorithm. On Thu, 1 Mar 2001, Dreamvale wrote: Hi, I have a situation where some sensitive information need to be stored in a database, eg salary, medical info, etc. the data are only meant for the particular employees. however, the root user will have all the power to retrieve both the key (stored somewhere either in a file, or php scripts, or db), and the database too, hence can (not necessary will) read the sensitivie information. is there any techniques, or products to be used to solve this problem? thanks. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DB] Interbase + PHP Error
I am getting this error, but I don't know what the reason is for this error. can somebody help me out? Warning: InterBase: Unable to complete network request to host "localhost". Failed to establish a connection. Connection refused in /home/httpd/html/test/php-test/ibconnect.php on line 12 Can't connect to CV.gdb with SYSDBA user. Ibconnect.php look likes this: html head titleInterBase ISQL/title /head ? $ibdir="/home/http/html/test/php-test/"; ? BODY bgcolor="#ff" text="black"font face="arial,verdana,helvetica" size=3 bInterBase Connect/b/font p ? $ibfullname="localhost:" . $ibdir . $ibname; $conn=ibase_connect($ibfullname,$login,$password); if (!$conn) { echo "Can't connect to $ibname with $login user."; } else { echo "$ibname connected by $login user."; ibase_close($conn); } ? FORM ACTION="ibquery.php" METHOD="POST" table border=0 cellpadding=15 cellspacing=0 bgcolor="#6699cc" tr tdfont face='arial, helvetica' size=2Enter your query:/fontbr TEXTAREA NAME="query" ROWS="8" COLS="50"/textarea/td /trtr td INPUT TYPE=submit VALUE="Send" INPUT VALUE="Clear" TYPE=reset INPUT TYPE='HIDDEN' NAME='login'? echo "VALUE='$login'"; ? INPUT TYPE='HIDDEN' NAME='password' ? echo "VALUE='$password'"; ? INPUT TYPE='HIDDEN' NAME='ibname' ? echo "VALUE='$ibname'"; ? /td /tr /table /form /body /html Thnx for the help. Wicky -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] Solid Database Installation
David Foster wrote: There have been a number of mails about the SQLParamData error when starting Apache after installing the solid database installation. Here is a list of the actions we had to take to get solid working correctly with PHP 4.04pl1 I hope it saves some time since it cost us a lot ! This problem has been worked upon, and believed to be solved. Several test on FreeBSD, and various Linux flavors have resulted in clean compiles. Solid version is the current linux version 3.5 with glibc2 Please be sure to have the latest build libraries from Solid. There is a bug in the release form of their libraries which excludes many important functions. In the include directlry of solid sqlunix.h change #include wcstr.h to #include stdlib.h Seems like the call to wcstr.h is an old call. The compilation will then work. While this is something I have discussed with the SolidTech support people, it is generally believed to be "a bad idea." Even worse is the fact that wcstr.h does not exist on many platforms, and should actually be wchar.h (NOT stdlib.h). SolidTech has not been able to give me an answer with regards to this, except for: "sqluinix.h should have lines like this: #elif defined(SS_LINUX) !defined(SS_MT) !defined(SS_LINUXLIBC6) #include wcstr.h Further the second level support would like to know whether you tried defi ne SS_LINUXLIBC6?" SS_LINUXLIBC6 does not exist in the 3.5x systems, and is part of the 3.6 system, so this has left me with a pretty much useless answer. The stdlib.h apparently does not support many of the unicode functions (properly), to which SOLID has moved all internal functionality to. This will cause problems. :\ In the solid lib directory make symlinks like this: ln -s socl2x35.a libsocl2x35.a ln -s socl2x35.so libsocl2x35.so The standard installation doesnt include these. Not 100% sure they are really needed but we got linker errors. Finally put the path to those libs in LD_LIBRARY_PATH or edit /etc/ld.so.conf (don?t forget to run ldconfig after). Not sure if you need to add them to the ld.so.conf, but I'm not generally a Linux user... I would think the ODBC_LFLAGS statement should remove the need for doing this though. Now the PHP problem. After solving these problems you get the SQLParamData error when loading apache. Seems like there is a script error in ./configure There is a test in this file for the existence of the solid files after which there are several echo statements if there is a problem (you can pretty much search for these in the file). On the last echo statement the "else" clause is on the same line and is ignored. Unfortunately the else clause contains the linker statements and is ignored. Hence the error. Putting the else on a new line fixes the problem. You can see if you have this problem when you run configure. You may get the message "Finding Solid Library ..." but no error and nothing after the dots. I have looked at the config.m4 (the file that helps generate the ./configure script for the ODBC module), and do not see the else statement being ignored. This was a problem on the 4.0.4 release (forgot a line break), but I believe the patch made it into the 4.04.pl1. If you can, please try the latest snapshot from CVS and see if this problem still exists for you. I was under the impression that much of this has been fixed for linux as well (I've had several users report this problem gone, including the original submitters). -- Dan Kalowsky "Tonight I think I'll walk alone, Worldgate Communications I'll find my soul as I go home." Software Engineer - TICS Group - Temptation -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DB] [OT?] Database design
This is a little off topic... I am using PHP though :) I am using PHP4 to interface with an InterBase 6.0 customer / order/ product database. I want to assign each product to a category (more than one category in many cases), but I want to be able to add new categories easily (without hardcoding them in PHP). Any suggestions/criticisms about this database design: Products Table: ProductID, ProductName, ... ProductCategory Table: rProductID references products(ProductID), rProductCatID references ListProductCat(ProductCatID); ListProductCat Table: ProductCatID, Description; I can't think of a better way to do it. This setup allows me to have more than one category for each product and I can add new categories by adding a new field to the ListProductCat table. I could change the rProductCatID field in the ProductCategory table to restrict the values to a list, but then I have to change the table structure when I want to add a new category. Any ideas? TIA. Daniel Ems Spatial Data Integrations Louisville, KY 502.568.2591 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] Interbase + PHP Error
On Thursday 01 March 2001 16:19, W. Yuen wrote: Hi Wicky To start with, never store the database file under your http document root, it is a big security risk. Can you connect to the databse with isql, using the same connection string ? If so, examine the log file to see what's going on (interbase.log in interbase's installation directory). If you're using the superserver version you shuold add localhost to /etc/hosts.equiv. p.s $ibname in your script seems to be CV.gdb (it's not set in the script you've posted). if the file is name cv.gdb it will not work. HTH -- Meir Kriheli There's someone in my head, but it's not me - Pink Floyd I am getting this error, but I don't know what the reason is for this error. can somebody help me out? Warning: InterBase: Unable to complete network request to host "localhost". Failed to establish a connection. Connection refused in /home/httpd/html/test/php-test/ibconnect.php on line 12 Can't connect to CV.gdb with SYSDBA user. Ibconnect.php look likes this: html head titleInterBase ISQL/title /head ? $ibdir="/home/http/html/test/php-test/"; ? BODY bgcolor="#ff" text="black"font face="arial,verdana,helvetica" size=3 bInterBase Connect/b/font p ? $ibfullname="localhost:" . $ibdir . $ibname; $conn=ibase_connect($ibfullname,$login,$password); if (!$conn) { echo "Can't connect to $ibname with $login user."; } else { echo "$ibname connected by $login user."; ibase_close($conn); } ? FORM ACTION="ibquery.php" METHOD="POST" table border=0 cellpadding=15 cellspacing=0 bgcolor="#6699cc" tr tdfont face='arial, helvetica' size=2Enter your query:/fontbr TEXTAREA NAME="query" ROWS="8" COLS="50"/textarea/td /trtr td INPUT TYPE=submit VALUE="Send" INPUT VALUE="Clear" TYPE=reset INPUT TYPE='HIDDEN' NAME='login'? echo "VALUE='$login'"; ? INPUT TYPE='HIDDEN' NAME='password' ? echo "VALUE='$password'"; ? INPUT TYPE='HIDDEN' NAME='ibname' ? echo "VALUE='$ibname'"; ? /td /tr /table /form /body /html Thnx for the help. Wicky -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP-DB] Drop down box
From: Ben Cairns [EMAIL PROTECTED] To: php-db [EMAIL PROTECTED] Subject: RE: [PHP-DB] Drop down box Date: Thu, 1 Mar 2001 14:06:21 + Hope this helps -- Ben Cairns - Head Of Technical Operations intasept.COM Tel: 01332 365333 Fax: 01332 346010 E-Mail: [EMAIL PROTECTED] Web: http://www.intasept.com "MAKING sense of the INFORMATION TECHNOLOGY age @ WORK.." Hope what helps? *lol* _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP-DB] How would you have liked to have invested in Yahoo when it was still a year old?
Its SPAM. Ignore it silently =8) ... or send an abuse mail to the sender's mail-provider. Greetinx, Michael Rudel - Web-Development, Systemadministration - ___ Suchtreffer AG Bleicherstrae 20 D-78467 Konstanz Germany fon: +49-(0)7531-89207-17 fax: +49-(0)7531-89207-13 e-mail: mailto:[EMAIL PROTECTED] internet: http://www.suchtreffer.de ___ -Original Message- From: Joe Brown [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 9:19 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] How would you have liked to have invested in Yahoo when it was still a year old? Excuse me for my lack of understanding, but what does this have to do with php or databases? "Jess Ragaza" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... or eBay? Well, I missed it too. Now we all have the great opportunity not only to relive it but also to help usher the real Information Highway and be rewarded for our vision and courage! Our company, Internet Architecture, Inc. will offer free web contents: true beginning applications of the Information Highway utilizing the much wider bandwidth of Digital Subscriber Line (DSL) and cable modems, supported by the latest satellite technology. These will be cutting edge technologies in virtual reality and spatial navigation applications: (1) "What if ..." situations for business and other decision making applications. This will be done in conjunction with the state of the art in artificial intelligence and virtual reality; (2) Spatial Navigation of roadways/topography/weather several miles ahead of your trip. This will be done with the help of Geopositioning and Weather Satellites; (3) floor plans and other design utilities. We have just successfully presented for the first time to a group of investors in Florida and will continue our pilgrimage as explained below to solicit financing for cutting edge technologies in virtual reality and spatial navigation applications.. Watch for the announcement in our web site for a presentation close to you. This will give you a unique opportunity to network and prospect as well. We are now presenting in the Washington, D.C./Virginia areas in February and March, 2001. We can be reached at 703-204-9698 and 321-287-7280. Attached is my recent offer of the same Multimedia presentation to individuals in key cities along my way. If you or anybody you know in your area may be interested, please respond. Or feel free to transmit this e-mail to anybody who may be interested. --- --- To: . Cc: . Subject: Now that my associate, the brilliant Mr. Fred Servillon, and I have given a fairly successful inaugural presentation of our company, to a group of investors in Tampa, I have decided to begin my expedition. First to the Washington, D.C. and Virginia areas per invitation of Amos and Ate Emelina Camp (Ate Emelina, my first cousin, is the eldest among the Ragaza clan), to the New York/New Jersey areas, to Chicago, to Fort Madison, Iowa, per invitation of my second cousin Johnny and his lovely wife, Dr. Cristina Rabo, and finally to the Sunnyvale/Palo Alto/Santa Clara areas. I will be leaving Florida on Saturday, January 27, 2001. Can you possibly arrange to have another such presentation in your area. It will be a multimedia presentation using MS PowerPoint superimposed against the already money-making web site http://www.internetarchitecture.com/ It will be not only educational (history of the internet, our competition Yahoo*, a new organizational concept that is similar to the internet, a bird's eye view of project development - systems planning, systems analysis, ..., etc.) but also creatively enjoyable. In Tampa we had so much fun (and boisterous, belly-aching laughter at times**) investigating various ... what if ... situations and the audience was actually actively participating in the solution and spontaneous humor! * This is a compelling story about the little train that could ... or David and GOLIATH ... check our business plan for introducing the following unproven free contents: virtual reality and spatial navigation, the real beginnings of the information highway. ** For example, one of the attendees loved the pulsating heart in the logo at the top of the menu/index on the left. When we visited the Playboy store, one of the occupants in our virtual mall, another attendee (a well known community leader here) noticed that suddenly the heart stopped beating! GOD really appears in mysterious ways?! Just below is the formal invitation we sent to the attendees of our inaugural presentation in Tampa. --- I am wholeheartedly inviting each
Re: [PHP-DB] Selecting number of news items on frontpage
David Siegel in "Creating Killer Web Sites" 1st edition said frames are good only for show details of a list of objects like recipes, products or in your case news! You can have a frameset with three frames say top, left and main (center). Put some ad on the top , the headlines of your news on the left and its bodies on the main frame . You can limit the number of headlines using the keyword "limit" ( see MySQL manual ) and put a anchor tag in every headline to a php script passing the "news_id" and show the selected new on the main frame. HTH Jayme. -Mensagem Original- De: Matthew Cothier [EMAIL PROTECTED] Para: [EMAIL PROTECTED] Enviada em: quarta-feira, 28 de fevereiro de 2001 13:13 Assunto: [PHP-DB] Selecting number of news items on frontpage I have a homepage which has a news headline system. Bascially via form the admin of the site can submit news which appears on the front page, the only problem is the news just keeps coming and I have a front page with too many headlines on. How can I make it so that say 7 articles appear on the front page and the rest can be accessed through some sort of archive? Perhaps a link underneath these articles to the archive? And the actual archive a page with the headlines listed that they can click on and view the story, the headlines listed in date order. How would I do this? _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] Drop down box
The action you want is only available using JavaScript. You need to submit the form without a submit button. The "select" tag has the "OnChange" event which is scriptable. You can use the JavaScript statement "this.form.submit();" associated with the "OnChange" event. form... select name="x" OnChange="this.form.submit();"option.. /select.../form It's a good idea to include the submit button as well, for browers that don't support javascript, or for those who turn it off. That way your site will always work properly. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] Drop down box
At 06:32 PM 3/1/2001 -0300, you wrote: The action you want is only available using JavaScript. True but the action *you* want is most definitely not what many of your *users* are going to want. If you use Javascript this way your site will be un-navigable if Javascript is turned off or the browser does not support it. What's the big deal about a single button click? Also, using Javascript this way means that if a user is just curious what the choices are, you force a refresh without them necessarily wanting one. IMHO of course. Cheers - Island Net AMT Solutions Group Inc. Telephone: 250 383-0096 1412 Quadra Toll Free:1 800 331-3055 Victoria, B.C. Fax:250 383-6698 V8W 2L1 E-Mail:[EMAIL PROTECTED] Canada WWW: http://www.islandnet.com/ - -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DB] [php-db] php install?
Hey, looking for a hand here. System Running: Win 98, Apache, PHP, Used Zip file for PHP install Problem: I keep getting the error= Syntax error on line 188 of f:/0_server/dc_apche/conf/httpd.conf: Cannot load c:/php/sapi/php4apache.dll into server: Now I have followed the install doc to the teeth, checking and double checking. I went to someones info site and they said that it was the dll in /windows/system/ wasn't there. But it is there. Unsure if this is related= Now if i comment out "just" the 'LoadModule' apache will start, but i come up with "missing odbc32.dll" when i go to load the php page (on my end that is), and the page produces a server error, obviously. Now does anyone have any suggestions other than the obvious ones that i don't have time for :), eg get linux, don't use win98, unless of course that that is the only option. thanx kev -- ++==++ || Kevin Horn || || NuI - System Administrator || ++--++ ||[EMAIL PROTECTED] || ||http://www.nui.wox.org|| ++==++ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] Drop down box
The event "OnChange" only happens when the user open the drop down list and change ( select ) a new value, this is not "just looking" . I don't like this kind of solution. If I have to put a button on the page I think the selection list must disappear. Why not give the user a interface with less "clicks"? May be we can reach another interface approach which turn it possible. Jayme. -Mensagem Original- De: Ron Brogden [EMAIL PROTECTED] Para: [EMAIL PROTECTED] Enviada em: quinta-feira, 1 de maro de 2001 18:48 Assunto: Re: [PHP-DB] Drop down box At 06:32 PM 3/1/2001 -0300, you wrote: The action you want is only available using JavaScript. True but the action *you* want is most definitely not what many of your *users* are going to want. If you use Javascript this way your site will be un-navigable if Javascript is turned off or the browser does not support it. What's the big deal about a single button click? Also, using Javascript this way means that if a user is just curious what the choices are, you force a refresh without them necessarily wanting one. IMHO of course. Cheers -- --- Island Net AMT Solutions Group Inc. Telephone: 250 383-0096 1412 Quadra Toll Free:1 800 331-3055 Victoria, B.C. Fax:250 383-6698 V8W 2L1 E-Mail: [EMAIL PROTECTED] Canada WWW: http://www.islandnet.com/ -- --- -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DB] How to display date?
Hi, How to display date (ex. 2001-03-01 in MySQL) into "1 March 2001" thanks -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]