What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-10-14 02:52:03
php strip tags
<?php $text = '<p>Test paragraph.</p><!-- Comment --> <a href="#fragment">Other text</a>'; echo strip_tags($text); //Test paragraph. Other text // Allow <p> and <a> echo strip_tags($text, '<p>&... Add solution -
PHP 2021-10-09 00:57:08
php soap-error parsing schema can't import schema from
Description: ------------ here is my problem: i want to access a soap-service via https://connect.example.com/portal/portal?wsdl with php 5.3.3 my script worked, with 5.3.10 it does not work anymore. in the xml returned: <service name="PortalS... Add solution -
PHP 2021-10-07 00:45:02
source code in php for fibonacci sequence
<?php // PHP code to get the Fibonacci series Recursive function for fibonacci series. function Fibonacci($number){ if ($number == 0)  ... Add solution -
Other 2021-10-04 01:54:04
php over serial arduino
<!DOCTYPE html> <html> <head> <title>gestion carte ARDUINO sur COM7</title> <meta charset="UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" > </head> &... Add solution -
SQL 2021-09-28 15:27:01
wp do sql query from function
<?php // 1st Method - Declaring $wpdb as global and using it to execute an SQL query statement that returns a PHP object global $wpdb; $results = $wpdb->get_results( "SELECT * FROM {$wpdb->prefix}options WHERE option_id = 1", OBJECT ); Add solution -
PHP 2021-09-27 06:07:03
wordpress
<?php // 1st Method - Declaring $wpdb as global and using it to execute an SQL query statement that returns a PHP object global $wpdb; $results = $wpdb->get_results( "SELECT * FROM {$wpdb->prefix}options WHERE option_id = 1", OBJECT ); Add solution