Javascript called by PHP

Interesting little snippet.

What is going on here? Livewire gives you the low down.

 

 if($num_rowvs == 0){
 echo '<script>// <![CDATA[
alert("This is an alert message. I'm alerting you that you are totally awesome!");
// ]]></script>'; }

 

First, we’re creating a simple if statement in PHP.  Not entirely necessary, but prbobably the most common setup. Next we’re simply echoing the javascript alert – make sure to get your apostrophes and commas straight.

And that is it. Close out the tags and you have successfully called a javascript alert from inside PHP. Congrats.

What’s Worse?

What’s worse than these dang North Florida love bugs? Having a poor website, for one. A website should be like the dream employee . It should never call in sick, treat your customers properly and get them the information and the attention the require each and every time.

Fraternity Management Has a New Website

Fraternity management needed something up quickly and something that was affordable. Glad to know that they chose us as their Gainesville Web Design team.  Additional to the website they requested a simple program that managed their payment modules. As experienced PHP developers, we were able to quickly put

Theo Has A New Website

Theo’s Lawn Maintenance worked out a sweet deal with Livewire and we’ve been helping them do some of the SEO and web work Their old design was working fine but needed just a little pizazz and a contact form upgrade. We gladly complied and set them up in

Page Speed Insights

The importance of page load speeds for website performance cannot be emphasized in the current digital environment. A website’s loading speed can make or break its success in today’s fast-paced world when people expect rapid access to information and flawless online experiences. The following are some major justifications

The Importance of a Professional Website for Gainesville Businesses

Gainesville is a vibrant community known for its strong local economy, driven by a mix of education, healthcare, and a growing number of small businesses. As a business owner in this dynamic environment, establishing a solid online presence is no longer optional—it’s essential. One of the most critical

Review: PHP Live Chat ★★★★

4 Stars for this chat system from GNTStudio. It’s quite useful and very easy to install. We’re actually planning to use it on our own website we like it so much. They lose one star because we had to modify a bit too much to get things to