Can someone tell me what this syntax is? I looked around but don't see
any mention of it.
while(condition) : (statement);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
is an alternative syntax.
http://php.net/manual/en/control-structures.alternative-syntax.php
Premek.
On Wed, 10 Jul 2013 13:15:22 +0200, Jim Giner
wrote:
Can someone tell me what this syntax is? I looked around but don't see
any mention of it.
while(condition) : (statement);
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am almost ready with my learning project in PHP/MySQL.
I can register new product in stock.
Add and increase the number and weight.
I can move products between different storehouses
I can also transfer products from store and onto a "truck document" but
that's it and here I need some advice.
I l
Sorry, the first mail in this subject run out for me. This is an updated
one.
I am almost ready with my learning project in PHP/MySQL.
I can register new product in stock.
Add and increase the number and weight.
I can move products between different storehouses
I can also transfer products from
On 7/10/2013 8:30 AM, Karl-Arne Gjersøyen wrote:
I am almost ready with my learning project in PHP/MySQL.
I can register new product in stock.
Add and increase the number and weight.
I can move products between different storehouses
I can also transfer products from store and onto a "truck docume
On 7/10/2013 8:37 AM, Karl-Arne Gjersøyen wrote:
Sorry, the first mail in this subject run out for me. This is an updated
one.
I am almost ready with my learning project in PHP/MySQL.
I can register new product in stock.
Add and increase the number and weight.
I can move products between diffe
2013/7/10 Jim Giner
> On 7/10/2013 8:37 AM, Karl-Arne Gjersøyen wrote:
>
>> Sorry, the first mail in this subject run out for me. This is an updated
>> one.
>>
>>
>>
>> I am almost ready with my learning project in PHP/MySQL.
>> I can register new product in stock.
>> Add and increase the number
On 7/10/2013 9:07 AM, Karl-Arne Gjersøyen wrote:
2013/7/10 Jim Giner
On 7/10/2013 8:37 AM, Karl-Arne Gjersøyen wrote:
Sorry, the first mail in this subject run out for me. This is an updated
one.
I am almost ready with my learning project in PHP/MySQL.
I can register new product in stock.
Karl-Arne Gjersøyen wrote:
// start the table
$total = 0;
>echo "";
>echo "Product**Amount";
>
>// loop thru each item found
>while ($results = $qrslts->fetch(PDO::FETCH_**ASSOC))
>{
>echo "".$results['product_**name']."".$results['**
>product_amt']."";
$total += $results['product_amt']
2013/7/10 Lester Caine
> Karl-Arne Gjersøyen wrote:
>
>> // start the table
>>>
>>
> $total = 0;
>
> >echo "";
>>> >echo "ProductAmount";
>>>
>>> >
>>> >// loop thru each item found
>>> >while ($results = $qrslts->fetch(PDO::FETCH_ASSOC))
>>> >{
>>> >echo "".$results['product_nam
Hi all.
I have a requirement, wherein I need to allow vanilla uploads of files
to a HTTPD server.
Any client can upload any number of files (one at a time).
Also, there is just one directory, where the files get stored
"finally" (that is, after being copied from the temporary location,
via "move_
On 7/10/2013 1:21 PM, Ajay Garg wrote:
Hi all.
I have a requirement, wherein I need to allow vanilla uploads of files
to a HTTPD server.
Any client can upload any number of files (one at a time).
Also, there is just one directory, where the files get stored
"finally" (that is, after being copie
On Wed, Jul 10, 2013 at 7:21 PM, Ajay Garg wrote:
> Hi all.
>
> I have a requirement, wherein I need to allow vanilla uploads of files
> to a HTTPD server.
>
> Any client can upload any number of files (one at a time).
> Also, there is just one directory, where the files get stored
> "finally" (t
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 wrote:
>
>
>
> On Wed, Jul 10, 2013 at 7:21 PM, Ajay Garg wrote:
>
>> Hi all.
>>
>> I have a requirement, wherein I need to allow vanilla uploads of files
>> to a HTTPD
On 7/10/2013 2:15 PM, Ajay Garg 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 wrote:
On Wed, Jul 10, 2013 at 7:21 PM, Ajay Garg wrote:
Hi all.
I have a requirement, wherein I need to allow vanilla u
Thanks Jim and Anthony.
Jim,
You are right, your solution is doable.
But one thing I am a little skeptical about, is what would be the
percentage of the people willing to suggest a new name "immediately",
versus the percentage of people who would like to cancel the current
upload, and come back "
On 7/10/2013 3:37 PM, Ajay Garg wrote:
Thanks Jim and Anthony.
Jim,
You are right, your solution is doable.
But one thing I am a little skeptical about, is what would be the
percentage of the people willing to suggest a new name "immediately",
versus the percentage of people who would like to c
Is there anything that would prevent you from somehow uniquely knowing who
the user is uploading the file. For example you mentioned "client'. If you
know
who the client is you can append that to the filename or prepend it, for the
destination string (second parameter to the function call). That
Bastien Koert
On 2013-07-10, at 3:29 PM, Anthony Wlodarski wrote:
> Is there anything that would prevent you from somehow uniquely knowing who
> the user is uploading the file. For example you mentioned "client'. If you
> know
> who the client is you can append that to the filename or prepend
20 matches
Mail list logo