Learn PHP From Here

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Watch

faizanafzal

Account Closed
Impact
0
hi guys here you can learn php from the big php developers. I hope that php developers will give us tips about php :gl:
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
<?php
echo 'Hello World!';
?>
 
0
Close
<?='Hello World!'?>
 
0
Close
<?php
print('Hello World!');
?>
 
0
Close
Any other buddy can post any other php scripts
 
0
Close
<?php
$string = 'Hello World!';
echo $string;
?>
 
0
Close
I would always rather echo out than print out in PHP.

Oh yeah, my tip.

Money, enough for a book.
 
0
Close
faizanafzal said:
Any other buddy can post any other php scripts
Friend this way you will get no where. Why don't you ask some questions if you have and if possible other people can solve your query. :)

Then also if you get some knowledge out of this small code snippets then I will continue with the posts.

PHP:
<?php
if(!isset($submit))
{
echo "<center><form name='form' method='post' action='$PHP_SELF'>
Your Name: <input type='text' value='' name='name'><br>
<input type='submit' value='Submit' name='submit'>
</form></center>";
}
else
{
echo "<center>Hello $name</center>";
}
?>
 
0
Close
The Above being one of the most common uses of the if-else function, if the form has already been submitted, display the information, or else if it hasn't, display the form.
 
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

A browser tab with a favicon next to the page title
Search members
You can now search for members by name, company, location and more. Open the search at the top of any page and choose Members. You will...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back