ich möchte an einer bestimmten stelle in einem .php-dokument eine änderung vornehmen.
Wie mache ich das?
Wie mache ich das?
$neu=$anfang . $neuer_text . $ende;

include("dbconnect.php");
session_start();
if($_SESSION['wert'] == 1)
{
$abfrage = "INSERT INTO auftraege (tabelle1, tabelle2) VALUES ('$wert1', '$wert2')";
$eintrag = mysql_query($abfrage);
if($eintrag)
{
...
...
usw.
include("dbconnect.php");
session_start();
if($_SESSION['wert'] == 1)
{
$abfrage = "INSERT INTO auftraege (tabelle1, tabelle2) VALUES ('$wert1', '$wert2')";
$eintrag = mysql_query($abfrage);
if($eintrag)
{
...
...
usw.

Kommentar