[PHP] blogger with ODBC support?

2002-10-26 Thread jaxon
hi, does anyone know of a blogger with ODBC support? cheers, jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] auction scripts?

2002-09-01 Thread jaxon
hi, can anyone relay experience or recommend a php-based ebay-style auction script? tkx, jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] postnuke / geekware?

2002-07-18 Thread jaxon
hi, anyone have an opinion on postnuke versus geekware for a php-based CMS? cheers, jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Functions Essential Reference??

2002-07-16 Thread jaxon
does anyone have a copy of the electronic version (free, i believe?) of the book "PHP Functions Essential Reference" ? the website http://www.php-er.com has been down and i am trying to locate it... cheers, jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] web-based frontend to Majordomo archives?

2002-07-16 Thread jaxon
hi, does anyone know of a yahoo-groups style web-based front end to Majorodomo using PHP? cheers, jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] i know it's been asked before... but virtual dedicated?

2002-03-19 Thread Jaxon
n PHP, etc?? - good dns to allow funky domain redirection cheers, jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] A good PHP Shop

2002-03-07 Thread Jaxon
www.fishcart.org :) i've been trying to decide which one to use to tackle a big mall project, but don't know enough about 'carts to make an intelligent assessment yet. cheers, jaxon > -Original Message- > From: Bradley Goldsmith [mailto:[EMAIL PROTECTED]] >

RE: [PHP] A good PHP Shop

2002-03-07 Thread Jaxon
hi how does it compare to fishcart? cheers, jaxon > -Original Message- > From: Bradley Goldsmith [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 07, 2002 4:40 PM > To: 'Peter Haywood'; [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: [PHP] A good

RE: [PHP] really weird problem

2002-02-14 Thread Jaxon
Lars, Thanks, you were right that IE was dumping things. I think there must have been some wacky line breaks or somesuch. Re-typing the file by hand produced success. cheers, jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] really weird problem

2002-02-14 Thread Jaxon
xt= "$page_name" . ".txt"; ?> when i call the page, i get no visible output - this is the resulting page source: so where the heck are the html tags coming from??? the other weird thing is that a file with just works fine! any ideas? cheers, jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] curious - any phpshop/core users?

2002-01-31 Thread Jaxon
inarycloud.org) but I've yet to find one that contains both modular site framework bits, a robust shopping cart, slash-style blogger, and good authentication. I'll keep digging; letcha know if I find something worth checking out. Cheers, Jaxon > -Original Message- > From

RE: [PHP] curious - any phpshop/core users?

2002-01-30 Thread Jaxon
thanks, but i'm looking for feedback on modular systems and shopping cart engines, not an IDE. vi works fine for me, at least for now :) cheers, jaxon > -Original Message- > From: Rick Emery [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 30, 2002 12:58 PM > To:

[PHP] curious - any phpshop/core users?

2002-01-30 Thread Jaxon
hi, has anyone used PHPShop and Core (www.phpshop.org) ?? i'm thinking about using it for a project and wanted to know if it's actually any good :) cheers, jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

[PHP] shopping cart reviews?

2002-01-15 Thread Jaxon
hi, can anyone point me at a set of reviews for various php-based shopping carts? cheers, jaxon -- PHP General 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

RE: [PHP] Logo proposal

2001-12-11 Thread Jaxon
how about a python? oh wait... > -Original Message- > From: Hugh Danaher [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 11, 2001 3:34 PM > To: Dan McCullough > Cc: Php-General > Subject: Re: [PHP] Logo proposal > > > How about a porpoise. They're fast, intelligent, and as Lewis Ca

[PHP] ODBC version of PHPMyAdmin?

2001-10-05 Thread Jaxon
Hi, Has anyone seen an ODBC version of PHPMyAdmin, or something similar; I want to use it with more than just MySQL (e.g. Postgres and SQLServer) Cheers, Jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: [PHP] Re: passing args to function?

2001-09-10 Thread Jaxon
ah! thanks Moody. silly jaxon, kicks are for trids. cheers, j > -Original Message- > From: Moody [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 10, 2001 1:01 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: passing args to function? > > > > I'm hav

[PHP] passing args to function?

2001-09-10 Thread Jaxon
{ echo "$text"; } } } ?> any pointers much appreciated!!! cheers, jaxon -- PHP General 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] parse error AFTER end of included file??

2001-08-28 Thread Jaxon
ed to close off this bit of code with a brace '}': > > if (!isset($page_id)) > { > > Kirk > > > -Original Message- > > From: Jaxon [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, August 28, 2001 9:34 AM > > To: [EMAIL PROTECTED]

[PHP] parse error AFTER end of included file??

2001-08-28 Thread Jaxon
Hi, Can anyone tell me why I have a parse error here? I'm including this file, which is 16 lines, but the error being thrown by the including page reports a parse error in this file on line 17 ???: cheers, jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

RE: [PHP] fatal input in flex scanner

2001-08-27 Thread Jaxon
New version, but it's CGI :( It's causing all sorts of problems. Thanks for the help, but I've killed this method in favor of including a file that includes the files :) best, jaxon > -Original Message- > From: Robert V. Zwink [mailto:[EMAIL PROTECTED]] > Sent:

RE: [PHP] Error while passing parameters as path

2001-08-27 Thread Jaxon
hrows Premature end of script headers). If anyone has ANY suggestions about how to get this working with the CGI version, it would be most appreciated! :) cheers, jaxon > -Original Message- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] > Sent: Sunday, August 26, 2001 9:

[PHP] fatal input in flex scanner

2001-08-24 Thread Jaxon
okay... I have a function that includes multiple files in a directory - it was working but I changed something and I'm now getting a "Fatal error: input in flex scanner failed" can anyone see where I messed up? cheers, jaxon --- function group_inc

[PHP] parse_url and cgi?

2001-08-23 Thread Jaxon
can someone answer the question - does parse_url in fact NOT work when using PHP as a cgi? i'm unable to make it work, and getting different answers from my isp, etc. cheers, jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

RE: [PHP] RE: help, weird include problem with functions

2001-08-10 Thread Jaxon
Renze, I found that it works if I pass only a variable or a path in, not both. e.g.opendir("/path/to/foo") works opendir("$variable") where variable contains "path/to/foo" also works opendir("$somevar/some/path") does NOT work. go

RE: [PHP] RE: help, weird include problem with functions

2001-08-09 Thread Jaxon
yes, I'm sure the directory exists :) here is the actual code, I suppose this would have been more helpful to start: http://localhost/modules in a settings file echo "$modroot from included"; //this echos "http://localhost/modules"; properly //the below throws the error, OpenDir: No such file

RE: [PHP] RE: help, weird include problem with functions

2001-08-09 Thread Jaxon
. hmmm... jaxon > -Original Message- > From: Renze Munnik [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 09, 2001 1:06 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [PHP] RE: help, weird include problem with functions > > > On Thu, Aug 09, 2001 at

[PHP] RE: help, weird include problem with functions

2001-08-09 Thread Jaxon
oh, this still happens when I fix the missing () in the foo declaration :) cheers, jaxon > -Original Message- > From: Jaxon [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 09, 2001 12:34 PM > To: [EMAIL PROTECTED] > Subject: help, weird include problem with functions

[PHP] help, weird include problem with functions

2001-08-09 Thread Jaxon
can anyone tell me why this doesn't work?? assuming I have these three files: settings.php is: page.php is: function.php is: for some reason the $bar in function foo() doesn't have a value... :( calling page.php only returns the $bar from page.php thanks in advance! jaxon

[PHP] in_array() with associate array?

2001-07-31 Thread Jaxon
hi, in_array is confusing me :) can someone show me an example of how to test if $some_array[some_key] actually has a value, without outputting the value? tia, jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] array from mysql help?

2001-07-24 Thread Jaxon
ow to reference information in it once I have it? e.g. a while list/each but for a multidimensional array? cheers, jaxon. -- PHP General 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] count number of form fields?

2001-07-13 Thread Jaxon
vance! jaxon -- PHP General 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] PHP authenticating and session management

2001-06-22 Thread Jaxon
Does this depend on cookies? regards, jaxon > -Original Message- > From: Style|warrioR [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 22, 2001 5:09 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] PHP authenticating and session management > > > I'm not quit

RE: [PHP] DOCUMENT_ROOT

2001-04-25 Thread Jaxon
in a shared hosting env) cheers, jaxon -- PHP General 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] Site Structure

2001-04-23 Thread Jaxon
Hmm... Is there any way to set something like include_path on the fly, so you just define all your possible direcories at once in what is essential a 'site environment' variable, and then you can include/require your files without putting any path info in? regards, jaxon >

[PHP] store array in a file?

2001-04-15 Thread jaxon
cript that does the necessary sql once. So - does this make sense? - how to sore the array in a flat file - any way to make the array global once loaded? Thanks for any pointers! cheers, jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] new php.net look

2001-04-07 Thread jaxon
regards, jaxon > > Thanks again! > > -- PHP General 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] new php.net look

2001-04-07 Thread jaxon
regards, jaxon > > Thanks again! > > -- PHP General 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] URL parsing

2001-03-25 Thread Jaxon
whups, sorry - here is the example: I want to turn URI's like: /script.php/main/index.html?junk=junk /script.php/main/index.html// /script.php/main/index.html?? all into: /script.php/main/index.html best regards, jaxon On 3/25/01 9:25 PM, "Aaron Tuller" <[EMAIL PROTECT

Re: [PHP] URL parsing

2001-03-25 Thread Jaxon
g's don't work reliably, due to the possibility of special chars in the URI. regards, jaxon On 3/25/01 3:18 PM, "Philip Olson" <[EMAIL PROTECTED]> wrote: > Hi! > > Check out these two related articles (and us

Re: [PHP] A few questions...

2001-03-25 Thread Jaxon
$i++) { $key=array_pop($path_array); $value=array_pop($path_array); config_array[$key] = $value } or something. regards, jaxon On 3/25/01 6:54 PM, "Chris Cocuzzo" <[EMAIL PROTECTED]> wrote: > right. ok I understand that explode function. But what I'm asking is not

Re: [PHP] A few questions...

2001-03-25 Thread Jaxon
er, so if you have http://www.somedomain.com/dir1/dir2/dir3/somepage3.php The URI is: /dir1/dir2/dir3/somepage3.php and 'exploding' divides that into array elements (dir1, dir2, dir3, somepage.php) regards, jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] Requesting username/pwd with apache and aqcuiring input

2001-03-25 Thread Jaxon
check this out: http://www.zend.com/zend/tut/authentication.php regards, jaxon On 3/25/01 5:59 PM, "NoSpeed" <[EMAIL PROTECTED]> wrote: > Hi > > I wondered if it was possible in PHP to let it pop up a screen which > reqcuires username/pwd from the visitor, just li

Re: [PHP] A few questions...

2001-03-25 Thread Jaxon
fter the file name, or no file name at all, just a > question mark directly after the slash? probably the a .htaccess or apache.conf directive: ForceType application/x-httpd-php3 This would send everything to a script called "local". This is from: http://phpbuilder.com/columns/tim

Re: [PHP] URL parsing

2001-03-25 Thread Jaxon
et page name from end of array $tpl= array_pop($path_array); //get page type from next item but is inelegant :) regards, jaxon > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Jaxon) wrote: > >> Any way to combine both forms of url parsing? >> I wan

Re: [PHP] URL parsing

2001-03-25 Thread Jaxon
($ii) // how do I grab value and truncate $REQUEST_URI $path_array = explode('/', $REQUEST_URI); $page_name = array_pop($path_array); //get page name from end of array $page_type = array_pop($path_array); //get page type from next item best regards, jaxon On 3/23/01 9:09

[PHP] indirectly call function?

2001-03-24 Thread Jaxon
the page shows "mod_news()" instead of calling my function :( It works if I use but not if I'm trying to hold the function name in the variable. I've tried all to no avail. any ideas? tks! jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

[PHP] breadcrumbs? (Was: URL parsing)

2001-03-23 Thread Jaxon
path now? $crumbs_div = " >> "; //use to divide the breadcrumbs for ($i=0, $i <= $crumbs_length; $i++); { list($position, $value) = each($path_array); echo $value; echo $crumb_div; } echo($pagename); } now, anyone have any idea h

Re: [PHP] URL parsing

2001-03-23 Thread Jaxon
Oh wait, just do this in my page : URL -> index.php/main/1/pagename.html $path_array = explode('/', $REQUEST_URI); $tpl = $path_array[0]; $ii = $path_array[1]; $pagename = $path_array[2]; that works - sorry for being obtuse. regards, jaxon On 3/23/01 9:

Re: [PHP] URL parsing

2001-03-23 Thread Jaxon
would slow the page down - what do folks think? regards, jaxon On 3/23/01 9:09 PM, "Aaron Tuller" <[EMAIL PROTECTED]> wrote: > super easy. > > $path_array = explode('/', $REQUEST_URI); > $numPathElements = count($path_array); > > then loop thr

[PHP] quick array questions

2001-03-23 Thread Jaxon
can an array be stored in a database field? E.g. make a few runtime settings for a page, store the settings as an array in a field, and use that array to make some runtime settings? Follow up to that question, can that array be persisted from page to page without a cookie? regards, jaxon

Re: [PHP] URL parsing

2001-03-23 Thread Jaxon
how about parsing a url from passing variables like : test.php/op/3/op2/6/pagename.html cannot this be parsed, to let search engines spider past the "?" properly? regards, jaxon On 3/23/01 7:46 PM, "Richard Lynch" <[EMAIL PROTECTED]> wrote: > I think you can ch

Re: [PHP] Problem with cookies

2001-03-23 Thread Jaxon
Rob, perhaps some code? regards, jaxon On 3/23/01 7:03 PM, "wx" <[EMAIL PROTECTED]> wrote: > Hello: > > I've set up a authentication script in PHP, and have made it to where once > the user has been successfully authenticated, it puts the username > ($

[PHP] parse error inside comment????

2001-03-20 Thread Jaxon
27;, even if the lines in question are commented out. thanks in advance for ANY pointers. cheers! jaxon -- PHP General 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] Replace a string in array then re-write line.

2001-03-08 Thread Jaxon
$array)); just my .02: regards, jaxon On 3/8/01 10:53 PM, "enthalpy" <[EMAIL PROTECTED]> wrote: > > ok so im using fopen to read a file split each line in to an array. Check > those variables against the same situation with a different file. Replace > a string in

Re: [PHP] HREFs that can't be

2001-03-01 Thread Jaxon
on the client, though... hth, jaxon On 3/1/01 9:37 PM, "Boget, Chris" <[EMAIL PROTECTED]> wrote: > I know I've been posing some funky wierd questions > all day, but today has just been one of those days... > I'm just trying to get a sense of other possibilities.

Re: [PHP] What means "can't truncate sockets!"

2001-03-01 Thread Jaxon
fopen ($filename, "r"); $contents = fread ($fd, filesize ($filename)); fclose ($fd); then truncate $contents not sure, but should work... regards, jaxon On 3/1/01 7:32 PM, "SED" <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to truncate a txt-file which I

[PHP] nested include, eval, and function declaration problems

2001-02-27 Thread Jaxon
redeclare functOne() after is has been used... plus, it's ugly. ANY pointers appreciated... cheers! jaxon -- PHP General 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] parse error on line after last one???

2001-02-27 Thread Jaxon
it just poor error reporting?? Cheers! jaxon -- PHP General 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] really weird html - was "extract() help"

2001-02-24 Thread Jaxon
gak. everyone ignore me. idiocy is setting in this late at night. stoopid me put a tag INSIDE the loop. and thanks CC Zona for the pointer on the var_dump() - very helpful! regards, jaxon On 2/25/01 2:38 AM, "Jaxon" <[EMAIL PROTECTED]> wrote: > I replaced extract() with $

[PHP] really weird html - was "extract() help"

2001-02-24 Thread Jaxon
I replaced extract() with $row[] - much better. Now I have the strangest thing happening - the html formatting only applies to the first iteration in the loop, even though it shows up in the html source!! regard, jaxon html generation: for ($i = 1; $i <= 5;

[PHP] extract() help

2001-02-24 Thread Jaxon
... any pointers? tia! jaxon "; if (!isset($max)) $max=5; //upper limit of news boxes to build for ($i = 1; $i <= $max; $i++) { $sql="select i.nID, i.date, i.headline, i.subtitle, i.blurb from news_items i, news_box b where i.nID = b.nID a

[PHP] best slashdot?

2001-02-22 Thread Jaxon
I hate to post flamebait, but I genuinely want to know - what have people liked as far as a slasdot style PHP apps? I would love one that has integrated user management and mailing lists :) TIA, and sorry for the YAWIB (yet another which-is-best) post. regards, jaxon -- PHP General Mailing

[PHP] image orientation?

2001-02-21 Thread Jaxon
Hi, Is there any way to take an image from the filesystem, say a .jpg or .png, and display it in a different orientation? e.g. 20 degrees to the right? best regards, jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] is eval expensive?

2001-02-20 Thread Jaxon
Hi, is eval() really that expensive? I want to parse a bunch of PHP 'modules' into an HTML string, so I can mostly separate content from markup. I've found a couple of comments on the list that say it is expensive, but none of my PHP books mention it :) cheers! jaxon -- PHP

Re: [PHP] fread strangeness (was: nested echo and includes, mixedhtml / PHP)

2001-02-19 Thread Jaxon
parsing PHP tags. nesting them in multiple ways allows very dynamic code reuse and modular page building, which is your friend. cheers! jaxon On 2/19/01 8:03 PM, "David Robley" <[EMAIL PROTECTED]> wrote: > On Tue, 20 Feb 2001 11:37, Jaxon wrote: >> Same problem

[PHP] fread strangeness (was: nested echo and includes, mixed html /PHP)

2001-02-19 Thread Jaxon
e PHP? help! jaxon On 2/19/01 6:16 PM, "Jaxon" <[EMAIL PROTECTED]> wrote: > Hi PHPers! > > I'm doing a simple page build by: > - reading file.html into $string > - reading variables into $array > > and then: > echo (strtr($string, $array); > >

[PHP] nested echo and includes, mixed html / PHP

2001-02-19 Thread Jaxon
e 'modules'. This is not working, e.g. the PHP in $string is not getting parsed by PHP before being output to the browser, although I DO see the PHP in the resultant page source...any ideas? Any comments welcome! regards, jaxon -- PHP General Mailing List (http://www.php.net/) To unsubsc

[PHP] send error messages via email?

2001-02-18 Thread Jaxon
Hi, May be a silly newbie question, but is there a way to send captured warnings and errors when calling a script to an admin email? Perhaps configure either apache or php_mod to point all error reporting to a script that does this? I'd appreciate any suggestions! Thanks! Jaxon --

Re: [PHP] can we select image field from mssql use php

2001-02-15 Thread Jaxon
space - i'm not sure how to track what the other application is. regards, jaxon On 2/16/01 12:51 AM, "codemake" <[EMAIL PROTECTED]> wrote: > hi: > i use php 4.0 and win 2000 chinese edition and mssql 7.0 > i have table with image field name is "isospicture&quo

Re: [PHP] afraid !

2001-02-11 Thread Jaxon
anyone try myphpPagetool? it seems to be of the same camp. regards, jaxon On 2/11/01 10:28 PM, "Kath" <[EMAIL PROTECTED]> wrote: > Hell yes to phpmyadmin, IMHO. > > I use it on all my servers. > > - Kath > > - Original Message - > From: &qu

Re: [PHP] First connection?

2001-02-11 Thread Jaxon
p.net/manual/en/ref.mysql.php HTH! regards, jaxon On 2/11/01 4:40 PM, "Info" <[EMAIL PROTECTED]> wrote: > Hi, > > Fifteen years ago I did lots of Informix SQL on Unix -- including transaction > processing -- BUT I find there isn't a lot of immediate help from t

Re: [PHP] oops - wrong! (was: how to alter assoc_array?)

2001-02-11 Thread Jaxon
"~" . $key; $tagged_array[$key] = $value; } thanks! jaxon On 2/11/01 4:10 PM, "Jaxon" <[EMAIL PROTECTED]> wrote: >Okay, I don't have it :) >This should be recreating a 3 row array of key:value pairs with a "~" >character prepended to each key, but is o

[PHP] oops - wrong! (was: how to alter assoc_array?)

2001-02-11 Thread Jaxon
) = each($array); $key_prep="~$key"; $new_array=array("$key_prep => $value"); echo $key_prep; echo " assigned to "; echo $value; } outputs: ~boy assigned to hello where are my other two rows? :) regards, jaxon >>> If $arr

Re: [PHP] how to alter assoc_array?

2001-02-10 Thread Jaxon
jason, thanks ... got it. while($row = mysql_fetch_array($result, MYSQL_ASSOC)){ list($key, $value) = each($row); $key_new="X.$key"; $value_new="X.$value"; $new_array=array($key_new => $value_new"); } thanks, jaxon On 2/10/01 2:32 PM, "jas

[PHP] how to alter assoc_array?

2001-02-10 Thread Jaxon
Hi folks! If $array contains the following: boy => hello girl => hi dog => bark How can I alter all the elements the same way? e.g. so that it now conatins: Xboy => Xhello Xgirl => Xhi Xdog => Xbark thanks! jaxon -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] ereg_replace with assoc array?

2001-02-08 Thread Jaxon
ng - I want to use special {} characters in my file.tpl. Does anyone know if there is some way I can tell strtr to only evaluate items in {} tag for replacing? regards, jaxon On 2/8/01 5:49 PM, "Brad S. Jackson" <[EMAIL PROTECTED]> wrote: > > > See the documenta

[PHP] ereg_replace with assoc array?

2001-02-08 Thread Jaxon
html {first} more html {second} even more html {third} lots more html {fourth} This seems like a slow way to do this... any advice is welcome! tia! jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] passing array to function?

2001-02-06 Thread Jaxon
How do you write a function that takes an array as an argument? Could someone please point me at an example? Regards, Jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP] db forms creator?

2001-02-04 Thread Jaxon
oblem is I can't find the site now :) has anyone else found this? Regards, jaxon -- PHP General 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] mysql_fetch_array strangeness

2001-01-21 Thread Jaxon
echo the data: while (list($fieldName, $fieldValue) = each($rowData)) { echo "$fieldName,$fieldValue," ;} Then a value is echoed after both the index number and the field value, eg: 0,1,id,1,1,testlist,listname,testlist, etc... What am I doing wrong? Regards, Jaxon -- PHP Gen

Re: [PHP] Please: XTemplate help?

2001-01-20 Thread Jaxon
Cool, so just iterate through the array and sort it into the template assignment - quite nice! Thanks for the pointers Kristi! Regards, Jaxon On 1/20/01 3:37 PM, "Kristi Russell" <[EMAIL PROTECTED]> wrote: > while ( $rowData = mysql_fetch_array($result)) > { > list

Re: [PHP] Please: XTemplate help?

2001-01-20 Thread Jaxon
here any way to use the array itself as the assignment, or tell XTemplate to do so? That way I can use one file to generate pages from different templates. Regards, Jaxon On 1/20/01 12:26 PM, "Kristi Russell" <[EMAIL PROTECTED]> wrote: > require "xtpl.p"; //inc

[PHP] Please: XTemplate help?

2001-01-20 Thread Jaxon
hanks in advance for any help! Regards, Jaxon -- PHP General 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] help - templating?

2001-01-19 Thread Jaxon
I think the code below is pretty simple... Can anyone suggest ANY way to do the bit in my last comment block??? thanks in advance! Jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact