Re: [PHP] limiting rows and pages like google

2001-09-13 Thread Julian Wood
me or give me some example. TIA Adrian -- 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] -- Julian Wood Programmer/Analyst

Re: [PHP] Re: Data duplication in databases

2001-08-29 Thread Julian Wood
thing, you could create a link table to accomplish the same thing. HTH, James Potts Julian Wood [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, Don't know if this is the best place to ask, but I thought I would give it a try. I was just w

[PHP] Data duplication in databases

2001-08-28 Thread Julian Wood
one copy of the data and use references for the other records? Does this work if 7 out of the 8 columns (for instance) are identical (ie the primary key is different but everything else is identical). Do such db's exist? Or do they all do this? Or am I just dreaming? J -- Julian Wood Programmer

[PHP] Script timeout

2001-08-22 Thread Julian Wood
, as before. So, any idea what is going on? Why timeout at 300s instead of the 30s or the 12000s which are the only two values reported? Any other workarounds? This is php 4.0 Thanks, J -- Julian Wood Programmer/Analyst University of Calgary -- PHP General Mailing List (http://www.php.net

Re: [PHP] assigning a part of the name of a variable with another variable before php replaces it with the value

2001-07-26 Thread Julian Wood
To answer your question: $postfld = $HTTP_POST_VARS[$fname[$i]]; should work. BTW, I just use something like: if ($client) { // or in your case: if (${$fname[$i]}) // code to be evaluated if $client exists and is not 0, not null/void/nil, and is not an empty string } J Matthew DeChant

Re: [PHP] Post a form within a running php-script

2001-07-10 Thread Julian Wood
] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Julian Wood Multimedia developer University of Calgary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] Mac IE 5.0 upload problem

2001-05-18 Thread Julian Wood
was testing with some Quark Express file. Any help is appreciated. Jason Lam -- Julian Wood Learning Technologies and Digital Media University of Calgary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] Add data to three tables at once from one form

2001-04-19 Thread Julian Wood
That's it. There's nothing special to do. Except if one insert fails and the others succeed, you run into a bit of sync trouble. This is what transactions are for. You might want to consider a BDB table type, which supports transactions, then you have the option to rollback the other inserts

Re: [PHP] Handling Macintosh filenames in PHP

2001-04-19 Thread Julian Wood
of a snag. If anyone can offer any suggestions or advice, I'd really appreciate it. Thanks in advance. -- Julian Wood Learning Technologies and Digital Media University of Calgary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] mySQL - select column

2001-04-18 Thread Julian Wood
mysql). I guess what I'm asking - can you do a join on the mysql resultset array somehow. I know in the perl DBI you can get a column of results, but can't find it in php. Thx. J -- Julian Wood Learning Technologies and Digital Media University of Calgary -- PHP General Mailing List (http://w

Re: [PHP] Problems uploading Files

2001-03-22 Thread Julian Wood
you need to get going. Julian -- Julian Wood Multimedia Developer University of Calgary on 3/22/01 11:28 AM, John Almberg at [EMAIL PROTECTED] wrote: Hello Sebastian, What a timely posting! I am trying to figure out how to allow a user (using any internet-connected pc) to upload a file

Re: [PHP] JDBC? Was: [PHP] Hello! PHP

2001-03-17 Thread Julian Wood
features. Does that help? J on 3/16/01 7:36 PM, andrew at [EMAIL PROTECTED] wrote: On a related noted, does PHP have JDBC support? I'm unable to find anything about this - anyone know if it's possible? regards, andrew -- Julian Wood Learning Technologies and Digital Media University

Re: [PHP] JDBC? Was: [PHP] Hello! PHP

2001-03-17 Thread Julian Wood
to databases. what is the 'abstracted db layer' that you mention? regards, andrew On 3/17/01 2:52 PM, "Julian Wood" [EMAIL PROTECTED] wrote: I'm not quite sure what you mean. You use a JDBC driver to connect your java program to an sql db. PHP has an abstracted db layer which

Re: [PHP] MySQL problem - stumped

2001-03-10 Thread Julian Wood
anderbeck - Admin, GameDesign -- Julian Wood Learning Technologies and Digital Media University of Calgary -- 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] Calling Perl from PHP -- Help --

2001-03-06 Thread Julian Wood
d of input (to use @ARGV instead of ) on your Porter stemmer program to make it work properly. J -- Julian Wood Multimedia Developer University of Calgary on 3/5/01 11:53 PM, Matt Friedman at [EMAIL PROTECTED] wrote: I'm stumped. I've searched all over and can't figure this one out. I h

Re: [PHP] Is it odd or even??? Optimize!!!

2001-03-05 Thread Julian Wood
Clever. For those of us unfamiliar with bitwise ops, here's how this works: The bitwise and op () works on bits like this: dig1 dig2 Result 000 010 100 111 An even number's binary representation always ends with 0 (ie 12 = 1100) while an odd ends with 1 (ie 13

Re: [PHP] Re : [PHP] NETSCAPE screws QUERY STRING

2001-03-04 Thread Julian Wood
uch combinations as given in the manual. I tried out almost all!!! HELP T. Edison jr. -- Julian Wood Learning Technologies and Digital Media University of Calgary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP] Re : [PHP] NETSCAPE screws QUERY STRING

2001-03-04 Thread Julian Wood
\' where can i go from here? this has made the urlencode function to work...only part left now... T. Edison jr. --- Julian Wood [EMAIL PROTECTED] wrote: Try printf("a href=\"pro_page1.php3?title='".urlencode($myrow[title])."'\"") J on 3/

Re: [PHP] big database with php ?

2001-03-01 Thread Julian Wood
on the pertinent joins. Julian -- Julian Wood Multimedia Developer University of Calgary on 3/1/01 6:52 AM, Chris Lee at [EMAIL PROTECTED] wrote: on a 45mb table with 31,470 rows mysql takes this long. mysql SELECT stockno from products; ... 31470 rows in set (2.34 sec) mysql not exactly great

Re: [PHP] Odd PHP/MySQL Question

2001-03-01 Thread Julian Wood
select count(*), year from students group by year; on 3/1/01 12:07 PM, Kath at [EMAIL PROTECTED] wrote: I have a user database where a year has to be put in. Now, I want to compile a list of each different year and how many users are in that year. Is there a way to do this beyond

Re: [PHP] PHP trace route?

2001-02-26 Thread Julian Wood
Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -- Julian Wood Multimedia Developer University of Calgary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] HTTP POST Question

2001-02-20 Thread Julian Wood
flash to a php script - the script can do the unlink (make sure you have correct permissions and *build* the correct path), then return a result code back to flash. Not sure if I'm on target for your question or not. HTH, J -- Julian Wood Multimedia Developer University of Calgary on 2/20/01 9:46

Re: [PHP] Need to count number of rows per id! :(

2001-02-02 Thread Julian Wood
Are you looking for select topicID, count(*) from $secondtable group by topicID? This will give you a count of each distinct topicID in $secondtable. Julian -- Julian Wood Multimedia Developer University of Calgary on 2/2/01 6:15 PM, Sandeep Hundal at [EMAIL PROTECTED] wrote: Hey

Re: [PHP] Problem with a regex!

2001-01-27 Thread Julian Wood
on 1/27/01 6:56 PM, Zack Ham at [EMAIL PROTECTED] wrote: I had it echo off the value of $var right before it ran the ereg_replace and it echoed "TITLE". So there is a value... any ideas on fixing? --- Julian Wood [EMAIL PROTECTED] wrote: Why not use the php mechanism itself? A