Blog

Handling XML data
Handling XML dataIntroduction This tutorial was originally posted on the old site on 20th December, 2007. XML, Extensible Markup Language, is a general-purpose markup language which can be used for storing arbitrary data in a structured way. It is often used for sharing data between applic[ More ]
SimpleXML Functions
SimpleXML Functions Table of Contents simplexml_import_dom — Get a SimpleXMLElement object from a DOM node.simplexml_load_file — Interprets an XML file into an objectsimplexml_load_string — Interprets a string of XML into an object add a note User Contributed Notes 35 notes [ More ]
What's the easiest way to create a SQL query form in ASP. C#?
What's the easiest way to create a SQL query form in ASP. C#? You can use the below code to write any SQL Statement like insert, update,  delete and select. There is a text box on the page where you can write the query and hit the execute button.Below is the HTML Code in .aspx file.[ More ]
SimpleXMLElement::addAttribute
SimpleXMLElement::addAttributeDescription public void SimpleXMLElement::addAttribute ( string $name [, string $value [, string $namespace ]] )include 'example.php'; $sxe = new SimpleXMLElement($xmlstr);$sxe->addAttribute('type', 'documentary');$movie = $sxe->addChild('movie');$movie->addCh[ More ]
SimpleXMLElement::addChild
SimpleXMLElement::addChild Exemple #1 Ajoute des attributs et des enfants à un élément SimpleXML include 'example.php'; $sxe = new SimpleXMLElement($xmlstr);$sxe->addAttribute('type', 'documentary');$movie = $sxe->addChild('movie');$movie->addChild('title', 'PHP2: More Parser Stories'[ More ]
SimpleXMLElement::asXML
SimpleXMLElement::asXML (PHP 5 >= 5.0.1) SimpleXMLElement::asXML — Retourne une chaîne XML basée sur un élément SimpleXML Description public mixed SimpleXMLElement::asXML ([ string $filename ] ) Formate les données de l'objet parent en XML 1.0. Exemples Exemple #1 Obt[ More ]
SimpleXMLElement::attributes
SimpleXMLElement::attributes (PHP 5 >= 5.0.1) SimpleXMLElement::attributes — Identifie les attributs d'un élément Description public SimpleXMLElement SimpleXMLElement::attributes ([ string $ns = NULL [, bool $is_prefix = false ]] ) Fournit les attributs et les valeurs[ More ]
SimpleXMLElement::children
SimpleXMLElement::children — Cherche les fils d'un noeud donné Description public SimpleXMLElement SimpleXMLElement::children ([ string $ns [, bool $is_prefix = false ]] ) Exemples Exemple #1 Parcours d'un pseudo-tableau children() $xml = new Simpl[ More ]
SimpleXMLElement::count
SimpleXMLElement::count — Compte le nombre de fils pour un élément Description public int SimpleXMLElement::count ( void ) Cette méthode compte le nombre de fils d'un élément. Exemples Exemple #1 Comptage du nombre de fils $xml = <[ More ]
SimpleXMLElement::saveXML
SimpleXMLElement::saveXML SimpleXMLElement::saveXML — Alias de SimpleXMLElement::asXML() Description Cette méthode est un alias de: SimpleXMLElement::asXML [ More ]
SimpleXMLElement::xpath
SimpleXMLElement::xpath PHP 5 >= 5.2.0) SimpleXMLElement::xpath — Exécute une requête Xpath sur des données XML Description public array SimpleXMLElement::xpath ( string $path ) La méthode xpath cherche dans le noeud SimpleXML des enfants qui correspondent au path Xpath. List[ More ]
PHP xpath() Function
PHP xpath() Function Definition and Usage The xpath() function runs an XPath query on the XML document. This function returns an array of SimpleXMLElements on success, and FALSE of failure. Syntax class SimpleXMLElement{string xpath(path)} Parameter Description path Requi[ More ]
php/mysql SHOW COLUMNS from table1 and table2
php/mysql SHOW COLUMNS from table1 and table2Can someone please advise me how to save fields from two database tables?This works fine for one table:$link = mysql_connect($host, $user, $pass)ordie("Can not connect.". mysql_error());mysql_select_db($db)ordie("Can not connect.");$result = mysql_q[ More ]
public rackspace / php-opencloud
public rackspace / php-opencloudSetup Conceptually, a container contains objects (also known as files). In order to work with objects, you will need to instantiate a container object first as documented here. Note on object properties Please be aware that you cannot directly access the prop[ More ]
Preprocess a Schema to Merge Included Schemas
Preprocess a Schema to Merge Included SchemasThe W3C XSD include element provides support for schema modularity in which an XML schema can be partitioned into more than one physical file. SQL Server currently does not support this element. XML schemas that include this element will be reject[ More ]
Using the Oracle Forms Migration Assistant
2 Using the Oracle Forms Migration Assistant This chapter contains the following sections: Section 2.1, "What Does the Oracle Forms Migration Assistant Do?" Section 2.2, "Editing the converter.properties File" Section 2.3, "Editing the search_replace.properties File" Section 2.4, "Sta[ More ]
validate a textbox in vb.net
validate a textbox in vb.netYou can check the text string, i.e., textbox1.text, to make sure it has nothing besides alphabet characters in the .Leave event. This will catch an error when the user tabs to the next control, for example. You can do this using a regular expression (import System.Text.Re[ More ]
Regexes to Match Common Programming Language Constructs
Regexes to Match Common Programming Language Constructs Regular expressions are very useful to manipulate source code in a text editor or in a regex-based text processing tool. Most programming languages use similar constructs like keywords, comments and strings. But often there are subtle diff[ More ]
Verifying Oracle Forms and Reports Installation and Configuration
Verifying Oracle Forms and Reports Installation and ConfigurationThis chapter contains information to help you verify your Oracle Forms and Reports installation and configuration.After you have successfully run the installer and configuration wizard, you can verify the status of your installation by[ More ]
How To Make Voice Activated Sound Recorder?
How To Make Voice Activated Sound Recorder? Hi, I want to make a voice recorder, so when I just speak into the microphone it will automatically just start recording for me, so I don't have to actually manually hit record. I tried looking at the directx4vb dsound7 record tutorial, but I still[ More ]