I’ve made the simplest php-file
<? echo 'test'; ?>It works as html.
I’ve made the simplest php-file
<? echo 'test'; ?>It works as html.
This post was flagged by the community and is temporarily hidden.
Thx, I’ve found it 2 hours ago. Now I’ve started replacing all php files with Adobe Dreamweaver CC 2017
Would you help me with
$hostname = “databases.000webhost.com”;
$database = “xxx”;
$username = “xxxx”;
$password = “xxxx”;
$lnk = mysql_connect($hostname,$username,$password) or die('Not connected : ’ . mysql_error());
Fatal error: Uncaught Error: Call to undefined function mysql_connect()
TIA!
This post was flagged by the community and is temporarily hidden.
Found. Conversely, in PHP 5 we can use mysql_connect, but in PHP 7 mysqli_connect with other parameters.
Too many problems, while I returned to PHP version 5, but too many errors in my scripts that were correct.
Thanks!
you missed the php in your code
<?php {your code here} ?>check this tutorial
php_value short_open_tag 1 works as I need.
Thanks!