06-04-2011, 22:43
No to tak:
Kod PHP:
<?php
include("config.php");
$z = mysql_query("SELECT * FROM prices");
$t = mysql_fetch_array($z);
$last_id = $t['k_startowa'];
$startowa = $last_id;
$startowa = str_replace("$ip", "127.0.0.1", $startowa);
$startowa = str_replace("$port", "12345", $startowa);
$startowa = str_replace("$slotow", "11", $startowa);
echo 'startowa:'. $startowa;
?>