Showing posts with label tricks. Show all posts
Showing posts with label tricks. Show all posts

Wednesday, July 3, 2019

alternate of phpmyadmin

Today I gave you alternate of phpmyadmin. Simply copy paste this file to your host and you will get all database details just like phpmyadmin.

Download from this path or copy paste this code :-


Wednesday, May 8, 2019

selection by array


Hello

Here I display : Call one query one time. Save its value in array. Fetch it whenever need it.

/*get stage types*/
$stgsql = "SELECT * FROM stage_t";
$stgrs  = mysql_query($stgsql);
$stageTypes=array();
while($rowStage=mysql_fetch_assoc($stgrs))
  $stageTypes[$rowStage[code]]=$rowStage[edesc];

echo  $todaysstage = $stageTypes[$row[todaysstage]];

Thursday, March 2, 2017

visual composer bug and solution

Hello.
Recently i came to know one bug of visual composer.  Visual composer ignore

Wednesday, February 8, 2017

remove extra lines spaces in sublime

Select the text

Press:

Ctrl + H on PC, or
Command + Alt + F on Mac or
Click Find->Replace.

Make sure you have selected 'regular expression' by pressing:

          Alt + R on PC or
    Command + Alt + R or
    Click .* in the Find box.


Find what: ^\n

Replace With: (nothing, leave in blank).

Tuesday, January 31, 2017

Awesome Tooltips with Pure CSS Using Hint.css

Today I am going to introduce a awesome plugin Hint.css, A pure CSS tooltip library for your lovely websites. It is easy to use and very light weight and no javascript you can purely manage this tooptip in css, Hint.css is a tooltip library in CSS that helps you add cool tooltips to any element of your page. The major difference between Hint.css and othe tooltip plugins is that Hint.css uses data-* attribute, pseudo elements, content property and CSS3 transitions so that it’s only compatible with those modern browsers which fully support HTML5 and CSS3.

Step.1- Include hint.css in your page.
<link rel="stylesheet" href="hint.min.css">
 
Step.2-   Use class hint Now, all you need to do is give your element any position class and tooltip text using the aria-label or data-hint attribute:

Hello Sir, <span class="hint--bottom"  aria-label="Thank you!" style="color:red">hover over me.
 
You can choose position like hint–bottom, hint–top, hint–left, hint–right

Also Use it with other available modifiers in various combinations. 
Available modifiers: hint–error, hint–info, hint–warning, hint–success, 
hint–rounded and hint–bounce.