phplib-users Mailing List for PHPLIB (Page 50)
Brought to you by:
nhruby,
richardarcher
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(106) |
Sep
(99) |
Oct
(44) |
Nov
(97) |
Dec
(60) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(56) |
Feb
(81) |
Mar
(134) |
Apr
(69) |
May
(106) |
Jun
(122) |
Jul
(98) |
Aug
(52) |
Sep
(184) |
Oct
(219) |
Nov
(102) |
Dec
(106) |
2003 |
Jan
(88) |
Feb
(37) |
Mar
(46) |
Apr
(51) |
May
(30) |
Jun
(17) |
Jul
(45) |
Aug
(19) |
Sep
(5) |
Oct
(4) |
Nov
(12) |
Dec
(7) |
2004 |
Jan
(11) |
Feb
(7) |
Mar
|
Apr
(15) |
May
(17) |
Jun
(13) |
Jul
(5) |
Aug
|
Sep
(8) |
Oct
(6) |
Nov
(21) |
Dec
(13) |
2005 |
Jan
(4) |
Feb
(3) |
Mar
(7) |
Apr
(7) |
May
|
Jun
(11) |
Jul
(7) |
Aug
|
Sep
|
Oct
|
Nov
(7) |
Dec
|
2006 |
Jan
(3) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(2) |
Jul
(1) |
Aug
|
Sep
|
Oct
(9) |
Nov
|
Dec
(5) |
2007 |
Jan
(15) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(9) |
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
(12) |
May
|
Jun
(3) |
Jul
(1) |
Aug
(19) |
Sep
(2) |
Oct
|
Nov
|
Dec
(6) |
2009 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
From: Donncha O C. <don...@tr...> - 2002-08-23 13:46:37
|
This'll probably do the job: http://tools.phpedit.net/phpCodeBeautifier/ Donncha. On Friday 23 August 2002 13:59, Marko Kaening wrote: > hi, > > I know it doesn't really belong here, but maybe such problem came acros= s > someone else as well. > |
From: Marko K. <Mar...@mc...> - 2002-08-23 12:59:33
|
hi, I know it doesn't really belong here, but maybe such problem came across someone else as well. I have alot of problems with code indention while editing php source, because of multi-user access to my code base and use of different editors. This results in wrong indents as well as mixed use of spaces and tabulators, whereas I prefer the latter. Also the tab-width changes from time to time... Messy. Is there a tool which can process a php source code file in such a manner that it will look nice and clean afterwards with all the right blocks and indentions, preferably a little configurable how to set {}-brackets for blocks. Thanks for your help. Marko |
From: Dr T. S. <ta...@sa...> - 2002-08-23 10:15:56
|
Hello Folks, Two of my programmers Girish <gi...@sa...> and Vinay <vi...@sa...> have hacked a meta element for OOH Forms It is a WYSIWYG HTML editor which can be used like(well almost) any other OOH form element - Unfortunately it is for Internet Explorer 5 or greater only, still useful for many people. http://www.sanisoft.com/ofwysiwyg/ HTH Tarique -- ============================================================= PHP Applications for E-Biz: http://www.sanisoft.com Indian PHP User Group: http://groups.yahoo.com/group/in-phpug ============================================================= |
From: Joel S. <js...@pa...> - 2002-08-23 07:17:11
|
Dr Tarique Sani wrote: >I guess soon SF will become paid, time to move PHPlib to savanah? > That seems pretty unlikely to me. If SF became a paid service then we'd all stop using it and IBM wouldn't get the publicity/sales that they were after. Cheers, Joel... -- Joel Sutton Software Developer Certified Advanced Cold Fusion Developer Paradigm 4 Internet Services Phone: (03) 9555 4408 Fax: (03) 9751 2371 Email: js...@pa... URL: http://www.paradigm4.com.au/ |
From: Dr T. S. <ta...@sa...> - 2002-08-23 06:32:34
|
Hi all, http://news.com.com/2100-1001-949505.html?tag=fd_top <snip> VA Software will move its SourceForge repository of open-source software projects to a foundation of proprietary IBM software, the companies plan to announce at the LinuxWorld Conference and Expo here. </snip> I guess soon SF will become paid, time to move PHPlib to savanah? Tarique -- ============================================================= PHP Applications for E-Biz: http://www.sanisoft.com Indian PHP User Group: http://groups.yahoo.com/group/in-phpug ============================================================= |
From: Dr T. S. <ta...@sa...> - 2002-08-22 06:52:22
|
On Wed, 21 Aug 2002 Chr...@as... wrote: Yes indeed the ?> is missing BUT nobody noticed it till now because you invariably use of_file as an include and the outer file oohform.inc catches it... Tarique > Hi, > > for learning i've looked at the source code of of_file.inc. > > The closing tag ?>' at the end of the file is missing. > Similar files like of_text.inc have the closing tag '?>'. > > Or am i wrong? > > CU, > > Christian > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Phplib-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phplib-users > -- ============================================================= PHP Applications for E-Biz: http://www.sanisoft.com Indian PHP User Group: http://groups.yahoo.com/group/in-phpug ============================================================= |
From: Dr T. S. <ta...@sa...> - 2002-08-22 06:49:29
|
On Wed, 21 Aug 2002, Chris Johnson wrote: > Tarique, I used PHP for non-web scripts all the time. It's getting better > at doing so in the most recent releases. So do I, so do I BUT from another list I gather that Zeev does not want this to be emphasised at all... > What I'd really like to see is a multi-threaded PHP application server, so > that I can write middle-tier business-logic services in PHP. :-) Yes with multithreading and PHP-GTK you can really make great apps Tarique -- ============================================================= PHP Applications for E-Biz: http://www.sanisoft.com Indian PHP User Group: http://groups.yahoo.com/group/in-phpug ============================================================= |
From: Giancarlo <gia...@na...> - 2002-08-21 21:51:58
|
Well, I spoke too early.=20 The latest discussions on php-dev resurged that awful arbitrary-id creati= on=20 possibility. I mean, PHP4 sessions without that, plus the use_only_cookie and some de= eper=20 gc possibility (at least at a max depth of 3 to promote per-user save_pat= h in=20 a vhost environment) could nearly equate the functionalities available to= =20 traditional phplib session handling, at least while in a light-security,=20 unathenticated session. Without these changes, I wouldn't feel like suggesting the php4 session=20 stuff., you know that Gian Il 22:40, mercoled=EC 21 agosto 2002, Chris Johnson ha scritto: > On Tue, Aug 20, 2002 at 10:14:54AM +0530, Dr Tarique Sani wrote: > > On Mon, 19 Aug 2002, Giancarlo wrote: > > > > Good work Giancarlo!! > > > > Now can someone convince Zeev that it is OK for PHP to do things othe= r > > than web applications ;-) > > > > Tarique > > > > Giancarlo wrote: > > > VV! > > > > > > -------- Original Message -------- > > > Subject: Re: [PHP-DEV] trans-sid warning? > > > From: ra...@ph... (Rasmus Lerdorf) > > > To: Giancarlo <gia...@na...> > > > > > > Ok, then that is a bug that needs to be fixed before 4.3. > > Yes, thank you, Giancarlo! Nice work. > > Tarique, I used PHP for non-web scripts all the time. It's getting bet= ter > at doing so in the most recent releases. > > What I'd really like to see is a multi-threaded PHP application server,= so > that I can write middle-tier business-logic services in PHP. :-) |
From: Chris J. <ch...@ch...> - 2002-08-21 20:40:55
|
On Tue, Aug 20, 2002 at 10:14:54AM +0530, Dr Tarique Sani wrote: > On Mon, 19 Aug 2002, Giancarlo wrote: > > Good work Giancarlo!! > > Now can someone convince Zeev that it is OK for PHP to do things other > than web applications ;-) > > Tarique > Giancarlo wrote: > > VV! > > > > -------- Original Message -------- > > Subject: Re: [PHP-DEV] trans-sid warning? > > From: ra...@ph... (Rasmus Lerdorf) > > To: Giancarlo <gia...@na...> > > Ok, then that is a bug that needs to be fixed before 4.3. Yes, thank you, Giancarlo! Nice work. Tarique, I used PHP for non-web scripts all the time. It's getting better at doing so in the most recent releases. What I'd really like to see is a multi-threaded PHP application server, so that I can write middle-tier business-logic services in PHP. :-) -- ..chris |
From: Michael C. <mdc...@mi...> - 2002-08-21 17:28:59
|
On Wed, Aug 21, 2002 at 12:51:56PM -0400, Michael J. Huber wrote: > We want to provide users a list of options (as a list of links) and set > a session variable to denote the choice when a link is clicked on. > This is to avoid having to encode that data into the URL, we are trying > keep everything on the server we can. Any ideas on how to do this, or > suggestions of a better option? > > The page the user will be taken to will be dynamically created based on > the choice made, so we can't (don't want to) have a .php file for each > option (the options themselves are also dynamic and user configurable). No offense, but this question represents a very fundamental misunderstanding of web programming. If the link has no distinguishing characteristics, how can the server know what you clicked? By definition, it cannot. If you want to "hide" the query variables (and by "hide", I really mean "hide from morons") you can make a small form with some post variables and instead of links put submit buttons. Or links with a Javascript submit that'll only work if Javascript is enabled. It's a lot of effort for little, if any, gain. Ultimately, I think you're trying to solve a non-problem. Michael -- Michael Darrin Chaney mdc...@mi... http://www.michaelchaney.com/ |
From: Michael J. H. <mic...@so...> - 2002-08-21 16:52:06
|
We want to provide users a list of options (as a list of links) and set a session variable to denote the choice when a link is clicked on. This is to avoid having to encode that data into the URL, we are trying keep everything on the server we can. Any ideas on how to do this, or suggestions of a better option? The page the user will be taken to will be dynamically created based on the choice made, so we can't (don't want to) have a .php file for each option (the options themselves are also dynamic and user configurable). Thanks in advance. ________________________________________________________________ / Michael Huber Systems Administrator \ \_______________________Solipsys_Corporation_____________________/ |
From: <Chr...@as...> - 2002-08-21 06:49:48
|
Hi, for learning i've looked at the source code of of_file.inc. The closing tag ?>' at the end of the file is missing. Similar files like of_text.inc have the closing tag '?>'. Or am i wrong? CU, Christian |
From: <se...@as...> - 2002-08-21 06:45:47
|
Hi, for learning i've looked at the source code of of_file.inc. The closing tag ?>' at the end of the file is missing. Similar files like of_text.inc have the closing tag '?>'. Or am i wrong? CU, Christian |
From: Giancarlo P. <gia...@na...> - 2002-08-20 09:11:07
|
My subsequent request has been to deepen the depth of possible session.save_path/gc at 3, so it makes possible for ISPs to configure per-user session paths, eg /home/user/tmp, without worry for gc. As I showed, being gc_maxlifetime INI_ALL, any vhost could, otherwise, force gc to wipeout the common cauldron in /tmp. In the end phplib could offer the possibility to use faster PHP4 sessions while not authenticated, and be configured to migrate to a more secure, classical/custom session for authenticated sessions only. Could this be a good compromise between speed and security? How would you configure that passage? I mean, the auth class is loaded *after* the session class..how can the auth object impose the use of a different session class? Then maybe that idea of mine to clone_and_migrate the actual session into a freshnew one, after authentication, could be the occasion for a session-type upward change. Gian |
From: Dr T. S. <ta...@sa...> - 2002-08-20 05:08:08
|
On Mon, 19 Aug 2002, Giancarlo wrote: Good work Giancarlo!! Now can someone convince Zeev that it is OK for PHP to do things other than web applications ;-) Tarique > VV! > > -------- Original Message -------- > Subject: Re: [PHP-DEV] trans-sid warning? > Date: Sun, 18 Aug 2002 16:14:32 -0700 (PDT) > From: ra...@ph... (Rasmus Lerdorf) > To: Giancarlo <gia...@na...> > CC: Dan Hardiker <dha...@st...>, <ph...@li...> > Newsgroups: php.dev > References: <200...@ww...> > > Ok, then that is a bug that needs to be fixed before 4.3. > > On Mon, 19 Aug 2002, Giancarlo wrote: > > > Il 00:13, luned?19 agosto 2002, hai scritto: > > > > Il 23:54, domenica 18 agosto 2002, Rasmus Lerdorf ha scritto: > > > > > Hrm.. Wait a second though, Giancarlo is saying that if the user > > > > > passes in a session id himself and that session does not exist, then > > > > > that will be the session id he will be given if a session is created > on > > > > > that request. Is that correct, Giancarlo? > > > > > > > > Well, yor browser has to be 'virgin' with regards to that cookie. > > > > You musn't have received one already. to be an available victim > > > > > > Even if you haven't received a cookie already, I don't think you can set > > > the session id the way you describe. Can you get PHP to create > > > /tmp/sess_123 given my example? > > > > > > > Yes, I do > > > > [root@pong tmp]# ls -l sess* > > -rw------- 1 nobody 4294967295 12 Aug 19 00:31 sess_123 > > > > it contains: > > > > a|s:3:"Foo"; > > > > Giancarlo > > > > > > -- > > PHP Development Mailing List <http://www.php.net/> > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Phplib-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phplib-users > -- ============================================================= PHP Applications for E-Biz: http://www.sanisoft.com Indian PHP User Group: http://groups.yahoo.com/group/in-phpug ============================================================= |
From: Mike G. <mi...@op...> - 2002-08-19 19:44:05
|
Hello, Although it's still an alpha, Back-end.org's latest alpha release will use phplib much more extensively. We've made some small changes to phplib and have included a recent version of phplib in the tarball: http://sourceforge.net/project/showfiles.php?group_id=6763&release_id=101183 It's heavily based on the work of phpSlash. We've added a bunch of stuff to make it more like a traditional CMS (rather than a slash site). Also worked on the multi-lingual aspect so that a single article can be represented in multiple different languages. Mike -- Mike Gifford, OpenConcept Consulting, http://www.openconcept.ca Open Source Web Applications for Social Change. Featured Client - http://www.learningpartnership.org To avoid criticism do nothing, say nothing, be nothing - Elbert Hubbard |
From: Giancarlo <gia...@na...> - 2002-08-18 23:37:29
|
VV! -------- Original Message -------- Subject: Re: [PHP-DEV] trans-sid warning? Date: Sun, 18 Aug 2002 16:14:32 -0700 (PDT) From: ra...@ph... (Rasmus Lerdorf) To: Giancarlo <gia...@na...> CC: Dan Hardiker <dha...@st...>, <ph...@li...> Newsgroups: php.dev References: <200...@ww...> Ok, then that is a bug that needs to be fixed before 4.3. On Mon, 19 Aug 2002, Giancarlo wrote: > Il 00:13, luned?19 agosto 2002, hai scritto: > > > Il 23:54, domenica 18 agosto 2002, Rasmus Lerdorf ha scritto: > > > > Hrm.. Wait a second though, Giancarlo is saying that if the user > > > > passes in a session id himself and that session does not exist, then > > > > that will be the session id he will be given if a session is created on > > > > that request. Is that correct, Giancarlo? > > > > > > Well, yor browser has to be 'virgin' with regards to that cookie. > > > You musn't have received one already. to be an available victim > > > > Even if you haven't received a cookie already, I don't think you can set > > the session id the way you describe. Can you get PHP to create > > /tmp/sess_123 given my example? > > > > Yes, I do > > [root@pong tmp]# ls -l sess* > -rw------- 1 nobody 4294967295 12 Aug 19 00:31 sess_123 > > it contains: > > a|s:3:"Foo"; > > Giancarlo > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > |
From: <at...@ne...> - 2002-08-13 19:56:08
|
Okay, so I'm using phplib in conjunction with ms access (through ODBC) and I want to be able to query the database using the "LIKE". For example ... BugIDs LIKE '%7%'; The problem is, for ms access, the wildcard character is *, not %. So I used ...BugIDs LIKE '*7*'; Even though this query works in the database itself, the results are not displayed on the web... Is there a way for me to use the wildcard and be able to perform the requred search? $t = new Table; $t -> heading = "on"; $t->show_results($db); What am I missing? |
From: Hans-Peter Z. <han...@un...> - 2002-08-13 06:17:48
|
Dear all, I'm new to phplib and tried the tpl_from example according the documentation. I was stuck on accessing/getting the user input values. I've overriden the function process_input() { $this->values=array("vhs_nr"=>$vhs_nr, "jahr"=>$jahr, "titel"=>$titel); return true; } but that didn't work. Here is my code (from the example) for displaying and getting the user input: $mf = new myform; $mf->init(array()); if ($ret = $mf->get_values()) { // $ret shoud be the array containig all user input values, isn't it? print "VHS-Nr = ". $ret["vhs_nr"]; //$mf->clear(); } else { $mf->display(); } Could anybody explain a little more on using tpl_form, or giving me some code samples? Thanks Hans-Peter |
From: Marco M. <new...@dk...> - 2002-08-12 23:32:12
|
Hi Donncha, sorry for the delay but my mail provider won't deliver my emails for a while. :-( Your hack worked - no errors where produced. But the authentication won't work properly. I log in as kris and test with admin privileges and the page sais: To access this page, the following permissions are required: admin. I won't let you access this page, because you have these permissions: admin. Huh? I can't belive there is no other user with PHP 3.0.18, latest PHPLIB CVS release who uses the basic funtionalities. Hey, where are you and tell me the trick. ;-) Cheers Marco Donncha O Caoimh schrieb: >What version of PHP are you using? >Try the following.. > >## back compatibility: if database_class is set, create db object >if(isset($this->database_class)) { > $t = $this->database_class; > $this->db = new $t; >} > >I know there was a problem with PHP3 using the original format. >Phplib 6.1 had this workaround.. It's still running on one of our servers! >Here's the original code: > >## Set up the database connection >$class = $this->database_class; ## PHP - I hate it! >$this->db = new $class; > >Donncha. > > > >On Thursday 01 August 2002 00:11, Marco wrote: > > >>Hi Peter, >> >>I looked in my local.inc. I've found some different extensions of the >>Auth class (to test some different kinds of logins). But all of them >>have a $database_call = "DB_Example"; in it. I think this should be ok. >> >>Marco >> >>Peter Kursawe wrote: >> >> >>>Hi Marco, >>> >>> >>> > > > |
From: <wo...@sw...> - 2002-08-12 16:11:54
|
This is a know bug with Apache, at least for MySQL and I would suspect any DB, because the code is on the apache side. It has to the do with the fact the algorithm that decides whether or not a given process connection is reusable in a new context (which it decides that it can't reuse) so it opens a new connection without closing the old connection(s) in case the MIGHT be reusable in future attempts, but they never are :(, because the algorithm is broken! Anyway, the work around is to change the phplib code to use NON- persistant connections. Just make the change and your problems should just go away. I think you can just grep ora_plogon * and change the "ora_plogon" to "ora_logon" -Steve On 12 Aug 2002 at 14:11, Arnar Gestsson wrote: > Hi there, > > I have been using db_oracle.inc from phplib which uses persistent > connection to the DB. Occationally I have got errors stating that no > more connections to the db are available. From the documentation I > gather that > > "there will be at most "number of web server processes" times "number of > Host/Username/Password-combinations" many simultaneous connections to > your database server" > > which means that for an apache server you can end up with tenths or > hundreds of connections, don't you? Is there a solution that keeps this > below certain numbers. My system consists of > > OS: Linux RH 7.x > Webserver: apache 1.3.2x > php: 4.x as mod_php > > BR Arnar > > ---------------------------------------------------------------- > Arnar Gestsson MSEE > Project Manager - TrackWell Software/Stefja > e: ar...@tr... > s: 5100605 > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phplib-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phplib-users > |
From: Arnar G. <ag...@tr...> - 2002-08-12 14:12:01
|
Hi there, I have been using db_oracle.inc from phplib which uses persistent connection to the DB. Occationally I have got errors stating that no more connections to the db are available. From the documentation I gather that=20 "there will be at most "number of web server processes" times "number of Host/Username/Password-combinations" many simultaneous connections to your database server" which means that for an apache server you can end up with tenths or hundreds of connections, don't you? Is there a solution that keeps this below certain numbers. My system consists of OS: Linux RH 7.x Webserver: apache 1.3.2x php: 4.x as mod_php BR Arnar ---------------------------------------------------------------- Arnar Gestsson MSEE Project Manager - TrackWell Software/Stefja e: ar...@tr... s: 5100605=20 |
From: Layne W. <la...@if...> - 2002-08-09 19:39:54
|
> it's gotta be something simple and I'm just missing it. > > I gotten phplib installed and running fine. Selects are no > problem, nor > are restricted selects. > > I would think there would be something for doing a simple > insert, Where > phplib would generate the table with blanks beside the > headers ready for > data to be input. > > The same for updates with the ability to select which row I > want to mod. PHPLib is an application framework, not a GUI database client. If you're using MySQL, take a look at phpMyAdmin <http://phpmyadmin.sourceforge.net>. It would be trivial to create what you're describing using PHPLib, but why reinvent the wheel? Layne Weathers Ifworld Inc. |
From: Roy C. <rc...@ho...> - 2002-08-09 19:17:27
|
it's gotta be something simple and I'm just missing it. I gotten phplib installed and running fine. Selects are no problem, nor are restricted selects. I would think there would be something for doing a simple insert, Where phplib would generate the table with blanks beside the headers ready for data to be input. The same for updates with the ability to select which row I want to mod. is there? ----- aka Dr. Roy F. Cabaniss US2002021452 |
From: Matthew L. <lei...@ma...> - 2002-08-09 15:03:05
|
On Fri, 9 Aug 2002, Stefan Melcher wrote: > Hello Matthew, > > thanks for you fast responding. So I solved my problem by your > suggestion in this way now: > > query="SELECT * FROM exampleDB"; > $db1->query($query); > $meta=$db1->metadata("", true); > while ($db1->next_record()) { > for ($i=0; $i<=$meta["num_fields"]; $i++) { > $col=$meta[$i]["name"]; > $$col=$db1->f($col); > } > echo $loginID; > echo $other_colnamevalues; > } > > Do you see an easier solution My favorite looper is foreach, because it eliminates the need for a dummy variable: foreach ($meta as $m) { $col = $m['name']; $$col = $db->f($col); } > or a chance to put this whole thing > into a function inside a new class that extends DB_Sql? > Tried this in my own class DB_Example in local.inc: > > class DB_Example extends DB_Sql { [...] > function get_values($table="") { > global $query; > $this->db = new $this->classname; > $this->db->query($query); > $meta=$this->db->metadata($table, true); > for ($i=0; $i<=$meta["num_fields"]; $i++) { > $col=$meta[$i]["name"]; > $$col=$this->db->Record[$col]; > } > return $$col; > } > } A couple of things are wrong with this. Query shouldn't be a global variable, and you shouldn't even call a query because as in the context below, you have already queried before you call this function. Finally, the variables you create and instantiate in the function scope don't get passed up. You could do function get_values() { $meta = $this->metadata("",true); foreach($meta as $m) { $col = $m['name']; $GLOBALS[$col] = $this->Record[$col]; } } But that would only put them in the global scope, and you would have to import them down after calling the function! I don't think PHP is really equipped to do this as a function. The extract method is fastest. It might be a little unkosher in that Record is labelled an internal variable, but it seems to me unlikely to change implementation. Then you have $db->query($whatever); while ($db->next_record()) { extract($db->Record); echo $loginID; // etc. } The EXTR_OVERWRITE specification is the default. See http://www.php.net/extract HTH, MPL > > > Which should be used in this context: > > $query="SELECT * FROM exampleDB; > $db->query($query); > while ($db->next_record()) { > $db->get_values(); > echo $loginID; > echo $other_colnamevalues; > } > > But this didn't worked. Any new ideas? > > Thanks and Greetings, > Stefan > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phplib-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phplib-users > -- ---------------------------------------------------------------- Matthew Leingang http://www.math.rutgers.edu/ Rutgers University lei...@ma... Department of Mathematics "This signature needs no quote." |