$B(.(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(B
$B4|4V8BDj(BPC$B%=%U%HHNGd(B
$B(1(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(B
$B!!M_$7$+$C$?$$N%=%U%H$,$3$N2A3J!*(B
$B!!Cf$K$O(B100$BK|1_0Je$b$9$k%=%U%H$,!D6C$-$N$3$N2A3J!*(B
I've never read a book to do PHP or anything else. I simply google and go to
site after site reading tutorials and docs then making a sample page with
what I've read and learned.
--Death Gauge
How do you gauge your death?!
Original Message Follows
From: Alan Lord [EMAIL
hi Ross
Any alternatives free or paid let me know..
http://www.isearchthenet.com/isearch/ is a good 'un, so long as you
don't have thousands of pages.
R
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 9/16/05, symbulos [EMAIL PROTECTED] wrote:
Dear friends,
do you know about a good web based document management solution, FS/OS
licensed, implemented in PHP/*sql/Apache, for document upload, download,
protected, for editing articles or other document of the sort?
I am looking for
Graham Cossey wrote:
Have you looked at phpATM? http://www.phpatm.tk/
I've used it with some success and it seems to have a reasonably active
community.
I am downloading it now, thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Death Gauge wrote:
I'll try that...But why shouldn't I have register_globals on (which my
ISP does and every tutorial I've ever read says to do in order to use
several different features of PHP:-/).
http://php.net/security.globals
I would be very worried about the quality of any tutorial
?!
Original Message Follows
From: Jasper Bryant-Greene [EMAIL PROTECTED]
To: php-general@lists.php.net
Subject: [PHP] Re: [suspicious - maybe spam] [PHP] [suspicious - maybe spam]
RE:[PHP] RE: Issues with News sites again...
Date: Wed, 14 Sep 2005 17:37:21 +1200
Death Gauge wrote:
I'll try
[snip]
I would be very worried about the quality of any reply that posts a link
that says the opposite of what the person is saying. Nowhere in that link
did I see them say that turning on the globals was a security issue. The
page said the misuse of the globals was the security risk due to
On Wed, September 14, 2005 9:46 am, Jay Blanchard wrote:
At the risk of starting another globals holy war, the reply that you
received was a generalization that reflects the potential ( NOTE
THAT)
security risks from having register globals 'on'. The poster was
essentially
correct,
?!
Original Message Follows
From: Richard Lynch [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Jay Blanchard [EMAIL PROTECTED]
CC: 'Death Gauge' [EMAIL PROTECTED], php-general@lists.php.net
Subject: Re: [PHP] RE: [suspicious - maybe spam] [PHP] [suspicious - maybe
spam] RE: Issues
I tried what people recommended but I am having major issues because
everyone misunderstood about what I was trying to do. My site has a What's
New news poster, which is on every page and just posts two things at a time.
Then a have a comic book site, game site, novel site, animation site, and
Death Gauge wrote:
I tried what people recommended but I am having major issues because
everyone misunderstood about what I was trying to do. My site has a
What's New news poster, which is on every page and just posts two things
at a time. Then a have a comic book site, game site, novel site,
?!
Original Message Follows
From: Jasper Bryant-Greene [EMAIL PROTECTED]
To: php-general@lists.php.net
Subject: [PHP] Re: [suspicious - maybe spam] [PHP] [suspicious - maybe spam]
Issueswith News sites again...
Date: Wed, 14 Sep 2005 10:55:55 +1200
Death Gauge wrote:
I tried what people
?!
Original Message Follows
From: Death Gauge [EMAIL PROTECTED]
To: php-general@lists.php.net
Subject: [suspicious - maybe spam] [PHP] [suspicious - maybe spam] RE: [PHP]
Re: [suspicious - maybe spam] [PHP] [suspicious - maybe spam]Issueswith News
sites again...
Date: Wed, 14 Sep 2005 00:40:00
I'll try that...But why shouldn't I have register_globals on (which my ISP
does and every tutorial I've ever read says to do in order to use several
different features of PHP:-/).
--Death Gauge
How do you gauge your death?!
Original Message Follows
From: Jasper Bryant-Greene
there is a book coming out in October I guess, do a search on amazon under
AJAX.
Also, at www.phparch.com the August issue deals with AJAX between other
things. You can buy a digital copy (PDF) for only 3.45 dlls.
Regards,
Chicolinux
-Original Message-
From: Death Gauge [mailto:[EMAIL
Where do I go learn about XmlHTTPRequest? I've done googles and all I've
found was stuff about toolkits no tutorials or documents telling how to use
it.
--Death Gauge
How do you gauge your death?!
_
Express yourself instantly with
Death Gauge wrote:
Where do I go learn about XmlHTTPRequest? I've done googles and all I've
found was stuff about toolkits no tutorials or documents telling how to
use it.
How about the top three results on Google?
http://www.google.com/search?q=XMLHTTPRequest
--
Jasper Bryant-Greene
Ok how do I get rid of the annoying [suspicious - maybe spam] crap that
appears when I post?
--Death Gauge
How do you gauge your death?!
Original Message Follows
From: Manuel Lemos [EMAIL PROTECTED]
To: Death Gauge [EMAIL PROTECTED]
CC: php-general@lists.php.net
Subject: [PHP] Re:
Death Gauge wrote:
Ok how do I get rid of the annoying [suspicious - maybe spam] crap
that appears when I post?
This won't help with that, but please stop top-posting.
Your ISP is probably adding it because it thinks you're message is spam.
It might be something to do with your signature,
On Fri, August 26, 2005 11:43 pm, Death Gauge wrote:
I've made a site with 5 sites in it and has about 6 MySQL/PHP News
databases. A while back I tried to use drop-down combo boxes to make a
single page that linked all 6 news scripts so I could pick one from
the
drop-down enter the news and
Death Gauge wrote:
I've made a site with 5 sites in it and has about 6 MySQL/PHP News
databases. A while back I tried to use drop-down combo boxes to make a
single page that linked all 6 news scripts so I could pick one from the
drop-down enter the news and hit submit to add it to the site.
I've made a site with 5 sites in it and has about 6 MySQL/PHP News
databases. A while back I tried to use drop-down combo boxes to make a
single page that linked all 6 news scripts so I could pick one from the
drop-down enter the news and hit submit to add it to the site. The down side
is that
-
$B5U!o8r:](B $Bv5U!o8r:](B
-
[EMAIL PROTECTED],[EMAIL PROTECTED];~Be$O=*$j$^$7$?!#Ev%5%$%H$O5U!o4uK[EMAIL
PROTECTED],[EMAIL PROTECTED]+M3$KA*$Y$k%7%9%F%`$r:NMQ$7$F$$$^$9!#(B
$B[EMAIL PROTECTED](B $B!D(B [EMAIL
Mario Lacunza wrote:
Hello,
Im newbie in Linux and I need your help for install PHP5 in my Ubuntu
5.04 Linux distro, any links, manuals, etc
How about a link _to_ *THE MANUAL*?
http://www.php.net/manual/en/install.unix.php
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL
Hello,
Im newbie in Linux and I need your help for install PHP5 in my Ubuntu
5.04 Linux distro, any links, manuals, etc
Thansk in advance!!
--
Saludos / Best regards
Mario Lacunza
Desarrollador de Sistemas - Webmaster
Email: [EMAIL PROTECTED]
Email: [EMAIL PROTECTED]
Messenger MSN: [EMAIL
http://awg.webchu.com/nanpara/?user1
2$BEYL\$N%a!%k$K0Y$C$F$7$^$$BgJQ?=$7LuM-$j$^$;$s!#(B
$B$5$F!@hF|%a!%k$5$;$FD:$$$?!y!z0lK|1_(B(1000$B%]%$%s%H(B)$BJ,%W%l%%s%H!z!y$N7o$G$9$,!(B
$Bg$K!Cf9bG/$NCK=w$N$*5RMM!JFC$K4{:'[EMAIL PROTECTED][EMAIL
PROTECTED]:$-K\Ev$K6C$$$F$$$^$9!#(B
Hello Rafael,
You can try using output control functions (see
http://ro.php.net/manual/en/function.ob-start.php) and, depending on
whether you want to upload the file or save it on your server (I don't
understand which from your message), serve the result with a
Content-type: text/plain
Can you describe your environment:
PHP version, Apache version, MySQL version, linux or win32.
Did you run phpinfo() and see the loaded extensions ?
Catalin
[EMAIL PROTECTED] wrote:
Is PHP compiled with mysqli support: http://ro.php.net/mysqli
Read the docs about what this
Hi,
Is PHP compiled with mysqli support: http://ro.php.net/mysqli
Read the docs about what this extension requires.
Catalin
[EMAIL PROTECTED] wrote:
Hey guys,
I'm doing a tutorial from a book (PHP and MySQL Web Development) and I'm
having a problem... when I use the
In a message dated 6/20/2005 7:30:20 P.M. Central Standard Time,
[EMAIL PROTECTED] writes:
Is PHP compiled with mysqli support: http://ro.php.net/mysqli
Read the docs about what this extension requires.
I did all of this and I'm still getting the error:
Runtime Configuration
The
Is PHP compiled with mysqli support: http://ro.php.net/mysqli
Read the docs about what this extension requires.
I did all of this and I'm still getting the error:
Runtime Configuration
The behaviour of these functions is affected by settings in php.ini.
Table 1. MySQLi Configuration
James Williams wrote:
No
You don't declare variables in PHP. You just start using them.
Perhaps you mean assign? Since your example of
var = variableName;
is actually an assignment in Javascript.
In PHP you simply do:
$one_var = $another_var;
-Rasmus
You are however, when dealing
clothesman futile antiquarian bar wholesale
sum acquire saturnalia prefecture section
astute cathedral intercom behavioral carlyle
i think u can use nmap -O [hostname]
On 5/5/05, Mark Cain [EMAIL PROTECTED] wrote:
I agree that the best way would be to parse the http header response.
However, If you want to check it out quickly and only do a couple of them,
do this:
http://www.whois.sc/google.com
or
Jon M. wrote:
I know in JavaScript, that you declare vars like so:
var = variableName;
So I'm assuming that in PHP you do it like this:
var = $variableName;
But there doesn't seem to be a single shred of documentation on PHP.net (or
in ANY book) that covers this. All they say is
Hi
On 5/5/05, Jon M. [EMAIL PROTECTED] wrote:
I know in JavaScript, that you declare vars like so:
var = variableName;
So I'm assuming that in PHP you do it like this:
var = $variableName;
I think you can do like this inside a class
var $variableName;
But there doesn't seem to be a
No
You don't declare variables in PHP. You just start using them.
Perhaps you mean assign? Since your example of
var = variableName;
is actually an assignment in Javascript.
In PHP you simply do:
$one_var = $another_var;
-Rasmus
You are however, when dealing with OOP
ztuni ztuni wrote:
I'm experiencing an unexpected T_IF error, and after digging through
miles of code, came up empty. The relevant code, along with the if
statement
Parse error: parse error, unexpected T_IF in
/var/www/html/phpBB2/posting.php on line 562
if ( !($result = $db-sql_query($sql)) )
oops.sorry...gmail sorted things out wrong and i didn't see the whole
conversation.
On 4/25/05, The Disguised Jedi [EMAIL PROTECTED] wrote:
please post the whole file, or a few lines before...
On 4/25/05, Mattias Thorslund [EMAIL PROTECTED] wrote:
ztuni ztuni wrote:
please post the whole file, or a few lines before...
On 4/25/05, Mattias Thorslund [EMAIL PROTECTED] wrote:
ztuni ztuni wrote:
I'm experiencing an unexpected T_IF error, and after digging through
miles of code, came up empty. The relevant code, along with the if
statement
Parse
On 4/23/05, Brian Dunning [EMAIL PROTECTED] wrote:
All the resources I've found on the web for URL encoding values within
an XSL stylesheet are either .NET or Java, so I'm looking for some help
with how to do this using PHP's special flavor of XML/XSL.
Within the XSL doc, I've got:
On Fri, April 22, 2005 3:18 pm, Brian Dunning said:
All the resources I've found on the web for URL encoding values within
an XSL stylesheet are either .NET or Java, so I'm looking for some help
with how to do this using PHP's special flavor of XML/XSL.
Within the XSL doc, I've got:
Didja
On Fri, April 22, 2005 3:33 pm, Brian Dunning said:
?php
$ItemLink = urlencode($ItemLink);
?
Are you saying to embed that within the XSL? Will it process, and will
the XSL variable be valid for PHP?
No.
I got NO IDEA how you would do this in XML.
Sorry, maybe ask on an XML list. :-^
--
All the resources I've found on the web for URL encoding values within
an XSL stylesheet are either .NET or Java, so I'm looking for some help
with how to do this using PHP's special flavor of XML/XSL.
Within the XSL doc, I've got:
xsl:variable name=ItemLink select=concat($MediaPlexURL, Link)/
?php
$ItemLink = urlencode($ItemLink);
?
Are you saying to embed that within the XSL? Will it process, and will
the XSL variable be valid for PHP?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Is there a way to change the database after a pg_connect
happens? I think in mysql, you can do mysql_select_db('newdb'),
but there isn't really an equivalent function.
In psql, I can use \connect newdb, but I think that disconnect
and reconnects to the new database.
yulius
--
PHP General
Chris W. Parker wrote:
Read www.php.net/array_keys and you shall have your answer.
From the php docs:
?php
$array = array(0 = 100, color = red);
print_r(array_keys($array));
?
Will output.
Array
(
[0] = 0
[1] = color
)
Duh! Yes, I replied a little too fast on that one.
/Mattias
--
Chris W. Parker wrote:
While looking through the array functions I saw www.php.net/array_keys
and thought of:
?php
$keys = array_keys($object_array);
$first_key = $keys[0];
?
I wonder if that will work, when the first element has the key 3... ?
This might work better:
$keys =
But, Jay:
Am I missing something here? It's obvious that the 'bid' parameter will
appear in the query string... That's how the form posts it.
Yes, you can unset it if you like, but the form will still add it to the
URL that it posts to, unless you change the action attribute of the
form tag.
Jay Blanchard wrote:
I try to use both types of quotes in the proper circumstance. Having
said that, I came to computing in the age where we worried over CPU
cycles, but I don't see how in this day and age the difference between
the two would even matter. Even on a high load site the difference
Bonjour,
J'utilise PHP et MySQL grâce à EasyPHP sous WindowsXP.
J'ai réussi à modifier un programme php pour pouvoir l'utiliser à gérer un
dictionnaire d'une langue locale, dont vous avez une phrase ci-dessous.
L'interogation de la base de données peut donner suivant les cas, un grand
nombre de
From: clariond jean claude [mailto:[EMAIL PROTECTED]
Bonjour,
J'utilise PHP et MySQL grâce à EasyPHP sous WindowsXP.
J'ai réussi à modifier un programme php pour pouvoir
l'utiliser à gérer un dictionnaire d'une langue locale, dont
vous avez une phrase ci-dessous.
L'interogation de la
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mike Johnson wrote:
| Si je lis votre question correctement, vous desire paginez votre
| resultats. Vous avez besoin le nombre de records dans l'ensemble de
| resultat. Si vous desire montrer dix resultat dans chaque page,
| ajoutez un clause LIMIT a
Please,
This is an English list. I'll thank if you can write plain english on it.
Thanks.
On Tue, 22 Mar 2005 21:18:06 +0100, Aurélien Cabezon
[EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mike Johnson wrote:
| Si je lis votre question correctement, vous desire
I know this is pretty petty, but it is a sunday and I'm missing this for
some reason...
I'm trying to detect a leading hyphen in an element of an array. I've
been using strpos to find strings and if getting 1 as the result, I know
it was at the beginning of the string. However, -, \-, nor /^-/
Larry Brown wrote:
I know this is pretty petty, but it is a sunday and I'm missing this for
some reason...
I'm trying to detect a leading hyphen in an element of an array. I've
been using strpos to find strings and if getting 1 as the result, I know
it was at the beginning of the string.
Same here
Christo van Rooyen
-Original Message-
From: Chris W. Parker [mailto:[EMAIL PROTECTED]
Sent: 08 March 2005 19:58
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: Kevin; PHP General Mail List
Subject: RE: [PHP] suspicious - maybe spam
Richard Lynch mailto:[EMAIL PROTECTED
]
Sent: 08 March 2005 19:58
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: Kevin; PHP General Mail List
Subject: RE: [PHP] suspicious - maybe spam
Richard Lynch mailto:[EMAIL PROTECTED]
on Tuesday, March 08, 2005 9:54 AM said:
Don't feel too bad.
Every few weeks, I get an automated email from
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: Kevin; PHP General Mail List
Subject: RE: [PHP] suspicious - maybe spam
Richard Lynch mailto:[EMAIL PROTECTED]
on Tuesday, March 08, 2005 9:54 AM said:
Don't feel too bad.
Every few weeks, I get an automated email from ezmlm warning me that
php
:[EMAIL PROTECTED]
Sent: 08 March 2005 19:58
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: Kevin; PHP General Mail List
Subject: RE: [PHP] suspicious - maybe spam
Richard Lynch mailto:[EMAIL PROTECTED]
on Tuesday, March 08, 2005 9:54 AM said:
Don't feel too bad.
Every few
[EMAIL PROTECTED] wrote:
Yeah, same here. I thought it was my hosting service, but if other people are
having the same issue then what's the deal? Usually it's only a message or
two, but sometimes it says there are like 8 or 9 messages that bounced. Has
anyone looked into this or have any
Yeah, same here. I thought it was my hosting service, but if other people
are having the same issue then what's the deal? Usually it's only a
message or two, but sometimes it says there are like 8 or 9 messages that
bounced. Has anyone looked into this or have any information regarding
On Wed, 09 Mar 2005 07:30:57 -0800, Rob Tanner [EMAIL PROTECTED] wrote:
Every ezmlm mailing list I'm on does that periodically. Lists that I'm
on that use MailMan never seem to have that problem. What then does
that tell us about ezmlm...
Everyone, eh. You must not be on many lists. I
(If I could only get off ezmlm's suspicious user list. I think there
isn't much I can do, it's my ISP rejecting some PHP list postings.)
Don't feel too bad.
Every few weeks, I get an automated email from ezmlm warning me that
php-general messages have bounced, and I might be removed from the
Richard Lynch mailto:[EMAIL PROTECTED]
on Tuesday, March 08, 2005 9:54 AM said:
Don't feel too bad.
Every few weeks, I get an automated email from ezmlm warning me that
php-general messages have bounced, and I might be removed from the
list if it keeps up.
Same here.
--
PHP General
Since you can use fopen, I don't think open_basedir is the problem.
Read about open_basedir here: http://us3.php.net/features.safe-mode
Maybe the path that you use in the include is wrong?
/Mattias
Andre Dubuc wrote:
Hi,
I am trying to 'insulate' my database connection from prying eyes by moving
On Sunday 06 March 2005 11:47 am, Mattias Thorslund wrote:
Since you can use fopen, I don't think open_basedir is the problem.
Read about open_basedir here: http://us3.php.net/features.safe-mode
Maybe the path that you use in the include is wrong?
/Mattias
Andre Dubuc wrote:
Hi,
I am
M. Sokolewicz wrote:
well, you can simply use the unix timestamp, since the amount of days
/ seconds since 0 AD/BC will be a constant (it won't change, trust
me), you can simply add it to that, and add a wrapper function to
php's time(). You'll be working with VERY big numbers in that case, so
Check out:
http://pear.php.net/package/Date
According to the description, it lets you compare dates that date pre
1970 and post 2038.
/Mattias
(If I could only get off ezmlm's suspicious user list. I think there
isn't much I can do, it's my ISP rejecting some PHP list postings.)
Kevin wrote:
i create the html form as below
input type=checkbox name=aaa value=1
input type=checkbox name=aaa value=2
input type=checkbox name=aaa value=3
input type=checkbox name=aaa value=4
and i receive the form data in php file as below:
global $aaa;
print_r($aaa);
this action only echo 4 not the
Try:
input type=checkbox name='aaa[]' value=1
/frank
2005-03-04 kl. 04.06 skrev tx:
i create the html form as below
input type=checkbox name=aaa value=1
input type=checkbox name=aaa value=2
input type=checkbox name=aaa value=3
input type=checkbox name=aaa value=4
and i receive the form data
You need to clearer on 'connecting to' .
Do you mean FTP, MySQL etc???
Dan Tappin
On Mar 2, 2005, at 8:54 AM, Frank Arensmeier wrote:
Hello!
Is there anyone who has some experience in connecting to a IBM AS/400
server with PHP? Any ideas where to start?
Regards,
Frank
Daniel Bowett wrote:
Marek Kilimajer wrote:
Daniel Bowett wrote:
Hi,
I have been reading up on the mcrypt function. Is it possible to use
it with a public and private key pair or just with a single key?
Cheers.
mcrypt supports only single key
Is there anything out there that
Adi Pramadi wrote:
I'm new in PHP programing, and i need a way to add date in php.
here is the sample
If today is 29/01/2005 (dd/mm/yy)
and i need to make an apointment for another 10 days
the date recorded sould be 08/02/2005 and not 39/01/2005
is there a way to do it in just like in asp
Winn Johnston wrote:
i have taken on a job replacing an old AS400 RPM
database with four thin clients. They really like the
feel of the thin client interface, no point and click,
no graphics, just green text on a black background. I
could use any suggestions on what to read, or where to
look to
Hello,
I've just tried using heredocs [1] for the first time, but I am
receiving parse errors always on the very last line of my document.
The error is caused by my heredocs. Am I using it correctly? When I
replaced the heredoc with a string.. everything worked again.
Here's my code with heredocs
Tim Burgan wrote:
Hello,
I've just tried using heredocs [1] for the first time, but I am
receiving parse errors always on the very last line of my document.
The error is caused by my heredocs. Am I using it correctly? When I
replaced the heredoc with a string.. everything worked again.
Here's my
Hi,
I need to create multiple categories and subcategories using php and mysql.
Something like that
- category 1
- subcat 1.1
- subcat 1.2
- subcat 1.2.1
- subcat 1.2.2
- category 2
Does anyone know a godd totorial how to create this in pahp
Phpu wrote:
Hi,
I need to create multiple categories and subcategories using php and mysql.
Something like that
its bad practice to state the technology that must be used before you
have determined the scope and function of the problem, besides you have
to know whether php and mysql are capable
(bl***dy CTRL+enter)...
Phpu wrote:
Hi,
I need to create multiple categories and subcategories using php and mysql.
Something like that
its bad practice to state the technology that must be used before you
have determined the scope and function of the problem, besides you have
to know whether php
Jochem Maas wrote:
Phpu wrote:
Hi,
I need to create multiple categories and subcategories using php and
mysql. Something like that
its bad practice to state the technology that must be used before you
have determined the scope and function of the problem, besides you have
to know whether php
Justin wrote:
Jochem Maas wrote:
Phpu wrote:
Hi,
I need to create multiple categories and subcategories using php and
mysql. Something like that
its bad practice to state the technology that must be used before you
have determined the scope and function of the problem, besides you
have to know
rant
Will whoever is causing [suspicious - maybe spam] to appear in the
subject of the PHP emails PLEASE WHITELIST THE PHP LIST. Ugh.. it's so
annoying.
/rant
Chris.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
MySQL don't know what is UNION
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Santa wrote:
MySQL don't know what is UNION
http://dev.mysql.com/doc/mysql/en/UNION.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
I have an query for mysql that looks like:
SELECT group as type FROM mytable WHERE id =101010
UNION
SELECT individual as type FROM myothertable WHERE id=101010
The strange result if only one result displayed from myothertable, so
the type will become indiv instead of individual.
But
Why not ask a MySQL mailing list?
[snip]
.. is this mysql bug ?
[/snip]
--
--
David Green
Information Centre, Central Science Laboratory
Sand Hutton, York, YO41 1LZ
Phone: +44 (0)1904 462388 (GTN: 5129 2388)
Fax:+44 (0)1904 462111
E-Mail:
adwin wijaya wrote:
Hi...
I have an query for mysql that looks like:
SELECT group as type FROM mytable WHERE id =101010
UNION
SELECT individual as type FROM myothertable WHERE id=101010
The strange result if only one result displayed from myothertable, so
the type will become indiv instead of
adwin wijaya wrote:
SELECT group as type FROM mytable WHERE id =101010
UNION
SELECT individual as type FROM myothertable WHERE id=101010
The strange result if only one result displayed from myothertable, so
the type will become indiv instead of individual.
But when I tried to switch the
Hi...
I have an query for mysql that looks like:
SELECT group as type FROM mytable WHERE id =101010
UNION
SELECT individual as type FROM myothertable WHERE id=101010
The strange result if only one result displayed from myothertable, so
the type will become indiv instead of individual.
But when I
I want to get a file 'http://www.china.com/' , I can use
file_get_contents('http://www.china.com/');
But how can I get it via a Proxy.
Shi MuQi
LangFang ABC (China) v
Tel:(86)-311-7876466 /(_)\
Hi,
I have an array, for ex: $products=array(1, 2, 5 , 7)
I want to select all products from the database that has the ids of products.
I use this but doesn't work:
$sql = '';
foreach($products AS $products_id){
if(strlen($sql)){ $sql .= ' OR '; }
$sql .= product_id = '$products_id';
}
Hello Phpu,
Thursday, January 6, 2005, 10:42:15 AM, you wrote:
P I have an array, for ex: $products=array(1, 2, 5 , 7)
P I want to select all products from the database that has the ids of products.
P I use this but doesn't work:
$product_ids = implode(',', $products);
$sql = SELECT
Hello Phpu,
Thursday, January 6, 2005, 10:42:15 AM, you wrote:
P I have an array, for ex: $products=array(1, 2, 5 , 7)
P I want to select all products from the database that has the ids of
products.
P I use this but doesn't work:
$product_ids = implode(',', $products);
$sql =
Hi,
I was reading this article:
http://www.phppatterns.com/index.php/article/articleview/6/1/1/ .
I have a question about it. If you create this static Singleton object,
does it persist in memory globally? Or is it recreated each time a .php
page is requested?
Thanks
Paul
96 matches
Mail list logo