Jump to content


Check out our Community Blogs

GMailGuy

Member Since 04 Oct 2007
Offline Last Active Jan 16 2008 09:58 AM
-----

Topics I've Started

curly brackets or fullstop

15 January 2008 - 03:36 AM

What is the real difference (if any) of using


$price = 100;
echo "The price is {$price}USD";


Or Using


$price = 100;
echo "The price is " . $price . "USD";


I know the output is exactly the same, but are there any special cases where we should use one method and not the other?

PHP date question

15 January 2008 - 03:21 AM

Hi there. I was reading an ebook about PHP and I want to learn it and I encountered this:

The time is
<?php echo date('H:i:s');?>
and the date is
<?php echo date('j F Y');?>


What does the H, i, s, j,F, Y mean?

I mean ok the :
H = Hour (I think 24 hour clock as it's capital)
s = seconds
Y= year

but how am I supposed to know the others? Do those mean anything? or just letters that the people that invented PHP chose?

Implement Captcha?

26 December 2007 - 06:59 AM

How can I use captcha on a form? and if it is wrong the form will not be submitted? This was always my problem, I don't know how to stop a form from being submitted.

Thanks

Website sales

26 December 2007 - 06:56 AM

ever sold a website? was it a good deal and a huge amount of money?

And where did you sell it? do you have any websites where one can sell their websites?

Idea for ez money website?

26 December 2007 - 06:53 AM

Yeah, anyone got a good idea about a website I can create.. a website that will generate a fair amount of money?

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download