Bild Firmenlogo Bild Firmenslogan
Bild Rand
Home arrow Internet + Webmanagement
Freitag, 16 November 2018
Internet + Webmanagement

CMS/
Templates

<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php mosShowHead(); ?>
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/templates/kupka_it/favicon.ico" />
<link rel="stylesheet" type="text/css" href="<?php echo $mosConfig_live_site; ?>/templates/kupka_it/css/template_css.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $mosConfig_live_site; ?>/templates/kupka_it/css/content_css.css" />
</head>
<body>

CSS/
Stylesheets

body
{
    color : #000080;
    margin : 0px;
    padding : 0px;
    background-color : #FFFFFF;
    font-family : Arial, Helvetica, sans-serif;
    font-size : 12px;
}

SQL

CREATE DATABASE myapp;
USE myapp; CREATE TABLE calendar (
  calendar_id int(10) unsigned NOT NULL auto_increment,
  user_id int(10) unsigned NOT NULL,
  calendar_date date NOT NULL,
  calendar_event varchar(255) NOT NULL,
  PRIMARY KEY (calendar_id)
);

PHP/
SQL

/* Verbindung aufbauen, auswählen einer Datenbank */
$link = mysql_connect($dbhost, $dbuser, $dbpasswd);
mysql_select_db($database);
$result = mysql_query ("SELECT * FROM notes WHERE notes_id = $notesID  AND user_id = '$userID'");
$row = mysql_fetch_array ($result);
/* Freigeben des Resultsets */
mysql_free_result($result);
/* schliessen der Verbinung */
mysql_close($link);


Bild Rand