Just curious about what the apmersand does in this context:
function & funcname ($parm) {}
(Can't find it in the manual for some reason)
.
. Ross Honniball. JCU Bookshop Cairns, Qld, Australia.
.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 25 May 2004, Ross Honniball wrote:
>
> function & funcname ($parm) {}
>
With the ampersand you return a reference to a variable instead of the
value.
--
Jeroen
Always code as if the guy who ends up maintaining your code will be a violent
psychopath who knows where you live.
--
Ross Honniball wrote:
Just curious about what the apmersand does in this context:
function & funcname ($parm) {}
This means the function is supposed to return a reference by default
instead of a value.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
I've found an incredibly useful compression utility for windows called
7-zip. It handles zip, tar/gzip, bzip, and a specialized 7-zip utility
that can compress even more (by using a larger library). I don't use
the 7-zip compression itself all that much, but the utility itself is a
nice (and
When I run a query the syntax looks like this:
$result = mssql_query($query);
$numRows = mssql_num_rows($result);
for($i=0; $i<$numRows; $i++)
{
$row = mssql_fetch_array($result);
}
but if I go to try and loop through the resultset again it wont work
unless I run this line again "$result = mssq
try something like this
$result = mssql_query ($query);
if ($result) {
while ($template_args = msssql_fetch_array ($res)) {
//what ever you want to do with the data
}
}
Derrick Hermanson
Programmer/Analyst I
Acton International LTD.
402.470.5816
mailto:[EMAIL PROTE
What's happening is the pointer on the results is advancing until it
hits the end of the result set. When you run it again, the pointer is
still at the end of the result set and therefore sees nothing 'ahead' of
it.
The same thing can happen with arrays. I'm not sure if you have to do
it still,
Trevor,
That is the key!!! You rock...cut my page load time in half.
Thanks my good man!
Ron
>From: Gryffyn, Trevor
>To: Derrick Hermanson; Herhuth, Ron; [EMAIL PROTECTED]
>Sent: 05/25/2004 3:11 PM
>What's happening is the pointer on the results is advancing until it
>hits the end of the result
hi @ all
quick question:
ready?
here it is!
WHY IS PHP - GTK not webbased?
sorry, may i am wrong, but i am looking for someone, who is responsable for GTK.
cz, some programmers (including myself) thinking loud about, what could be the reason
why PHP-GTK is not webbased.
that would be high-e
At first the question intrigued me, now I'm not so sure. What becomes
apparent is a somewhat foggy term "web based". I assume that you want to
get at the powerful widgets of GTK in your "web based" applications.
First concern is the client machine running a web browser only, which to
keep your m
IN MY (not MS) SQL I would try
mysql_data_seek ($result, 0);
to move the internal pointer to the first data row
I dont know at the moment if there is a similar function in the ms area.
maybe it helps
robert
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL P
11 matches
Mail list logo