fr_sdgh
شنبه 13 شهریور 1395, 13:13 عصر
کد زیر رو این پیغام میده
Notice: Use of undefined constant sara - assumed 'sara' in C:\wamp\www\test-php\test_function.php on line 15
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>test_function</title>
</head>
<body>
<?php
function writeNames($fnames) {
echo $fnames . " " . "Ahmadi";
}
writeNames(sara);
?>
</body>
</html>
Notice: Use of undefined constant sara - assumed 'sara' in C:\wamp\www\test-php\test_function.php on line 15
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>test_function</title>
</head>
<body>
<?php
function writeNames($fnames) {
echo $fnames . " " . "Ahmadi";
}
writeNames(sara);
?>
</body>
</html>