Thursday, 25 June 2015

How to fill a dropdown combo box in PHP from MySQL database table

This is an easy to use code to select records from MySQL database table and display in dropdown combo box using PHP.
$cn=mysql_connect($db_host,$db_user,$db_password) or die(mysql_error());
mysql_select_db($db_name,$cn) or die(mysql_error());
$sql = "SELECT field_name FROM table_name";
$rs = mysql_query($sql) or die(mysql_error());
echo "<select>";
while($row = mysql_fetch_array($rs)){
echo "<option value='".$row["field_name"]."'>".$row["field_name"]."</option>";
}mysql_free_result($rs);
echo "</select>";

How to select and display MySQL records data in PHP

How to select and display MySQL records data in PHP

This is the simplest code to select and display records from MySQL database table and display in PHP.
$cn=mysql_connect($db_host,$db_user,$db_password) or die(mysql_error());
mysql_select_db($db_name,$cn) or die(mysql_error());
$sql = “SELECT field_name FROM table_name”;
$rs = mysql_query($sql) or die(mysql_error());
while($row = mysql_fetch_array($rs)){
echo $field_name = $row["field_name"];
echo “</br>”;
}mysql_free_result($rs);

How to send HTML mail in PHP

How to send HTML mail in PHP

To send HTML mail in PHP, you need to use some additional headers. Below is the code to send HTML mail in PHP.
$to = “recipient@domain.com“;
$subject= “Subject of email”;
$message= “This is <h1>HTML</h1> mail.”;
$fromName = “Name of the sender”;
$fromEmail = “sender@domain.com“;
// To send HTML mail, the Content-type header must be set
$headers  = “MIME-Version: 1.0″ . “\r\n”;
$headers .= “Content-type: text/html; charset=iso-8859-1″ . “\r\n”;
// Additional headers
$headers .=”From: $fromName <$fromEmail>”.”\r\n”;
//Mail function
mail($to, $subject, $message, $headers);

Saturday, 20 June 2015

where you get in-depth knowledge of all the 15 modules of digital marketing with practical hands-on exposure.

Digital Marketing Overview (www.parnets.in)
Learn the fundamentals of digital marketing along with complete understanding of digital marketing process.
Website Planning & Creation
How to plan, conceptualize and create an engaging website from scratch
Search Engine Optimization
Get the power in your hands to rank any webpage on top of search engines for your desired keywords
PPC Advertising & Google Adwords
How to successfully create, run and optimize PPC campaigns in Google adwords for better conversions with low cost.
Social Media Marketing
Reaching out the customers on social networking sites like Facebook, Twitter, LinkedIn etc.
Mobile Marketing
Building mobile apps on android and iOS devices, mobile friendly website and advertising on mobile devices.
Google Analytics
Measure, Analyse and improve the performance of your online marketing campaigns.
Online Display Advertising
Learn how to run flash, banner and various other form of advertisements on third party websites.
Email Marketing
How to shoot thousands of emails, reach inbox, generate leads and sales with email marketing.
Ecommerce Marketing
How to sell products on an eCommerce websites.
Lead Generation For Business
Master the art of generating leads online and converting them into sales by creating landing pages, thank you pages and A/B testing.
Content Marketing
How to create and distribute relevant content on web to attract targeted website visitors and generate potential leads.
Creating Internet Marketing Strategy
How to strategize digital marketing for any business and with right set of digital marketing mix.
Affiliate Marketing
Learn from India’s most reputed affiliate marketer Prabhakar Tiwari​) how to make money online by generating leads and sales for other companies as a part time/full time affiliate marketer.
Making Money Via Adsense & Blogging
www.parnets.in

Wednesday, 17 June 2015

Thursday, 11 June 2015

Greetings From Parnets Digital Advertisements !
We provide IT Services for .NET, MVC, PHP, Wordpress, Magento and many more skills.
Our Services : Web Design – Responsive, Web Apps, Android Mobile Apps, .NET Programming, PHP Programming, Desktop Apps, Web Hosting, SEO
Our Skills : .NET, PHP, HTML5, CSS3, SQL Server 2005/2008/2012, MySQL, Crystal Report, SSRS, SSAS, Wordpress, Magento, Joomla, Dhrupal, SharePoint, DotNetNuke, MVC, Photoshop, Corel, Illustrator
A digital website design and development company that unifies brands with consumers, strategy with technology and goals with results.
We passionately believe that design & technology can be a powerful force for change.
We are looking for partners who can help us to get new clients and he/she will get rewards in terms of each sales.
Call+91-9019162225
www.Parnets.in