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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 261
» Latest member: lousnelson
» Forum threads: 565
» Forum posts: 759

Full Statistics

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

Latest Threads
Social Media Star Priya P...
Forum: General Discussion | Off-topic Discussion
Last Post: Kelly
02-15-2018, 04:08 PM
» Replies: 0
» Views: 992
Down Syndrome Young Man S...
Forum: General Discussion | Off-topic Discussion
Last Post: Kelly
02-11-2018, 06:58 AM
» Replies: 0
» Views: 901
Orphaned baby kangaroo Tr...
Forum: General Discussion | Off-topic Discussion
Last Post: Kelly
02-09-2018, 05:18 AM
» Replies: 0
» Views: 222
How to Remove Watermark i...
Forum: Computer Software
Last Post: Kelly
02-05-2018, 06:29 AM
» Replies: 0
» Views: 128
Uplifting News Story as a...
Forum: General Discussion | Off-topic Discussion
Last Post: Kelly
02-04-2018, 01:47 PM
» Replies: 0
» Views: 227
Unbelievable Pictures Of ...
Forum: General Discussion | Off-topic Discussion
Last Post: Kelly
01-17-2018, 05:24 PM
» Replies: 0
» Views: 1,306
Costume Designer Repairs ...
Forum: Interesting Things
Last Post: Kelly
01-15-2018, 05:13 PM
» Replies: 0
» Views: 771
A cancer patient welcomed...
Forum: General Discussion | Off-topic Discussion
Last Post: Kelly
01-10-2018, 04:28 PM
» Replies: 0
» Views: 1,080
Salman Khan and Katrina k...
Forum: General Discussion | Off-topic Discussion
Last Post: Reham
01-04-2018, 04:38 AM
» Replies: 0
» Views: 456
Pakistan Super League 201...
Forum: PTV Sports
Last Post: Reham
12-09-2017, 06:14 AM
» Replies: 0
» Views: 452

 
  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

  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

  12 Kg of Waste Came Out From a Patient's Stomach
Posted by: Kelly - 07-06-2017, 04:44 PM - Forum: Interesting Things - No Replies

12 Kg of Waste From The Extracted From Patient's Stomach, 12 Kg of Waste Came Out From a Patient's Stomach

[Image: NZqF74b.jpg]

Beijing:
Chinese doctors have managed to get 28 pound of waste with the part of tripe (Intestine) from a 22 year old young man.
According to the patient, he has constipation from his childhood, and the waste was deposited in a large part of the intestine. The length of the waste was 30 inches and the doctors managed to get it out from a part of intestine. According to experts, this person was suffering from Hirschsprung's disease in which a part of the intestine is empty from the controller's nerves, and as a result the intestine suffers from swelling. Even the patient's stomach was like a pregnant woman, because the waste was gathering in the intestine and causing intense pain and gas.

[Image: TWz7v0J.jpg]

The initial test showed that waste has been gathering for several not for months but for years in its intestine, which had a body bulged. After a three-hour long operation, a team of doctors saved the patient from this problem. After extracting part of the intestine, doctors cured both of their heads so that waste cannot come out, but this 30-inch long part can tell us how painful it had been for the patient.

Medical experts say that one of the 5000 people may suffer from Hirschsprung's disease patients on average and it is common in men. In this patients are treated with surgery.

Print this item

  NYPD Officer Shot Dead on Duty in Bronx US
Posted by: Kelly - 07-05-2017, 03:35 PM - Forum: General Discussion | Off-topic Discussion - No Replies

NYPD Officer Shot Dead on Duty in Bronx US

NYPD officer Miosotis Familia dies after being shot on duty US news short while a go. A 12-year veteran of the compel, Familia passed on in the healing facility on Wednesday morning in the wake of being shot in the line of obligation. The NYPD is alluding to the episode as an unmerited assault. Miosotis Familia, a 48-year old cop, was shot in the head while sitting in a police vehicle in the Bronx.

[Image: 43Fub7b.jpg]

<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr"><a href="https://twitter.com/hashtag/NYPD?src=hash">#NYPD</a> PO Miosotis Familia has been assassinated in an unprovoked attack on cops assigned to keep NYers safe. Keep her family in your prayers <a href="https://t.co/yhRB7H5bvi">pic.twitter.com/yhRB7H5bvi</a></p>&mdash; Commissioner O'Neill (@NYPDONeill) <a href="https://twitter.com/NYPDONeill/status/882550648671272960">July 5, 2017</a></blockquote>

<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">The <a href="https://twitter.com/NYPD46Pct">@NYPD46Pct</a> officer was shot in the Bronx while protecting NYC. <br>Please join us in praying for her. <a href="https://t.co/LjRw7w0GsJ">pic.twitter.com/LjRw7w0GsJ</a></p>&mdash; NYPD NEWS (@NYPDnews) <a href="https://twitter.com/NYPDnews/status/882505610302038017">July 5, 2017</a></blockquote>

<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">I would like those who claim constantly that they support cops to care enough about cops to demand gun safety.<a href="https://twitter.com/hashtag/NYPD?src=hash">#NYPD</a> <a href="https://twitter.com/hashtag/MiosotisFamilia?src=hash">#MiosotisFamilia</a></p>&mdash; Charles Clymer?️‍? (@cmclymer) <a href="https://twitter.com/cmclymer/status/882582159663484928">July 5, 2017</a></blockquote>

<iframe width="560" height="315" src="https://www.youtube.com/embed/-TRH59zJu6k" frameborder="0" allowfullscreen></iframe>

Print this item

  Baby Elephant Sliding Down Hill in China Video
Posted by: Kelly - 07-04-2017, 02:57 PM - Forum: Interesting Things - No Replies

Baby Elephant Sliding Down Hill in China Video

Infant elephants simply like human youngsters or even infant pandas simply need to have some good times as they investigate their reality.

One child elephant by the name of Yang Niu was discovered on video Thursday exhibiting her virtuoso jokes as she slid down a sloppy slope.

[Image: XxXZhLw.jpg]

The amusing video was gotten by her attendant from the Asian elephant rearing and protect focus in southwest China.

It demonstrated the two-year-old elephant extending her front legs, lying on her paunch and sliding down the sloppy slant. Only for the sheer delight of it, Yang Niu slid down a few more slants until the point that she got to the base of the slope.


<iframe width='640' height='480' frameborder='0' allowfullscreen src='//player.ooyala.com/static/v4/stable/4.10.4/skin-plugin/iframe.html?ec=02MDZzYjE6Q8PjTi_USzDgIm-ZCjT2y-&pbid=d61aae005ea24888be90b593a0483d70&pcode=F3aWYyOjVCeVkayB8rPH2I21_VDj'></iframe>

Print this item

  Bahawalpur Oil Tanker Blast Video
Posted by: Kelly - 06-25-2017, 04:42 PM - Forum: Current Affairs - No Replies

Bahawalpur Oil Tanker Blast Video

Pakistan oil tanker explosion victims engulfed in flames as they rushed to collect spilled fuel. At least 148 people were killed as they rushed to collect spilled fuel after an oil tanker overturned and exploded in Pakistan, rescue workers have said.
[Image: Fx8exaD.jpg]

See the before and after blast videos. Destruction as oil tanker catches fire in Bahawalpur.





<iframe width="560" height="315" src="https://www.youtube.com/watch?v=-KJOgLVcr0M" frameborder="0" allowfullscreen></iframe>

<iframe width="560" height="315" src="https://www.youtube.com/embed/Z5Q4FOT8qwk" frameborder="0" allowfullscreen></iframe>

Print this item

  Why Preloading images is used and what are the benefits?
Posted by: Kelly - 06-23-2017, 04:04 AM - Forum: HTML and CSS - No Replies

Why Preloading images is used and what are the benefits?

I have seen this question posted on many websites and forums talking about preloading images. I want to know that what is the benefit of pre-loading images and how to preload images? You can use any method like preload images CSS, preload images html5 or preloading images with JavaScript or jQuery.

Print this item