Skip to content

Instantly share code, notes, and snippets.

HI this is test
@6arshid
6arshid / PDO classes.md
Created March 7, 2020 21:42 — forked from danferth/PDO classes.md
PHP classes for PDO

PDO Classes for db connect and manipulation

Below is a description on how to use the classes in the below script

Include script and set up db variables

include 'zdb.php';
@6arshid
6arshid / index.html
Created January 18, 2020 14:00
Responsive Bootstrap Columns and Rows
<!-- 6 columns -->
<h3>6 Columns</h3>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-2">
<div class="box">
<p>class="col-xs-12 col-sm-6 col-md-4 col-lg-2"</p>
</div>
@6arshid
6arshid / plugin_admin_page.php
Created September 16, 2019 18:43 — forked from iwek/plugin_admin_page.php
Building a WordPress Plugin Admin Menu Page
<?php
add_action('admin_menu', 'plugin_admin_add_page');
function plugin_admin_add_page() {
//http://codex.wordpress.org/Function_Reference/add_menu_page
add_menu_page( 'custom menu title', 'custom menu', 'manage_options', 'dbexplorer/adminpage.php');
}
function my_enqueue($hook) {
//only for our special plugin admin page
if( 'dbexplorer/adminpage.php' != $hook )