“Ustanowienie w PHP” Kod odpowiedzi

Ustanowienie w PHP

echo '<script>alert("Message")</script>';
Zany Zebra

Alert PHP

echo "<script>alert('error : ".$error."');</script>";
Nice Nightingale

Ustanowienie w PHP

// This is in the PHP file and sends a Javascript alert to the client
$message = "Something";
echo "<script type='text/javascript'>alert('$message');</script>";
Amused Ape

powiadomić zmienną PHP

echo '<script type="text/javascript">alert("'.$error.'");</script>';
yours faithfully, alvomade

Alerta con php

echo '<script language="javascript">alert("juas");</script>';
Tender Tarantula

Odpowiedzi podobne do “Ustanowienie w PHP”

Pytania podobne do “Ustanowienie w PHP”

Więcej pokrewnych odpowiedzi na “Ustanowienie w PHP” w PHP

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu