Quantcast
Channel: Forum Pasja Informatyki - Najnowsze pytania
Viewing all articles
Browse latest Browse all 65225

var dump i sum

$
0
0

Prawie skończyłem swoją stronę, ale mam problem z jedną rzeczą.
Powinna wyświetlić się sama liczba "39", a wyświetla się

 array(2) { [0]=> string(2) "39" ["SUM(konwoj)"]=> string(2) "39" } 

 

KOD:

<?php
include("polacz.php");
$konwojstat = mysql_query("SELECT SUM(konwoj) FROM trasy");
$konwoj1 = mysql_fetch_array($konwojstat);
var_dump($konwoj1);
round($konwoj1[0],2);
?>

 


Viewing all articles
Browse latest Browse all 65225

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>