Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 194
» Latest member: darvishi
» Forum threads: 572
» Forum posts: 763

Full Statistics

Online Users
There are currently 22 online users.
» 0 Member(s) | 22 Guest(s)

Latest Threads
How to make digital clock...
Forum: HTML and CSS
Last Post: Kelly
09-16-2017, 07:51 AM
» Replies: 0
» Views: 82
hi
Forum: Introduce Yourself
Last Post: eerik
09-12-2017, 04:29 PM
» Replies: 0
» Views: 68
Hurricane Irma Sucked The...
Forum: Interesting Things
Last Post: Kelly
09-12-2017, 04:46 AM
» Replies: 0
» Views: 679
Pakistan vs Sri Lanka Cri...
Forum: PTV Sports
Last Post: Kelly
09-10-2017, 04:08 AM
» Replies: 0
» Views: 304
Why killing of Rohingya M...
Forum: Current Affairs
Last Post: Kelly
09-05-2017, 05:04 PM
» Replies: 0
» Views: 152
Prime Number Program in P...
Forum: PHP
Last Post: Kelly
08-29-2017, 02:27 AM
» Replies: 0
» Views: 221
Conor Mcgregor vs Floyd M...
Forum: UFC News
Last Post: Kelly
08-26-2017, 09:13 AM
» Replies: 0
» Views: 112
Pakistan Team Squad for S...
Forum: PTV Sports
Last Post: Kelly
08-26-2017, 09:01 AM
» Replies: 0
» Views: 259
World's Richest Politicia...
Forum: Interesting Things
Last Post: Kelly
08-25-2017, 06:27 AM
» Replies: 0
» Views: 165
World XI Cricket Team 201...
Forum: PTV Sports
Last Post: Kelly
08-25-2017, 05:41 AM
» Replies: 0
» Views: 852

 
  PHP Function to Check Prime Number
Posted by: Kelly - 08-19-2017, 05:04 AM - Forum: PHP - No Replies

Here is the best prime number program in PHP using for loop. It is quite simple and easy PHP function to check prime numbers. PHP prime number generator function.

PHP Code:
function is_prime($number){
 
   // 1 is not prime
 
   if $number == ) {
 
       return false;
 
   }
 
   // 2 is the only even prime number
 
   if $number == ) {
 
       return true;
 
   }
 
   // square root algorithm speeds up testing of bigger prime numbers
 
   $x sqrt($number);
 echo 
$x."==x<br>";
 
   $x floor($x);
 
   for $i $i <= $x ; ++$i ) {
 
       if $number $i == ) {
 
           break;
 
       }
 
   }
 
   
    if
$x == $i-) {
 
       return true;
 
   } else {
 
       return false;
 
   }

Print this item

  Celebrating Independence Day (14 August) by Pakistani Train
Posted by: HamzaAfzal - 08-10-2017, 09:09 PM - Forum: Pakistani Siasat - No Replies



Print this item

  Hello Everyone
Posted by: Parul1212 - 08-10-2017, 08:10 AM - Forum: Introduce Yourself - No Replies

Hello Everyone to all
i am new member in this forum and share my information.

Print this item

  hi
Posted by: Rashmisharma - 08-09-2017, 12:49 PM - Forum: Introduce Yourself - No Replies

i am rashmi sharma.

Print this item

Thumbs Up Hi Everyone?
Posted by: HamzaAfzal - 08-08-2017, 08:33 AM - Forum: Introduce Yourself - No Replies

Looking forward to getting new updates from this forum.

Print this item

  Importance of good design in web design
Posted by: alicepotter - 07-31-2017, 02:56 PM - Forum: Graphic Design - No Replies

Availability of so many options to design and develop website on our own allow us to build a website quickly. You don’t even need to purchase these tools most of them are free. Using these free resources are good for when you don’t have plans to generate leads from your website. However, if you are going to use it for business reasons to represent your brand in online world, you must go for custom web design in Singapore. This is because website has a strong potential to attract more loyal customers across the world. Today web sites have become far important than physical office.

This demands business owners to use all the design components to create an aesthetically beautiful website with useful functionalities. Whether it’s about choosing typography, colors or functionalities, you should choose them mindfully and use them in a best possible way. All you need is to hire a qualified website designer & developer to create an outstanding responsive website to connect with all customers.

Print this item

  Donald Trump Jr posts emails of Russian offer of material on Clinton
Posted by: Kelly - 07-11-2017, 04:46 PM - Forum: Current Affairs - No Replies

Donald Trump Jr posts emails of Russian offer of material on Clinton

[Image: AnikaDm.png]

<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Here's my statement and the full email chain <a href="https://t.co/x050r5n5LQ">pic.twitter.com/x050r5n5LQ</a></p>&mdash; Donald Trump Jr. (@DonaldJTrumpJr) <a href="https://twitter.com/DonaldJTrumpJr/status/884789418455953413">July 11, 2017</a></blockquote>

<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Here is page 4 (which did not post due to space constraints). <a href="https://t.co/z1Xi4nr2gq">pic.twitter.com/z1Xi4nr2gq</a></p>&mdash; Donald Trump Jr. (@DonaldJTrumpJr) <a href="https://twitter.com/DonaldJTrumpJr/status/884789839522140166">July 11, 2017</a></blockquote>

It is informed that the data he was guaranteed on Clinton was a piece of Russian government endeavors to help his dad's battle.

Trump Jr. tweeted that he was discharging the messages to be "absolutely straightforward," yet his discharge came minutes before The New York Times distributed the messages.

[Image: cJ66VRC.jpg]

Print this item

  Melania Trump stuck at residence over G20 demos
Posted by: Kelly - 07-07-2017, 04:43 PM - Forum: Current Affairs - No Replies

Melania Trump stuck at residence over G20 demos

<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Thinking of those hurt in <a href="https://twitter.com/hashtag/Hamburg?src=hash">#Hamburg</a> protests. Hope everyone stay safe! <a href="https://twitter.com/hashtag/G20?src=hash">#G20</a></p>&mdash; Melania Trump (@FLOTUS) <a href="https://twitter.com/FLOTUS/status/883279291311685633">July 7, 2017</a></blockquote>

Anti-globalization activists have set dozens of cars ablaze and tried to block leaders' delegations from entering the grounds of the Group of 20 summit. Police have said at least 111 officers were hurt during Thursday's clashes.

Spouses typically get together while leaders are in meetings during international summits like these. Friday's program for the spouses included a boat ride, lunch and a tour of a climate control center, the Climate Service Center. It's a think tank tasked by the German government with coming up with strategies to combat climate change.

Print this item

  Conor McGregor vs Floyd Mayweather Press Conference Los Angeles on 11 July
Posted by: Kelly - 07-07-2017, 03:29 PM - Forum: UFC News - No Replies

Conor McGregor vs Floyd Mayweather Press Conference Los Angeles on 11 July

<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Just Announced. <a href="https://twitter.com/FloydMayweather">@FloydMayweather</a> vs <a href="https://twitter.com/TheNotoriousMMA">@TheNotoriousMMA</a> press conference on Tue, Jul 11. Tix avail tomorrow at 12pm. <a href="https://t.co/12BeKnX5OA">https://t.co/12BeKnX5OA</a> <a href="https://t.co/lbD3vYGf7d">pic.twitter.com/lbD3vYGf7d</a></p>&mdash; STAPLES Center (@STAPLESCenter) <a href="https://twitter.com/STAPLESCenter/status/883132629184200704">July 7, 2017</a></blockquote>

[Image: WUSu4pz.png]

Floyd Mayweather and Conor McGregor will meet the media together surprisingly one week from now at a question and answer session to advance their super-battle on 26 August.

The combine will take inquiries from columnists at the Staples Center in Los Angeles on 11 July, next Tuesday, with the occasion being the first in a multi-city squeeze visit.

Tickets for this initially question and answer session at the 20,000-limit field are free and will be accessible to individuals from general society from 8.00pm BST on Friday.

Print this item

  Donald Trump's Critic Praise Him on His Speech
Posted by: Kelly - 07-07-2017, 09:04 AM - Forum: Current Affairs - No Replies

Donald Trump's Critic Praise Him on His Speech

[Image: X4xX3HG.jpg]

Dan Rather the former CBS News anchor is one of the critics of President Trump. Now after the President’s speech on Thursday in Warsaw, Rather had nothing but praise — though admittedly "faint praise." Shortly after Trump wrapped up his "pro-NATO speech," Rather deemed it the "best of his presidency". Here are the tweets that Dan Rather shared with his account.

<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">President Trump pro-NATO speech in Poland is the best of his Presidency. That may be damning with faint praise, but there it is.</p>&mdash; Dan Rather (@DanRather) <a href="https://twitter.com/DanRather/status/882945902335361025">July 6, 2017</a></blockquote>

<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Trump Poland speech reverses previous statements questioning value of NATO. And first time he has been so critical of Russia.</p>&mdash; Dan Rather (@DanRather) <a href="https://twitter.com/DanRather/status/882954284937220097">July 6, 2017</a></blockquote>

Print this item