Jump to content
php.lv forumi

nenolasa no tabulas


lazda144

Recommended Posts

itkaa šii vieta

echo "T Score: [".$rezultatst."]"."<br>"."CT Score: [".$rezultatsct."]";

 

 

#
CREATE TABLE IF NOT EXISTS `scores` (
#
`scorect` varchar(32) NOT NULL DEFAULT '0',
#
`scoret` varchar(32) NOT NULL DEFAULT '0'
#
) ENGINE=InnoDB DEFAULT CHARSET=cp1257;

Link to comment
Share on other sites

$aile3 = mysql_fetch_array($rezultats3);

//Definejam kas ir kas
$rezultatst=$aile['scoret'];
$rezultatsct=$aile['scorect'];

varbūt nevajadzētu būt

$aile3 = mysql_fetch_array($rezultats3);

//Definejam kas ir kas
$rezultatst=$aile3['scoret'];
$rezultatsct=$aile3['scorect'];

Link to comment
Share on other sites

×
×
  • Create New...