Educating myself
I'm Karel, 31 years old, from Belgium.
Developer, Programmer, Translator
-
Karellism
- Bocholt, Belgium
-
12:26
(UTC +01:00) - https://www.karellism.com
Pinned Loading
-
-
CodeChallengeSolutions
CodeChallengeSolutions PublicMy solutions to different code challenges on different websites in various languages
C++ 1
-
ronreiter/interactive-tutorials
ronreiter/interactive-tutorials PublicInteractive Tutorials
-
Connect to database for simple CMS -...
Connect to database for simple CMS - php file 1public function connect() {
2mysql_connect($this->host,$this->username,$this->password) or die("Could not connect. " . mysql_error());
3mysql_select_db($this->table) or die("Could not select database. " . mysql_error());
45return $this->buildDB();
-
Saving the data to the database for ...
Saving the data to the database for simple CMS - php file 1public function write($p) {
2if ( $p['title'] )
3$title = mysql_real_escape_string($p['title']);
4if ( $p['bodytext'])
5$bodytext = mysql_real_escape_string($p['bodytext']);
-
Code template for a simple CMS - php...
Code template for a simple CMS - php class 1<?php
23class simpleCMS {
4var $host;
5var $username;
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.