PHP Expressions

An expression is the basic building block of the language.
 Anything with a value can be thought of as an expression. 
Examples include:
5
5+5
$a
$a==5
sqrt(9)
By combining many of these basic expressions, you can
 build larger, more complex expressions.
Note that the echo statement we've used in numerous 
examples cannot be part of a complex expression because
 it does not have a return value. The print statement, on
 the other hand, can be used as part of complex expression
 -- it does have a return value. In all other respects, echo 
and print are identical: they output data.

Expressions are combined and manipulated using operators.

The control structures in PHP are very similar to those
 used by the C language. Control structures are used to 
control the logical flow through a PHP script. PHP's control 
structures have two syntaxes that can be used interchangeably. 
The first form uses C-style curly braces to enclose statement 
 blocks, while the second style uses a more verbose syntax 
that includes explicit ending statements. The first style is 
preferable when the control structure is completely within 
a PHP code block. The second style is useful when the 
construct spans a large section of intermixed code and 
HTML. The two styles are completely interchangeable, 
however, so it is really a matter of personal preference 
which one you use. 

The if statement is a standard conditional found in most languages.
 Here are the two syntaxes for the if statement:
if(expr) {            if(expr):
  statements            statements
} elseif(expr) {      elseif(expr):
  statements            statements
} else {              else:
  statements            statements
}                     endif;
The if statement causes particular code to be executed if
 the expression it acts on is true. With the first form, 
you can omit the braces if you only need to execute a 
single statement.


Sony Xperia T3

It's been joined by the Sony Xperia T3, which is exclusively
sold by Carphone Warehouse. All three colors are already
 up for grabs - white, black, and purple. That said, the device
 isn't yet being offered with Pay as you go deals or in SIM-free
 form. If you want one, you'll need to sign a contract with an operator.
 The handset can be yours for free if you choose a plan that costs
at least £22.50 per month.

 That option is at Vodafone and brings with it 300 minutes,
unlimited texts, and 250MB of data each month. There are
 many other choices available though, from EE and O2 as
well. As you'd expect, if you want to get more benefits per
month, you need to pick a more expensive plan. The Xperia
T3 is a mid-range phablet that comes with a 5.3-inch 720p
touchscreen, an 8 MP rear camera with LED flash, and a
1.1 MP front snapper.

It's powered by a Qualcomm
Snapdragon 400 chipset with a 1.4 GHz quad-core
CPU, with 1GB of RAM and 8GB of built-in expandable
 storage.

LG -G Watch

Users have complained that the corrosion is causing them
discomfort due to the metal-to-skin contact, as well as problems
 with charging the device; some users aren't able to get their
smartwatches to charge at all. While this seems like an entirely
 hardware issue, LG assures that an OTA software update will
fix the problem. Just how can a software update stop the metallic
 charging connectors from corroding, you ask? Well, the G
Watch constantly streams a current to the watches bottom
conductors - even when the device isn't charging. As a result,
when the watch makes contact with your sweat-covered skin,
 grime builds up and boom, that's where the corrosion begins.
 So what's LG to do? A rep breaks it down: "LG will be rolling
out a maintenance release over the next few days that will disable
 the current when the G Watch is not in the charging dock..
.[this will be] completely safe and unlikely to affect charging.

" If the software update does what LG intends, then the Korean
 tech manufacturer will save itself a lot of money in product recalls.
 The update was pushed out yesterday, so time will tell if this solves
 the corrosion issue and if not, then LG will surely have a lot of irate
 customers on its hands.

Blue HTC One-M8

Last week the HTC One -M8 went on sale in the UK in two new hues
- red and pink. That said, there's another color version of the
 handset that's been leaked quite a few times so far but hasn't
managed to make it to store shelves just yet: blue. A render
showing it appeared in May, followed by this shade of the One
 M8 going up for pre-order in the UK. Intriguingly though,
it hasn't yet launched over there, and the aforementioned
pre-order page is no longer accessible.

If you're wondering what may be going on here, the answer
 might surprise you. It turns out that the blue HTC One M8
 will be an exclusive to Three Ireland. What you see above
 is a shot of some kind of a promotional material from said
operator, which proudly boasts that it will start selling the
 new color sometime before the end of August. It's not out
of the ordinary for carriers to get exclusive colors, but this
flyer seems to imply that the blue HTC One M8 won't be
available anywhere else in Europe.

Samsung Galaxy Mega

Samsung Galaxy Mega

Samsung may want to add another feature to its Galaxy Mega
phone's spec sheet: that the device is bullet proof. A Taiwanese
man was shot in the chest during a heated dispute about a
misplaced wallet. The shooter was apparently not pleased
with the man who found said wallet and shot him, thinking that
 he was a thief. The phone ultimately protected the man who
 was shot; stopping the bullet from entering his body and
saving him from any serious harm. The Mega didn't even
need the Kevlar coating that some of Motorola's offerings
 are dressed in to stop the slug, either; it's all-plastic body
did the job just fine. To refresh your memory- the Galaxy
 Mega is a phablet with a 6.3" screen with 1.5GB RAM,
a 1.7GHz dual-core processor, LTE, an 8MP camera,
1.9MP selfie unit, 3200mAh battery, and a microSD card slot.

Google Translate

Google Translate is a free, multilingual statistical
 machine-translation service provided by Google Inc.
 to translate written text from one language into another.
Free Translation for Spanish, French, English, German,
 Portuguese, Russian and Italian languages.

One way of catering for the long tail of keywords
 is to ensure that each of your pages has a unique
title and, ideally, rather unique content as well.
Another is to add translations of your pages for a
multitude of languages, which will generate a
multitude of new ways to find you there are paid
online services to which you can submit a text file,
 and then pick the languages you want it to be
 translated into by native speakers.

http://translate.google.com

Spotlight on the Stars-James Franco


James Edward Franco born April 19, 1978 is an American actor,
 director, producer, teacher, author. His first prominent acting
 role was a lead part.

Howdy ladies and gentleman For this week’s spotlight piece,
 I wanted to go ahead and take a look at a rather unique A-lister
. Someone who vacillates between humongous Hollywood
blockbusters and odd little independent films, always doing his
 own thing. The A-lister in question? None other than James Franco.
 He’s many things to many people, but he’s

 unquestionably a star. He’s given a few incredibly good performances,
 but he’s never a boring actor to watch. He’s easily one of Tinseltown’s
 most interesting actors to follow. Almost constantly engaging in some
 form of art, Franco is at his core, just that…an artist. He may be a bit
 of a weirdo to some, but he’s an A-lister regardless and deserves this
 tribute. Franco wasn’t always considered a “weird” star.

He got his start basically as a heartthrob. He first came on to
people’s radars when he was cast in the cult Judd Apatow
television show Freaks and Geeks, though he became someone
 to really watch when he played James Dean in the TV movie
of the same name. From there, he shot to the A-list by playing
Harry Osborne in the Spider-Man trilogy from Sam Raimi. In
 Spider-Man, Spider-Man 2, and Spider-Man 3 he built up
his star power, but at the same time he was trying to become
a leading man in things like Annapolis, City by the Sea,
Flyboys, The Great Raid, and Tristan + Isolde. Between
 those movies and the Spidey trilogy, he was someone you
expected to be a serious actor. That made his comedic turn
a Golden Globe nominated one, at that in The Pineapple
Express all the more interesting. From there, he began to
branch out even more, playing Alan Ginsberg in Howl,
taking an acclaimed supporting role in Milk, and of course
his Oscar nominated tour de force in 127 Hours. He has
since made a name for himself by trying just about anything
 once. After he made his debut guest starring on television
 programs in the late 90′s, Franco has gone on to amass
nearly 100 roles to his credit.

Truce in Gaza


Israel has resumed its Gaza offensive after a series of
Palestinian rocket attacks. The Israeli military said
Sunday that following "Hamas' incessant.
sraeli forces will continue "neutralizing" tunnels in Gaza
 despite a 12-hour cease-fire Saturday,
the Israel Defense Forces- IDF announced today.
GAZA CITY, Gaza Strip — Hamas on Sunday agreed to
observe a 24-hour truce in Gaza after initially
 rejecting a similar Israeli offer.
Rocket fire from Gaza resumed on Saturday night with
 warning sirens sounding across central and southern
 Israel in an apparent rebuff by Hamas of attempts.

Tensions Remain High At Israeli Gaza Border. ZIKIM, ISRAEL
 - JULY 26: A soldier meets with his loved ones during
 a 12-hour ceasefire.
Gaza death toll rises as truce effort intensifies.
 14,800 views. 2:20. The top Hamas leader in the Gaza
 Strip signaled that the Islamic militant group.

Israel said it would prolong a day-old humanitarian
 truce in the Gaza Strip through Sunday night,
even as Palestinian militants.


U.N. Secretary-General Ban Ki-Moon on Monday renewed
 his call for a cease-fire in the Gaza Strip and
denounced the devastation caused by Israel's
military.

Microsoft's Office

Office 2013 is the latest refresh of Microsoft's near ubiquitous
Office suite. The latest version sees it get the Windows 8 treatment,
 with a touch-friendly interface and a sparser look, as well as
new features in every application.

As part of the launch, Office has also reached a new
 landmark by going into the cloud with subscription pricing,
on-demand installation and automatic syncing of settings and
documents you save online rather than offline. It's called Office 365.

That particular method of purchase ensures you're always
 up-to-date, even if the software changes - check out our
Office 365 review.

While the main thing you'll notice with Office 2013 the new
look, there are some really interesting features under the
hood - though sadly not for Windows XP users, who are
 now excluded. Office 2013 is strictly for Windows 7 and
 Windows 8 users.

As usual, there are multiple versions of Office 2013, but this
time around the different editions are not just about whether
you're using them at home or in a business or which
applications are included.

Although Office 365 Home Premium might also sound like
a great deal for a small business, it's not licensed for
commercial use Like the Windows RT versions of Office 2013
 unless you already have an Office business licence. Instead,
you need one of the Office 365 business subscriptions,
 available from February 27.

These will include the new Office 2013 versions of Exchange,
 SharePoint and Lync Online, which are already available to
 run on your own servers. It's taking some time for Microsoft
to upgrade Office 365 to run these new server versions, which
explains the later availability  there are a number of issues in
SharePoint the Office 365 team is working on.
We've tried these out with the Office 2013 applications
and we looked at SharePoint Online 2013 in more detail here.

Office 365 Small Business Premium includes Word, Excel,
PowerPoint, OneNote, Outlook, Access, Publisher and Lync.
The annual $149.99 subscription lets you run them on up to five
PCs or Macs at once again, you can use Office on Demand to
 download Office to any PC you're using temporarily, and you
 get regular updates and new features.

You can host online meetings with audio and HD video
conferencing in Lync and run a public website on SharePoint,
 plus you get Exchange with a 25GB mailbox for each user
and SkyDrive Plus storage on SharePoint.

That gives you 10GB of secure cloud storage with an extra
500MB for each user, but you can choose how the storage
 is allocated between users and you can control how they use
 it – like forcing them to encrypt confidential documents.

Office 365 ProPlus short for Professional Plus), is aimed at
 midsize businesses 10-250 employees and includes the same
 desktop Office software as Small Business Premium. But it
also has tools for business intelligence, consistency checking to
 Excel and automated deployment, as well as more options for
 the SharePoint, Lync and Exchange Online services.

BlackBerry Z3

BlackBerry's CEO John Chen confirmed this in an interview
 with India's Economic Times, but didn't mention specific numbers.
 He noted that the Z3 was "extremely well received" over its opening
 weekend in the two countries and that demand is continuing to be
strong. In his opinion, users enjoy the phone's screen size, battery life
 and its aggressive pricing. The Z3 sales for under $200 and packs a 5"
 qHD display with a Snapdragon 400 chipset featuring a 1.2GHz dual-core
 Krait 200 CPU. In addition, Mr. Chen said that the BlackBerry Passport
 and BlackBerry Classic will be released later this year but wasn't any more
 specific than that. The company's partnership with Foxconn, which is
 making the Z3, isn't exclusive, he shares in the interview.

If BlackBerry deems other outsourcing solution more financially viable,
 it's going to consider moving production of future devices to them.
However, the company's CEO didn't specify if we should expect
 more affordable devices with the BlackBerry logo. Both the
Passport and Classic are expected to be priced higher than the Z3.