This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class myclass { | |
function myfunction() { | |
return get_class($this); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.slick-dots li.slick-active button:before, .slick-dots li button:before { | |
color: #FFF; | |
opacity: 1; | |
font-size: 16px; | |
} | |
.slick-dots li.slick-active button { | |
border: 5px solid #00AC9F; | |
border-radius: 100%; | |
} | |
.slick-dots li.slick-active button:before { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// handle all links and link generation | |
class link { | |
public $page; | |
public $uid; | |
public $title; | |
public $url; | |
function generate_title_link() { | |
$title_raw = $this->title; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$str = "123fghy567"; | |
$str = preg_replace('/\D/', '', $str); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if($_SERVER['REQUEST_METHOD']=="POST") { | |
$message = ""; | |
foreach( $_POST as $stuff => $stuff_val ) { | |
if( is_array( $stuff ) ) { | |
foreach( $stuff as $thing => $thing_val) { | |
$message .= "$thing : $thing_val <br>"; | |
} | |
} else { | |
$message .= "$stuff : $stuff_val <br>"; |
NewerOlder