[PHP-DB] Order DB through url toggle

2002-11-08 Thread Paul Ihrig
Hello All! i am new to the list to PHP.. So i have a recordset that displays my contacts in a table. the headers of the columns look like this. tda href=default2.php?orderBy=priLastNameLast Name/a/td so when a user clicks on it It will Re-Sort the rs by priLastName Asc. what i want to do is

RE: [PHP-DB] Order DB through url toggle

2002-11-08 Thread Paul Ihrig
well i tried that.. but it out puts the right number. but it is not taking that var to switch ACS or DESC... http://localhost/php/default2.php?orderBy=priLastNamedir=0 http://localhost/php/default2.php?orderBy=priLastNamedir=1 /* here we set up out order by clause */ $orderBy = 'priLastName';

RE: [PHP-DB] Order DB through url toggle

2002-11-08 Thread Paul Ihrig
Thanks Guys.. This seemed to do the trick /* and the desc asc */ $dir = ((isset ($_GET['dir'])) ? (int) $_GET['dir'] : 1); if (!$dir) $dir = ($dir ? 0 : 1); if ($HTTP_GET_VARS['dir'] == 0) { $diri = 'DESC'; } if ($HTTP_GET_VARS['dir'] == 1) { $diri = 'ASC'; }

[PHP-DB] Moving mySql db's odbc

2002-11-09 Thread Paul Ihrig
hey guys. new to php mySql how would i move a db from a test server to a production sever? would it just be C:\mysql\data\testC:\mysql\data\thisProductionDir would i just copy thisProductionDir or is there a better way? oh i wanted to know about how to set up a odbc data source with mySql,

[PHP-DB] date questions in mySql

2002-11-12 Thread Paul Ihrig
ok i can parse a date from mySql date field so it displays as: 08/06/1972 but if i insert it into the field in this format then the date gets hosed. do i have to insert as -mm-dd can i have a form field that has mm/dd/ but then change it on insert? how would i do this? thanks. -paul

[PHP-DB] any free php mySql Host's?

2002-11-13 Thread Paul Ihrig
Hey guys. i have a host at cfm-resources.com for coldfusion but now that i am getting into php. i would like to find a free host. any ones out there? thanks. -paul Whatever you can do, or dream you can, begin it. Boldness has genius, power, and magic in it. - Goethe web developer, that is

[PHP-DB] Forums?

2002-11-22 Thread Paul Ihrig
hey guys. a friend want help setting up a forum. what are some good easy to use ones out there? thanks -paul -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] works on production server but not on localhost

2003-11-19 Thread Paul Ihrig
hey guys.. just getting back in to using a little php. have 2 simple hit counters that work fine on the production server. but on my localhost it throughs several errors. looks like a permissions thing? i am not sure if there is a setting in my php.ini file that needs to be tweaked. kind of

RE: [PHP-DB] works on production server but not on localhost

2003-11-19 Thread Paul Ihrig
on these files to everybody. Maybe you have to give write permission to the directory too, I'm not sure about it. HTH Mustafa - Original Message - From: Paul Ihrig [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 2:16 PM Subject: [PHP-DB] works on production server

RE: [PHP-DB] works on production server but not on localhost

2003-11-19 Thread Paul Ihrig
- Administrative Tools -Internet Services Manager Click the Default Web Site on the list, directories will be shown Right click the directory the files reside and Select Properties You can give write permission to the directory here. HTH Mustafa - Original Message - From: Paul Ihrig [EMAIL

RE: [PHP-DB] works on production server but not on localhost

2003-11-19 Thread Paul Ihrig
security settings on directory itself eg full control for IUSR_.. to do this right click on directory -propertys- security add a user IUSR_... and give full access Works fine for me Jochem Paul Ihrig wrote: already tried that read write execute scripts. no go -Original Message

RE: [PHP-DB] works on production server but not on localhost

2003-11-19 Thread Paul Ihrig
it's ntfs -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] works on production server but not on localhost :: fix

2003-11-19 Thread Paul Ihrig
how weird is this just had to uncheck allow anonymous access. and keep checked Integrated Windows authentication just seems a bit silly... every thing works fine now. thanks for the help! will have better questions for you all in a day or so... -paul -- PHP Database Mailing List

[PHP-DB] RE: Subject: Hitcounter works on production server but not on localhost

2003-11-20 Thread Paul Ihrig
with the relative path to FX_DataCounter/wcbecounter.txt as well Cheers - Neil. At 13:25 20/11/2003 +, you wrote: From: Paul Ihrig [EMAIL PROTECTED] Date: Wed, 19 Nov 2003 07:16:11 -0500 Subject: works on production server but not on localhost hey guys.. just getting back in to using a little php. have