php-general Digest 24 Feb 2010 16:14:58 - Issue 6607
Topics (messages 302330 through 302349):
PHP or SQL to do this?
302330 by: Rob Gould
302332 by: Jim Lucas
302342 by: Ian
Re: PHP / mySQL Project... Real men use 'cat'
302331 by: Jim Lucas
302336
sry i gotta disagree.
a function that queries $_POST/$_GET first and then $_COOKIE seems
much wiser to me.
it consolidates all logic in the script, and making that logic obvious
by syntax, rather than relying on functionality being determined by
php.ini, which could well cause a new developer to
Hi folks
I'm hacking on a SOAP2 solution towards Magento and have retrieved the
catalog in an array, but i'm having trouble accessing the values of the
array cause there's an object in it. This is a var_dump of $my_array:
array(14) {
[0]=
object(stdClass)#2 (2) {
[set_id]=
Kim Madsen wrote on 24/02/2010 14:02:
how do I access for instance set_id in $my_array[0]? I tried declaring
an instance of $my_array[0] but that fails too: Fatal error: Cannot use
object of type stdClass as array
$my_array[0]-set_id; did the trick
--
Kind regards
Kim Emax -
On Wed, Feb 24, 2010 at 5:12 AM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
On Wed, 2010-02-24 at 09:18 +, Pete Ford wrote:
sudo ln -s /bin/cat /bin/dog
sudo ln -s /bin/cat /bin/rabbit
sudo ln -s /bin/cat /bin/rat
Sorted...
But now they're in /bin, surely at some point you'll
On Wed, 2010-02-24 at 09:22 -0500, Andrew Ballard wrote:
On Wed, Feb 24, 2010 at 5:12 AM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
On Wed, 2010-02-24 at 09:18 +, Pete Ford wrote:
sudo ln -s /bin/cat /bin/dog
sudo ln -s /bin/cat /bin/rabbit
sudo ln -s /bin/cat /bin/rat
On Wed, 2010-02-24 at 14:24 +, Ashley Sheridan wrote:
On Wed, 2010-02-24 at 09:22 -0500, Andrew Ballard wrote:
On Wed, Feb 24, 2010 at 5:12 AM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
On Wed, 2010-02-24 at 09:18 +, Pete Ford wrote:
sudo ln -s /bin/cat /bin/dog
Basically... I built the stream encapsulation to do two things for me:
1. Keep track of the row I was on.
2. Keep track of the columns by name. So if I wrote columns Foo, Bar,
Baz one time and Foo, Baz the next it would automatically keep the Baz
in column three the second time.
In other words,
FYI
http://digg.com/programming/PHP_compiler_performance
--
Regards,
Manuel Lemos
Find and post PHP jobs
http://www.phpclasses.org/jobs/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
--
PHP General Mailing List (http://www.php.net/)
To
Really nice article, Manuel. Thanks for writing and sharing the link.
Adam
On Wed, Feb 24, 2010 at 11:14 AM, Manuel Lemos mle...@acm.org wrote:
FYI
http://digg.com/programming/PHP_compiler_performance
--
Regards,
Manuel Lemos
Find and post PHP jobs
http://www.phpclasses.org/jobs/
Hello Adam,
on 02/24/2010 01:37 PM Adam Richardson said the following:
Really nice article, Manuel. Thanks for writing and sharing the link.
You're welcome! ;-)
Adam
On Wed, Feb 24, 2010 at 11:14 AM, Manuel Lemos mle...@acm.org
mailto:mle...@acm.org wrote:
FYI
Dia is also a superb diagramming software, though I don't think it generates
any SQL for you when it's said and done. There are versions for several
operating systems (including Linux AND Windows).
// Todd
On Wed, 2010-02-24 at 11:28 -0600, haliphax wrote:
Dia is also a superb diagramming software, though I don't think it generates
any SQL for you when it's said and done. There are versions for several
operating systems (including Linux AND Windows).
// Todd
Cool thanks all. I had a look
haliphax wrote:
Dia is also a superb diagramming software, though I don't think it
generates any SQL for you when it's said and done.
Dia can be scripted and there is some interesting looking stuff here:
http://projects.gnome.org/dia/links.html
(I never tried)
--
PHP General Mailing List
Ashley Sheridan wrote:
On Wed, 2010-02-24 at 11:28 -0600, haliphax wrote:
Dia is also a superb diagramming software, though I don't think it generates
any SQL for you when it's said and done. There are versions for several
operating systems (including Linux AND Windows).
// Todd
Cool
Hello all.
I'm trying to learn PHP on the fly and I have a line of code that
contains syntax I can't find documented anywhere:
php echo check('element8');
In the above line, can someone tell me what check means?
Thank you.
--Rick
--
PHP General Mailing List (http://www.php.net/)
To
Rick Dwyer wrote:
Hello all.
I'm trying to learn PHP on the fly and I have a line of code that
contains syntax I can't find documented anywhere:
php echo check('element8');
In the above line, can someone tell me what check means?
In the above, check is a function. It is being called
On Thu, Feb 25, 2010 at 12:16:08AM -0500, Robert Cummings wrote:
Rick Dwyer wrote:
Hello all.
I'm trying to learn PHP on the fly and I have a line of code that
contains syntax I can't find documented anywhere:
php echo check('element8');
In the above line, can someone tell me what check
Hi all. I know this is not strictly a PHP question but the code will be written
in PHP, and I figure the folks here will be well versed in the questions I
raise. Please feel free to contact me off the list if appropriate.
I need some assistance with database design for a project I'm coding in
OK... external function... that would explain why I could not locate it.
Let me get right to the problem I am having with this code as someone
may be able to help directly.
I have a link on a page that opens a contact form. The link is
mypage.php?my_id=5
So on mypage.php, I capture this
On Thu, Feb 25, 2010 at 03:37:38PM +1000, Angus Mann wrote:
Hi all. I know this is not strictly a PHP question but the code will be
written in PHP, and I figure the folks here will be well versed in the
questions I raise. Please feel free to contact me off the list if appropriate.
I need
if you do the redirection with header('Location: /mypage.php'),
setting a variable on formcheck.php is not enough.
if you modify the header('Location: /mypage.php') to..
header('Location: /mypage.php?my_id=5')
it will take the variable to mypage.php as $_GET['my_id]
you can not expect a
On Thu, Feb 25, 2010 at 4:22 PM, Rick Dwyer rpdw...@earthlink.net wrote:
OK... external function... that would explain why I could not locate it.
Let me get right to the problem I am having with this code as someone may be
able to help directly.
I have a link on a page that opens a contact
Hmm. OK with the help below, I am closer.
The other fields on the page are getting passed via form fields that
look like this:
input type=text value=?php echo check('element9'); ?
name=form[element9] size=40 maxlength=255
so I added:
input type=text value=?php echo check('my_id'); ?
Manuel Lemos schreef:
FYI
http://digg.com/programming/PHP_compiler_performance
A nice article, thank you for the information!
--
Kind regards,
Mark Cilissen / Pixlism
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
25 matches
Mail list logo