On 1/5/06, Curt Zirzow <[EMAIL PROTECTED]> wrote:
> On Wed, Jan 04, 2006 at 12:31:02AM +0530, anirudh dutt wrote:
> > hi
> > the subject is pretty much what the problem is.
> >
> > if i use
> > $st1 = $sql->stmt_init(); // $sql is a mysqli obj/conn
>
if i use an sql var in the prepare/bind case as
$st1->prepare("select @ck_num:=`num` from `activity` where `id` = ?");
var_dump($rz) is NULL; otherwise it's int(7)
any ideas?
anirudh
--
]#
Anirudh Dutt
...pilot of the storm who leaves no trace
like thoughts inside a dream
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
m the domain...similar behaviour to when it's not
specified.
a comment was posted about this on the setcookie page
(http://php.net/manual/en/function.setcookie.php#36202) which i think
should be added to the function docs.
anirudh
--
]#
Anirudh Dutt
pilot of the storm who leaves no trace
like thoughts inside a dream
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
p.net/strtolower) on $name.
for general cases of OR...
On Thu, 17 Mar 2005 12:32:20 +, eoghan <[EMAIL PROTECTED]> wrote:
> can do:
> if ($name==andrea || $name==john)
>
> On 17 Mar 2005, at 11:59, AndreaD wrote:
> > if ($name==andrea) OR ($name==john)
--
]#
Anirudh Dutt
On Tue, 8 Mar 2005 10:28:32 +0530, Zareef Ahmed <[EMAIL PROTECTED]> wrote:
> On Mon, 7 Mar 2005 10:02:32 +0530, anirudh dutt <[EMAIL PROTECTED]> wrote:
> > On Mon, 7 Mar 2005 08:37:52 +0530, Zareef Ahmed <[EMAIL PROTECTED]> wrote:
> > > Again you are sendi
that the mail() function is not suitable
for larger volumes of email in a loop. This function opens and closes
an SMTP socket for each email, which is not very efficient.
For the sending of large amounts of email, see the PEAR::Mail, and
PEAR::Mail_Queue packages.
[/quote]
u could also open a pi
On Fri, 04 Mar 2005 14:23:29 +0100, Jochem Maas <[EMAIL PROTECTED]> wrote:
> anirudh dutt wrote:
> > On Fri, 04 Mar 2005 12:37:55 +0100, Jochem Maas <[EMAIL PROTECTED]> wrote:
> >
> >>anirudh dutt wrote:
> >>
> >>
> >>won't debug
trace provides.
--
]#
Anirudh Dutt
...pilot of the storm who leaves no trace
like thoughts inside a dream
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 04 Mar 2005 12:37:55 +0100, Jochem Maas <[EMAIL PROTECTED]> wrote:
> anirudh dutt wrote:
> > create a debug function (public) and use get_class. call that in the
>
> if you are using the 'public' keyword then you have to use php5,.
i meant a function li
e class, otherwise,
use the object aka class instance variable.
u may wanna pass by reference and make it const (won't have to use
more memory for it...since it's task with it is small and read-only)
from http://php.net/get_class
[quote]
Example 1. Using get_class()
name();
?>
The abov
(whether u keep fetching data from the db or store it in two places:
one for the forms, the other in the db as data...i leave to u to
decide).
modularity:
create functions or use classes handle all the tasks. since each page
only has to understand/use a subset of those vars (which would usually
be
On Tue, 1 Mar 2005 10:40:59 +, AdamT <[EMAIL PROTECTED]> wrote:
> On Tue, 1 Mar 2005 16:06:56 +0530, anirudh dutt <[EMAIL PROTECTED]> wrote:
> > i just opened 4 jpg files...dunno about where the header is...coz i
> > didn't find anything common at the beg
are in the file header (eg BM for Bitmap, Gif89a for
> GIFs, JFIF for JPEGs...)
--
]#
Anirudh Dutt
...pilot of the storm who leaves no trace
like thoughts inside a dream
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$something && $this = $that;
>
> ?>
this seems to do the trick as per "Like ternary but without the else".
for those who want to know, u can even use:
$a && print "this only prints if 'a' is non false"
but not echo since it doesn't retu
cially since u've "been on this mailing list for quite a while"
--
]#
Anirudh Dutt
...pilot of the storm who leaves no trace
like thoughts inside a dream
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
use php to output the javascript code just as u'd do it for html
(since the javascript code is IN the html).
if ur js is ready:
JS_TEXT;
?>
the
age I get is:
>
> Notice: Undefined index: myfile in /www/htdocs/upload.php on line 6
> No Upload.
>
> I've checked $_FILES['myfile']['error'] and its empty. The whole
> $_FILES array is empty. In my php.ini file I have the following:
>
> ; Whet
On Thu, 20 Jan 2005 13:30:35 +0100, M. Sokolewicz <[EMAIL PROTECTED]> wrote:
> what you're doing is server => server
> What the akshay wants is server => client
> The only not yet posted other options are client => client (which is
> essentially impossible with PHP, unless you use the server=>serve
On Thu, 20 Jan 2005 12:26:07 +0100, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> akshay wrote:
> > Hi all,
> > I hv problem while file upload.
> > I hv one server and multiple client.
> > I want to upload a file from Server to client.
> > how this is possible in PHP
>
> This is usualy called downl
19 matches
Mail list logo