Sunday, August 14, 2016

How to Create a MySQL Database using PHPMyAdmin

MySQL Database in PHPMyAdmin


We can create MySQL database in different ways . Today I will show you how to create database using XAMPP control panel. To do it first install XAMPP in your computer. Be remember you should installed it D or E or F drive. Please do not install into in C drive. By default it installed in C drive. After installing Run the XAMPP. It will show a screen given below-

Monday, August 8, 2016

How to connect MySQL with PHP? Simple 5 Steps

1. First create your database on mysql. Autogarment sales different types of apparel software.


Optimum Script for Robots.txt in Wordpress

Here is the best and optimum code for robots.txt for wordpress site

User-agent: *
Disallow: /cgi-bin
Disallow: /wp-admin
Disallow: /wp-includes
Disallow: /wp-content/plugins
Disallow: /wp-content/cache
Disallow: /wp-content/themes
Disallow: /category
Disallow: /tag
Disallow: /author
Disallow: /trackback
Disallow: /*trackback
Disallow: /*trackback*
Disallow: /*/trackback
Disallow: /*?*
Disallow: /*.html/$
Disallow: /*feed*

How to Change Background Color of a Menu Bar

//////////////Change Menu Cursor move Color

.tabs-inner .widget li.selected a, .tabs-inner .widget li a:hover {
  color: $(tabs.selected.text.color);
  background-color: $(tabs.selected.background.color);
  text-decoration: none;
background-color:#00FFFF;//////////////
}

How to Create a Navigation Menu in Blogspot

<!-- start navmenu -->
<ul id='cssnav'>
<li class="active"><a href='http://scripthour.blogspot.com/'>Home</a></li>
<li class="sub"><a href=''>Menu-1</a>
<ul>
<li><a href=''>Submenu-1</a></li>
<li><a href=''>Submenu-2</a></li>
<li><a href=''>Submenu-3</a></li>
</ul>

Monday, August 1, 2016

How to remove public from URL in Laravel?

If you can access your website by abc.com/public and if you want to access it by just Garmentspedia
Then just rewrite the following code in .htaccess file in public folder.

RewriteRule ^(.*)/$ /$1 [L,R=301]
to RewriteRule ^(.*)/$public /$1 [L,R=301]


Hope it will work fine. 

Sunday, July 31, 2016

Some Unique Features of PHP that you should know

PHP language has support features of other languages like c, Perl and etc. It also has some unique features of it’s own. Some of them are listed below in this article. Lectrawilcom sale lectra software. Your can buy all Garments ERP from autogarment.
  1. In PHP there is no need to specify data type for variable declaration. Rather, it can be determined at the time of execution depends on the value of the variable. So that, PHP is called as loosely typed language.