Skip to content

Instantly share code, notes, and snippets.

View MrRakun35's full-sized avatar

Mr_Rakun MrRakun35

View GitHub Profile
@MrRakun35
MrRakun35 / wp-query-ref.php
Created February 2, 2016 00:58 — forked from luetkemj/wp-query-ref.php
WP: Query $args
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.com
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters
* Source: https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/query.php
*/
$args = array(
@MrRakun35
MrRakun35 / QRLogo.php
Created January 14, 2016 14:17 — forked from NTICompass/QRLogo.php
QR Code + Logo Generator
<?php
/**
* QR Code + Logo Generator
*
* http://labs.nticompassinc.com
*/
$data = isset($_GET['data']) ? $_GET['data'] : 'http://labs.nticompassinc.com';
$size = isset($_GET['size']) ? $_GET['size'] : '200x200';
$logo = isset($_GET['logo']) ? $_GET['logo'] : FALSE;
<?
//Fonksiyon Parametreleri
backup_tables('localhost','kull','şifre','veritabanı');
/* Fonksiyon Başlangıcı */
function backup_tables($host,$user,$pass,$name,$tables = '*')
{
$link = mysql_connect($host,$user,$pass);
mysql_select_db($name,$link);
//Tüm tabloları seç
if($tables == '*')