On 1 June 2011 06:53, Tamara Temple wrote:
>
> On May 30, 2011, at 10:01 AM, Jim Giner wrote:
>
>> Thanks for the attempt Simon, but your code only displayed gibberish.
>> While looking around again for help, I found this and it works perfectly:
>>
>> > session_start();
>> //
>> // Specify the na
On Tue, 31 May 2011 21:01:09 +0100, Stuart Dallas wrote:
>
> Sometimes I miss the way the web was before javascript :/
Sometimes???
Jonesy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well - the code works just fine as is and that's all I care about. As for
Richard's comments - the url in my header(Location) statement points to
a pdf file, not a php file, so the target is not sending any headers (that I
know of ).
--
PHP General Mailing List (http://www.php.net/)
To
hi all,
is it possible to dynamically build a key value pair array in php from a
database result?
if so how?
kind regards
Adam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with mysql use mysql_fetch_assoc, is that what you are asking for ?
On 1 June 2011 16:31, Adam Preece wrote:
> hi all,
>
> is it possible to dynamically build a key value pair array in php from a
> database result?
>
> if so how?
>
> kind regards
>
> Adam
> --
> PHP General Mailing List (http://
sorry i should of explained a little more in depth :-).
i am using smarty templating engine,
and it needs me to pass in an associative array.
only an id column and a the name column.
i know if i use a more specific query, but if i have the result set already
could i build the array so it suits
On Jun 1, 2011, at 9:54 AM, Jim Giner wrote:
Well - the code works just fine as is and that's all I care about.
As for
Richard's comments - the url in my header(Location) statement
points to
a pdf file, not a php file, so the target is not sending any headers
(that I
know of ).
The
On Jun 1, 2011, at 10:40 AM, Adam Preece wrote:
sorry i should of explained a little more in depth :-).
i am using smarty templating engine,
and it needs me to pass in an associative array.
only an id column and a the name column.
i know if i use a more specific query, but if i have the res
On Wed, 2011-06-01 at 13:31 -0500, Tamara Temple wrote:
> On Jun 1, 2011, at 9:54 AM, Jim Giner wrote:
>
> > Well - the code works just fine as is and that's all I care about.
> > As for
> > Richard's comments - the url in my header(Location) statement
> > points to
> > a pdf file, not a
Hi there,
I am working on a pretty huge site with thousands of files with php
code. Unfortunatelly the app throws a ton of notices du to missing '' in
arrays. Of course I could simply disable the output on the dev server to
surpress notices, but I would rather like to get it fixed.
Has someb
> I am working on a pretty huge site with thousands of files with php code.
> Unfortunatelly the app throws a ton of notices du to missing '' in arrays. Of
> course I could simply disable the output on the dev server to surpress
> notices, but I would rather like to get it fixed.
>
> Has somebo
You can put an @ symbol in front each item that is throwing the error.
That may take some time though. You could use something like
find /htdocs_folder -name \*.php -print | xargs sed -i
s/\$array_name/@$array_name/g
That might get you what you're looking for. But be cautious because this
meth
I was thinking about this a little more and thought that the method I sent
before will work, but it has the potential of clobbering variables that are
not related to this warning/notice. Best bet would be to create a list of
file names that contain the offending variables then feed that to sed usi
On Wed, Jun 1, 2011 at 6:26 PM, Merlin Morgenstern wrote:
> Hi there,
>
> I am working on a pretty huge site with thousands of files with php code.
> Unfortunatelly the app throws a ton of notices du to missing '' in arrays.
> Of course I could simply disable the output on the dev server to surpre
hi, all
i currently have a project which using & operator on creating a new object.
like:
$class =& new Class();
it works properly in php 5.1.6,
but not in php 5.3.3
and it gives offset errors to me.
is there anyone knows why and how to fix this problem?
On 2/06/2011, at 2:44 PM, 李白|字一日 wrote:
> hi, all
>
> i currently have a project which using & operator on creating a new object.
>
> like:
> $class =& new Class();
>
> it works properly in php 5.1.6,
> but not in php 5.3.3
> and it gives offset errors to me.
>
> is there anyone knows why an
both php 5.1.6 and php 5.3.3 are php 5.
but it seems they are different in processing & operator.
2011/6/2 Simon J Welsh
> On 2/06/2011, at 2:44 PM, 李白|字一日 wrote:
>
> > hi, all
> >
> > i currently have a project which using & operator on creating a new
> object.
> >
> > like:
> > $class =& new
2011/6/2 Merlin Morgenstern :
> Hi there,
>
> I am working on a pretty huge site with thousands of files with php code.
> Unfortunatelly the app throws a ton of notices du to missing '' in arrays.
> Of course I could simply disable the output on the dev server to surpress
> notices, but I would rat
18 matches
Mail list logo