|
Dynamic Select Lists - 1st Selection Effects 2nd! > -----Original Message----- From: Rahul S. Johari [mailto:sleepwalker(a)rahulsjohari.com] Sent: Thursday, July 31, 2008 11:40 AM To: php-general(a)lists.php.net Subject: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd! Ave, What I have is two Select (Drop-Down) lists (State & County) and I... 31 Jul 2008 15:29
[PHP] Dynamic Select Lists - 1st Selection Effects 2nd! Ave, What I have is two Select (Drop-Down) lists (State & County) and I'm populating them from a mySQL table. What I want is when the user selects the State from the State List, the County List should only pull out counties associated with that State. Now I know that you can create such an effect using J... 31 Jul 2008 13:25
strange string evaluation Hello, with PHP 5.0.x this two lines of code returned "{TEST}": $var = "TEST"; print "\{$var}"; But with PHP 5.2.x, the same code returns "\{TEST}" If I remove the backslash: $var = "TEST"; print "{$var}"; then just "TEST" is return (without any brackets). What is the recommended way for PHP 5.2.... 31 Jul 2008 14:27
upload file problem I'm trying to upload the file. It's showing me successfully uploaded. But it's not able to move from temp directory to my defined directory my code: if (is_uploaded_file($_FILES['myfile']['tmp_name'])) { move_uploaded_file($_FILES['myfile']['tmp_name'], $myfilename); echo "File ". $_FILES['myfile']['name... 1 Aug 2008 01:45
PHP email Hi, Can someone tell me what the address is to change my @php.net redirect? Thanks. -- Richard Heyes http://www.phpguru.org ... 31 Jul 2008 14:27
Using $_GET for POST In handling an HTTP POST request I came across some PHP code, which I need to modify for my own purposes, which has code like this: if ( ! (isset($_GET['xxxxx']) && $_GET['xxxxx'] == 20) ) { // Do something by returning an error } Can this ever be correct when the form looks like: <form ENCT... 31 Jul 2008 09:17
Get Remote-Image Moin, kann mir mal wer auf die Sprünge helfen, ich bekomme es gerade nicht geregelt ein Image "on-the-fly" von einem Remote-Host per fsockopen auf meinen Server zu ziehen. Irgendwo hab ich da voll die Blockade ;) Mein "nichtfunktionierender" Versuch: .... .... $out = "GET ".<URL_REMOT... 31 Jul 2008 14:27
Back to Basics - Why Use Single Quotes? I have traditionally used double quotes going back to my PASCAL days. I see many PHP examples using single quotes, and I began to adopt that convention. Even updating existing code. And I broke some stuff that was doing variable expansion. So I am back to using double quotes. But I wonder, is there any ... 1 Aug 2008 17:09
Not able to load the extensions Apache 2.2 PHP 5.2.6 (as a module) Windows Relevant parts of php.ini ; Directory in which the loadable extensions (modules) reside. extension_dir = I:\php\ext extension=I:\php\ext\php_mssql.dll extension=I:\php\ext\php_mysql.dll Note: I did try it with just the name ("php_mysql.dll") but it doesn't seem... 30 Jul 2008 21:01 |