File: fwphp/glomodul/z_examples/book_video/03steinmetz_2008/ch12_Projects/blog_config.php

Recommend this page to a friend!
  Classes of Slavko Srakocic  >  B12 PHP FW  >  fwphp/glomodul/z_examples/book_video/03steinmetz_2008/ch12_Projects/blog_config.php  >  Download  
File: fwphp/glomodul/z_examples/book_video/03steinmetz_2008/ch12_Projects/blog_config.php
Role: Example script
Content type: text/plain
Description: Example script
Class: B12 PHP FW
Manage database records with a PDO CRUD interface
Author: By
Last change:
Date: 1 month ago
Size: 251 bytes
 

Contents

Class file image Download
<?php
session_start
();
$connection = @mysql_connect("localhost","dbuser","dbpass") or die("Couldn't connect.");
$db = @mysql_select_db("wcphp", $connection) or die(mysql_error());
require_once (
"smarty/Smarty.class.php");
$smarty = new Smarty();
?>

For more information send a message to info at phpclasses dot org.