Re: Call to undefined function mysql_connect()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I don´t know how to see if mysq is enabled

but i tested this, it is like i have no php

file: form.php

<html>
<head>
<title>Forms</title>
</head>

<body>

<?php
if ($text != "")
 echo "You wrote \"$text\" <br><br>";
?>

<form method=POST action="form.php">
<input type="text" name="text" value="" size=10>
<br>
<input type="submit" name="sub" value="Send it!">
</form>

<?php
echo $HTTP_USER_AGENT;
?>

</body>
</html>

submit dont works, echo $HTTP_USER_AGENT too, but phpinfo() worked!

what is going on?




---------------------------------
Crie seu Yahoo! Mail, agora com 100MB de espaço, anti-spam e antivírus grátis!

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux