). That way it is
unique
to that client.
-Anthony
On Wed, Jul 10, 2013 at 2:15 PM, Ajay Garg ajaygargn...@gmail.com wrote:
Thanks Jim and Matijn for the quick replies.
I will try to have a workaround.
On Wed, Jul 10, 2013 at 11:09 PM, Matijn Woudt tijn...@gmail.com wrote:
On Wed, Jul 10
/profileDesc
/teiHeader
/TEI
XML;
$xml = simplexml_load_string($string);
foreach($xml-teiHeader-profileDesc-particDesc-person[0]-attributes() as $a
= $b) {
echo p$a = $b \n/p;
}
Is this a bug? And how do I get this to work?
Many thanks,
Anthony
--
PHP General Mailing List (http://www.php.net
/profileDesc
/teiHeader
/TEI
XML;
$xml = simplexml_load_string($string);
foreach($xml-teiHeader-profileDesc-particDesc-person[0]-attributes() as $a
= $b) {
echo p$a = $b \n/p;
}
Is this a bug? And how do I get this to work?
Many thanks,
Anthony
--
PHP General Mailing List (http://www.php.net
status good_request
Right now, I'm thinking I should put this in an array and encode/return
that. But is that the right way of thinking? Is there a more correct or
better way to do this?
Thanks!
Anthony
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Thank you Ruan!
This is just what I was looking for!
Anthony
Ryan Sun ryansu...@gmail.com wrote in message
news:f7f19ac21001081308r4b202d45vedaf3561536ad...@mail.gmail.com...
Yup,
you put result in an array
$result = array('status' = 'good');
and return encoded string
return Json_Encode
I would argue it is better practice as:
h1?php echo 'Hello World'; ?/h1
than
?php
echo h1Hello World/h1;
?
Anthony Gentile
On Mon, Dec 22, 2008 at 9:18 AM, tedd tedd.sperl...@gmail.com wrote:
At 1:21 PM -0500 12/21/08, Anthony Gentile wrote:
-snip exampe-
is probably going to give you
dealing
with the presentation...I personally don't think its a problem. However when
you start writing html out with php in your business logic...to me that's a
no no.
Anthony Gentile
On Mon, Dec 22, 2008 at 2:47 PM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
On Mon, 2008-12-22 at 14:21
if (0 == $totalRows_rsSearch) {
echo Sorry no products were found;
} else
Anthony Gentile
On Sun, Dec 21, 2008 at 11:22 AM, Gary Maddock-Greene
g...@maddock-greene.co.uk wrote:
I have tried that but to no avail :)
?php
if ($totalRows_rsSearch=0)
echo Sorry no products were found;
else
with further syntax problems.
Anthony Gentile
On Sun, Dec 21, 2008 at 12:33 PM, Gary Maddock-Greene
g...@maddock-greene.co.uk wrote:
Thanks guys .. I can get this part working great ..
?php
if (0 == $totalRows_rsSearch) {
echo h3Sorry no products were found/h3;
} else
echo h3Please
/div;
}
}
?
is probably going to give you the result you want. However you should know
it is bad practice to mix PHP and HTML as horridly as I just showed you. AKA
you don't want your PHP writing your HTML.
Anthony Gentile
On Sun, Dec 21, 2008 at 1:07 PM, Gary Maddock-Greene
g...@maddock
err forgot the closing in img src=\products\.
should look like img src=\products\.
Anthony Gentile
Cell: 704.657.8550
Diese E-Mail ist vertraulich. Wenn Sie nicht der rechtmaessige Empfaenger
sind, duerfen Sie den Inhalt weder kopieren noch verbreiten oder benutzen.
Sollten Sie diese E-Mail
, a concatenate and an echo. Interpolation.
Anthony Gentile
On Sun, Dec 21, 2008 at 5:47 PM, German Geek geek...@gmail.com wrote:
OK. I would think it uses more memory then, but doubt it would be slower.
Isnt the output buffered in memory anyway though in PHP? Surely the buffer
is bigger than
confusing to future maintainers of
the code.
Anthony Gentile
On Sun, Dec 21, 2008 at 6:20 PM, Chris dmag...@gmail.com wrote:
Anthony Gentile wrote:
for e.g.
$var = 'world';
echo hello $var;
vs
echo 'hello '.$var;
The first uses twice as many opcodes as compared to the second. The first
would have to count divs inside of that div, otherwise I would end too early
on.
Any advice would be greatly appreciated.
Peace and Love,
distatica.
--
-
Anthony Hiscox
Video Watch Group
Public Site Currently Under Development
Group Members Site Fully Operational
-
.
It should be relatively easy if you look up the exact syntax of the
javascript.
- Daniel
Anthony Hiscox [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hey folks,
I need to pull the contents inside of a specific div out of a page, and
write it to a separate file. In this instance
/ Client documents) especially if the responder is, or was, a
stay at home parent. However advice from anyone would be greatly welcomed,
regardless of prior experiences.
--
-
Anthony Hiscox
Video Watch Group
Public Site Currently Under Development
Group Members Site
Can anyone point me to some good online reference/examples of
reading/writing XML documents?
Thanks,
Anthony
the value showtopic and the value of 9?
I know this is simple but I'm pulling my hair out here...
Thanks!
Anthony
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
See... the second I sent this I took a sip of red-bull and my brain cleared
up...
$topicID = $_GET['showtopic'];
Right?
Anthony J. Maske
[EMAIL PROTECTED]
http://home.comcast.net/~ajmaske
-Original Message-
From: Anthony J. Maske [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April
= true;
} elseif ($Tag = '/body') {
$InBody = false;
}
Why won't the later work? What am I missing in the first snip...
Thanks again...!
Anthony
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Got it... Thanks mucho!
Anthony J. Maske
[EMAIL PROTECTED]
http://home.comcast.net/~ajmaske
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 10, 2007 9:03 PM
To: Anthony J. Maske
Cc: PHP General
Subject: Re: [PHP] Evaluating strings...
Anthony J
How do I detect a disconnected client from a socket resource?
In an infinite loop, I socket_read() every open resource that passes a
socket_select().
As far as I know, the only way to detect if the client disconnected
unexpectedly from their socket resource is when socket_read() returns
the following
regular expression on the retreived text:
$trans_text = preg_match(\/div id=result_box dir=ltr(.+?)\/div/);
The problem is that when I echo the value of $trans_text variable, I end up
with the entire HTML of the page.
Can anyone clue me in to what I am doing wrong?
Thanks,
Anthony
--
PHP
)
always check that the input received is input expected (filter the input).
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General
by no means a security or PHP expert, though working towards
both :D)
On Saturday 17 June 2006 14:51, Anthony Ettinger wrote:
simply using $_POST is by no means more secure than $_REQUEST.
On 6/17/06, Ben Ramsey [EMAIL PROTECTED] wrote:
On 6/17/06 9:30 AM, David Tulloh wrote:
Martin Marques
,
M
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the above.
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with pros and cons of each.
you might want to consider storing the files outside of the database
as well, and just a pointer to it's path in the table.
with respect to table vs. databases per user, neither.
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing
On 6/7/06, tedd [EMAIL PROTECTED] wrote:
Can someone shed some light on this for me? How can one do sessions and make
Google bots happy?
I think what they're getting at is don't use session id's unless
they're logged in.
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
to the database.
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Cookies and see what
Cookies you get.
HTH
mediawiki.org
#mediawiki on irc.freenode.net
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
possible delimiters are
already taken for Arrays, code blocks, tag start/end, and order of
operations.
--
Like Music?
http://l-i-e.com/artists.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http
your server is
trashed. Sorry.
--
Like Music?
http://l-i-e.com/artists.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net
://www.organicseo.org/URL_Rewriting.html
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
really what I want.
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a dump, I get this error.
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(...),
);
would want the output to be something like:
foo
bar1
baz1
titleSome Title/title
textSome Text/text
/baz1
baz2
titleSome Title2/title
textSome Text2/text
/baz2
/bar1
barN.../barN
/foo
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General
{/if}/TD
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to.
or b, I can bill you.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
(http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
('$errorMessage');/script;
}
I am capturing all the errors from a form and then output them all at once
Thanks for any help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
actually...
alert('? echo $errorMessage; ?');
On 4/11/06, Anthony Ettinger [EMAIL PROTECTED] wrote:
alert('echo $errorMessage');
On 4/11/06, Mace Eliason [EMAIL PROTECTED] wrote:
Hi,
I am not sure why this won't work I am pretty sure I have done it before;
if($error)
{
echo
://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
://chrome.me.uk
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony
Ettinger
Sent: 12 April 2006 00:58
To: Chrome
Cc: Mace Eliason; php-general@lists.php.net
Subject: Re: [PHP] php varible in Javascript alert()
?php alert('echo addslashes
that both amazon uses a REST interface with the client
transforming on the browser. What would be alternatives that could be
achieved in a shared hosting environment?
-j
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony
the problem, please sende a answer...
Thank you,
Pablo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
://www.destinia.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
scripting language at a high
entreprise level is now bought by Micrsoft ?
Where did you hear this? Have you considered the date? Have you
considered how unlikely it is? Have you ever sought professional
help?
-Stut
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, returns ArrayArray=ArrayArrayArray=ArrayArray=Array
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(
[lon] = -99.0876
[lat] = 29.216
)
[1] = Array
(
[lon] = -99.0618
[lat] = 29.179
)
}
}
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP
nevermind, that doesn't work...after testing it :*(
i've seen it in perlregex.
On 3/31/06, Eduardo Raúl Galván Sánchez [EMAIL PROTECTED] wrote:
Anthony Ettinger wrote:
($a, $b) = $c;
^^ I don't get the meaning of this...
On 3/31/06, Eduardo Raúl Galván Sánchez [EMAIL PROTECTED] wrote
simultaneous connections).
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
it open until you're done with the database.
If you pee and poo in one sitting, you don't get up and flush between
occurrences.
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Then it's workingFireFox, et. al. show you the server 404, IE on
the otherhand has it's own 404 error page (for those newbies who don't
know what a 404 is). You can disable it under IE options.
On 3/30/06, Bronislav Klucka [EMAIL PROTECTED] wrote:
Yes, I do...
B.
Anthony Ettinger wrote
.
Apache Server at foo.org Port 80
On 3/30/06, Jasper Bryant-Greene [EMAIL PROTECTED] wrote:
In other words, if you want Firefox/Opera/etc to display something, you
have to output something. Strange, that. :P
Jasper
Anthony Ettinger wrote:
Then it's workingFireFox, et. al. show you
: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
our first hard-drive in the lab...a 10Mb
dishwasher sized behemoth with its own AC unit
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
, but i get no XSLT support (confirmed
via phpinfo()).
Any ideas ?
Any help would be apreciated.
Warm Regards,
MA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
I see this all over the place, but I don't think it stores the variable in =
$foo:
class Foo {
private $foo;
public function __setFoo($arg)
{
$this-foo = $arg;
}
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
-__getFoo();
Yields:
foo
bar
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 3/28/06, Jochem Maas [EMAIL PROTECTED] wrote:
Anthony Ettinger wrote:
On 3/28/06, Jay Blanchard [EMAIL PROTECTED] wrote:
[snip]
I see this all over the place, but I don't think it stores the variable
in =
$foo:
class Foo {
private $foo;
public function __setFoo($arg
');
---
foo
bar
If you want to validate input, you then have to have a block of nested
conditionals if your validation expressions vary.
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 3/28/06, M. Sokolewicz [EMAIL PROTECTED] wrote:
Anthony Ettinger wrote:
On 3/28/06, Joe Henry [EMAIL PROTECTED] wrote:
On Tuesday 28 March 2006 1:12 pm, Jochem Maas wrote:
?php
class Foo
{
private $foo = 'foo';
function __get($k)
{
if (isset
)
Any help is appreciated.
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm sober.
tedd
--
In a related question, I have php5 installed on my box (works fine
with Apache2)...but I can't seem to find php5 on the command line.
Is there a separate package I need (fyi: I'm using Gentoo).
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP
exists on my system.
The only php* binary matches I have are:
$ php
php-config phpize
I think cli-php4 is the command-line-interface php.ini file for php4,
but the binary is no longer on my system.
If anyone knows...otherwise, I'll redirect to #gentoo
--
Anthony Ettinger
Signature: http
On 3/27/06, Anthony Ettinger [EMAIL PROTECTED] wrote:
On 3/27/06, Ryan A [EMAIL PROTECTED] wrote:
Ooops, and lets not forget this one:
curl http://www.yoursite.com/path/to/script/yourscript.php
you can put that in your cron job by going to cpanel its a long way
round but sometimes
anything he
likes into the content you send users, so your passing your risk onto
your users.
Chris
If you don't trust him enough to give him access to your server, why
are you letting him dynamically include code?
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP
/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
http://sperling.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General
...or you may have to decode the html entities first.
On 3/21/06, Anthony Ettinger [EMAIL PROTECTED] wrote:
saveHTML();?
instead of saveXML();
On 3/21/06, jonathan [EMAIL PROTECTED] wrote:
I'm interested in creating an xml doc from my php5/mysql 4.1 app. I'm
using PHP's DOM functions
(http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 3/16/06, Miles Thompson [EMAIL PROTECTED] wrote:
At 05:40 PM 3/16/2006, Anthony Ettinger wrote:
dreamhost let's you choose php4 or 5, as I'm sure others do as well.
snipped all 'dat stuff
A little more on dreamhost.
PHP5 is installed as CGI, not Apache module.
Is there a drawback
should encrypt the password in the database, with a one-way hash,
then you simply compare what's in your db to what the login form
submits.
That way if you get hacked, or your admin goes postal, you won't have
people's unencrypted passwords in the database.
--
Anthony Ettinger
Signature: http
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
from that script?!
Can anybody help?
Regards, Merlin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
,
Michael Mulqueen
michael-m.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is the last / interferring? Might want to try \[\/url\], in most regex
engines / is used as the separater between the s/search/replace/si;
--
Anthony
(publisher apress)
http://tinyurl.com/ohybj
I just finished reading this book, it's an excellent source for OOP
with php5. Also includes common patterns, complete with UML diagrams,
something you rarely see in programming books, at least the ones I've
read.
--
Anthony Ettinger
Signature: http
layer and handled in the
source code, rather than relying on re-factoring the database
everytime you want a count.
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of flexibility, and it so happens
this method seems inflexible from what I gather.
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
want to read up on bind_param. I'ts been awhile since I did this in Perl.
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can you dump the error string reported back from the mysql database
connection? Could provide some insight as to why your INSERT fails,
and the UPDATE works.
--
Anthony Ettinger
Signature
users);
while ($d = mysql_fetch_array($gun)) {
while($d[username] != $user) {
$i = $i + 1;
}
}
}
but it always returns 1. can sombody tell me what i am doing wrong or point
me in the right direction in the manual? plase and thank you
--
Anthony Ettinger
Signature: http://chovy.dyndns.org
: 0x4B4A486E
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. thank you for you help. simple fix. i
should have caught it.
- Original Message -
From: Anthony Ettinger [EMAIL PROTECTED]
To: benifactor [EMAIL PROTECTED]
Cc: php php-general@lists.php.net
Sent: Friday, March 03, 2006 3:52 PM
Subject: Re: [PHP] Mysql Rows
define $1 = 0
On 3/3/06, Murray @ PlanetThoughtful [EMAIL PROTECTED] wrote:
I have to agree with Anthony - why are you using row order to determine
something relating to users? I couldn't follow your brief explanation
above, and the fact that you're doing it sets off some soft alarm bells
about
Hi!
How do I un-subscribe to this list?
Thank you!
Anthony (Tony) Rodriguez
([EMAIL PROTECTED])
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
How do I un-subscribe to this list?
Thank you!
Anthony (Tony) Rodriguez
([EMAIL PROTECTED])
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 1/12/06, Frank Bax [EMAIL PROTECTED] wrote:
reg_replace( ' (\d+\$)', '+$0', $prop ); /* results in
dollar-alpha-space-space-plus-digits-dollar */
$Fencing +11$Lumber +17$Weight: 317 Stones$Energy Resist 2%$
Try:
preg_replace( '/ (\d+\$)/', '+$1', $prop );
--
Anthony Best
1 - 100 of 378 matches
Mail list logo