MySQL Forums
Forum List  »  German

php Version hat sich geänder auf 7.2- brauche Hilfe bei einem Script
Posted by: Steffen Windisch
Date: March 19, 2020 09:36AM

Hallo Ihr,

Mein Provider hat die php Version aktualisiert. Damit geht ein Script nicht mehr... Ich brauche Hilfe und hoffe, dass ist für euch nur eine kleine Sache.

script php 5.6

<?php
$verbindung = mysql_connect('server','db','pw')
or die('Fehler ');


mysql_select_db('db')
or die('Verbindung zur Datenbank war nicht möglich...');
mysql_query("SET NAMES 'utf8'");
mysql_query("SET CHARACTER SET 'utf8'");

if($_GET['SongID']){
$id = $_GET['SongID'];
$sql="SELECT * FROM Songbook where id='$id'";
$data = mysql_query($sql);
$row = mysql_fetch_array($data);


}

?>

benötige ich in php 7.2


Vielen Dank!!!
MfG
Steffen

Options: ReplyQuote


Subject
Views
Written By
Posted
php Version hat sich geänder auf 7.2- brauche Hilfe bei einem Script
610
March 19, 2020 09:36AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.