> Brandon Orther
> WebIntellects Design/Development Manager
> [EMAIL PROTECTED]
> 800-994-6364
> www.webintellects.com
> --------
>
--
Julian Wood
Multimedia Developer
University of Calgary
--
PHP General Mailing Lis
performance,
unless you're missing indexes 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 fr
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
ething] being picked up
> by mySQL db.
>
> this works :
>
>
>
> this doesn't work :
>
> printf(" href=\"pro_page1.php3?title='urlencode($myrow[title])'\">")
>
> OR such combinations as given in the manual. I tried
>
'value value2\'
>
> 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(">
> href=\"pro_page1.php3?title=
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
e @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.
;
>>>
>>> And here is the output:
>>> Errors:
>>> Warning: Supplied argument is not a valid MySQL-Link resource in
>>> /****/*//**..***/db.php on line 147
>>>
>>> Line 147, is the last line in the above snippet. I
pecific db
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
>
>
--
Juli
wondering if PHP can use JDBC drivers to connect 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
the lack of subqueries
in 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
--
> 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
o? The project I'm doing relies on the ability to do just that,
> and it would appear that I've hit a bit 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
Uni
You might also want to remove the comma after "url = '$url'" and try an echo
mysql_error($link) to see what the problem is.
Julian
on 5/14/01 5:46 PM, Peter Houchin - SunRentals Australia at
[EMAIL PROTECTED] wrote:
> change it to
>
> $sql = "UPDATE CLASS_ADS
> SET client_id = '$client_id',
tes? Is it losing the resource fork? Do
> I have any control over what the browser will upload? BTW, I was testing
> with some Quark Express file.
>
> Any help is appreciated.
>
> Jason Lam
>
>
>
--
Julian Wood
Learning Technologies and Digital Media
University o
thing 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-conne
ubmit and $opt
>
>
> -- mike cullerton
>
>
>
> --
> 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]
>
-
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 wr
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/)
To
ondering where they are
> coming
> from.
>
> TIA
>
> Kirk
>
> --
> 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
keep 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
2 <<-455333->>
> 934532103 <<-455333->>
>
> If you don't want to do the encoding thing, you could create a "link"
> table
> to accomplish the same thing.
>
> HTH,
> James Potts
>
elected on the page (1-20,
> 21-40, etc) add that to the sql statement. My question is how?
>
> Can someone guide me or give me some example.
>
> TIA
>
> Adrian
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
&g
___
> Free email provided by ---> http://sect0r.com
--
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]
and
$title = 'Hello'.
HTH,
Julian
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 <
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:
>
&g
>From Allaire's (Homesite) web page:
"When InternetWorld surveyed 136 professional design firms (iXL, USWeb,
Modem Media, TVisions, Organic Online, etc.) in October 1999, HomeSite was
the most popular HTML tool:
Allaire HomeSite - 52.9%
Bare Bones BBEdit (Mac) - 42.6%
Microsoft FrontPage - 22.8
$res = $a->send();
#strip header
$res = strstr($res, "\r\n\r\n");
#display the results
echo $res;
?>
HTH,
J
--
Julian Wood
Multimedia Developer
University of Calgary
on 2/19/01 10:15 AM, John Monfort at [EMAIL PROTECTED] wrote:
>
>
>
>> 1. It appears
problem - post from
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
29 matches
Mail list logo