Re: [PHP] Variable functions within an object

2004-07-29 Thread Curt Zirzow
* Thus wrote Julio Sergio Santana: > > class a { > var $fname; > function a() { > $this->fname = 'foo'; // the name of the function > } > > function execute() { // method to execute the named function > $this->fname(); > // I also tried here > // {$this->fname}(); > //

[PHP] Re: Searching and removing

2004-07-29 Thread Jonathan Lassoff
Justin Patrin gmail.com> writes: > Assuming there's only one table in the document > > preg_match('!]*>.*!i', $text, $matches); > $table = $matches[0]; Thanks! I thought that I was putting it into a variable, but poking around with the script, it actually is just pooping out all the fetched

Re: [PHP] Variable functions within an object

2004-07-29 Thread Jason Davidson
http://ca3.php.net/manual/en/function.call-user-func.php ? Jason On Thu, 29 Jul 2004 17:11:50 -0500, Julio Sergio Santana <[EMAIL PROTECTED]> wrote: > I need to record the names of functions, and then use them later. > Recently I found the following example within the on-line documentation: >

Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread Curt Zirzow
* Thus wrote John Nichel: > Harlequin wrote: > >RTFM...? > > > > AKA : Read The F**king Manual I thought the proper response was suppose to be: STFW :) Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the t

Re: [PHP] Re: Searching and removing

2004-07-29 Thread Justin Patrin
On Thu, 29 Jul 2004 23:25:41 + (UTC), Jonathan Lassoff <[EMAIL PROTECTED]> wrote: > Justin Patrin gmail.com> writes: > > Assuming there's only one table in the document > > > > preg_match('!]*>.*!i', $text, $matches); > > $table = $matches[0]; > > Thanks! I thought that I was putting it i

Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread Harlequin
Mmmm... Interesting Jay. Maybe I'll just WTFM mate :) -- - Michael Mason Arras People www.arraspeople.co.uk - "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] I have a table generated by some code that

[PHP] Re: Searching and removing

2004-07-29 Thread Jonathan Lassoff
Justin Patrin gmail.com> writes: > You could "fix" this script by actually giving it a file to output to > and reading it or by using output buffering to grab the output into a > string. > > Or you could use some code which gives you a better interface for all > of this, such as: > http://pear.ph

Re: [PHP] Re: Searching and removing

2004-07-29 Thread Justin Patrin
On Fri, 30 Jul 2004 00:06:33 + (UTC), Jonathan Lassoff <[EMAIL PROTECTED]> wrote: > Justin Patrin gmail.com> writes: > > You could "fix" this script by actually giving it a file to output to > > and reading it or by using output buffering to grab the output into a > > string. > > > > Or you co

Re: [PHP] Re: Searching and removing

2004-07-29 Thread Justin Patrin
On Thu, 29 Jul 2004 17:25:10 -0700, Justin Patrin <[EMAIL PROTECTED]> wrote: > On Fri, 30 Jul 2004 00:06:33 + (UTC), Jonathan Lassoff > <[EMAIL PROTECTED]> wrote: > > Justin Patrin gmail.com> writes: > > > You could "fix" this script by actually giving it a file to output to > > > and reading

Re: [PHP] Re: Searching and removing

2004-07-29 Thread Matt M.
> I would rather not put it into a file as it will be changing in real time > dynamically so it would put some strain on the filesystem. All I really want to > do now is just stick it into a string variable. How could I do that? you could just use http://us2.php.net/file_get_contents -- PHP Gen

[PHP] How to nest information from different tables.

2004-07-29 Thread Karl-Heinz Schulz
I have two tables with relevant information's; Table1 -> event Table 2 -> eventdetails I'm trying to list all events in table one plus to show for each event whatever documents are available (file_name, information) My code to list all events from the "event" table is: ".html_decode($event[

RE: [PHP] Server's clock gone funny, maybe?

2004-07-29 Thread David Robley
On Fri, 30 Jul 2004 03:45, Matthew Sims wrote: >> >> [smartass mode to full power - nothing personl] >> [/smartass mode] > > Is that W3C HTML 4.01 compliant? > I believe it is XNML - extended noob markup language -- David Robley Lawyers: The larval form of politicians. -- PHP General Maili

Re: [PHP] How to nest information from different tables.

2004-07-29 Thread zareef ahmed
Hi, You can use join or make this query as follows $query="select *(or coulmn name) from event, eventdetails where event.id = eventdetails.id"; zareef ahmed --- Karl-Heinz Schulz <[EMAIL PROTECTED]> wrote: > I have two tables with relevant information's; > > Table1 -> event > Table 2 -> event

Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread John Nichel
John Holmes wrote: Why not simply 'Read The Fine Manual', or 'Read The Fantastic Manual'? Why does it have to contain profanity? For all practical purposes: RTFM == "read the manual" If someone finds it offensive then they're either delusional or paranoid or more likely both! If I'm off

[PHP] Re: A native Windows binding for PHP

2004-07-29 Thread Manuel Lemos
Hello, "Rubem Pechansky" <[EMAIL PROTECTED]> wrote in message.. I have designed and successfully prototyped a native Windows binding for PHP. This binding is already capable of doing dialogs, controls, and a lot more with very few lines of code. PHP can thus be used as a tool for developing native

Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread John Nichel
Brian Dunning wrote: I'm among those who are really pissed off when I see honest questions being answered with 'RTFM' or 'STFW'. I am relatively new to PHP, but by no means am I new to programming: like everyone else here, I already know how to RTFM and STFW. But sometimes I like to get an opini

Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread John Nichel
Curt Zirzow wrote: * Thus wrote John Nichel: Harlequin wrote: RTFM...? AKA : Read The F**king Manual I thought the proper response was suppose to be: STFW :) Oh man, that would have been perfect. I'm slipping in my old age. ;) -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP Gen

Re: [PHP] Re: A native Windows binding for PHP

2004-07-29 Thread Travis Low
Another way to make money on free software is consulting. Many organizations don't have the time, resources, or interest in adapting free software for their needs. cheers, Travis Manuel Lemos wrote: Hello, "Rubem Pechansky" <[EMAIL PROTECTED]> wrote in message.. I have designed and successfully

[PHP] Re: Conversion of Field Value to Hyperlink

2004-07-29 Thread Jason Barnett
Harlequin wrote: Afternoon... I have a table generated by some code that returns certain field values and drops them into a table. On of these values is ID and I'd like to convert it I wouldn't let users create their own primary key for any type of inserts, if that's what you're using ID for. Use

<    1   2