Jump to content

Unknown column 'cena_bez' in 'field list'


ebchost

Recommended Posts

$faktura_u_s = mysql_query("
SELECT   `tbl_roba_stanje`.`cena`-((`tbl_roba_stanje`.`cena`/100)*`tbl_roba_stanje`.`rabat_proc`) as `cena_bez`, `tbl_roba_stanje`.`ulaz`, (`cena_bez` * `tbl_roba_stanje`.`ulaz` )  AS `osnovica`
FROM     `tbl_roba`,`tbl_roba_stanje` 
WHERE    `tbl_roba`.`id` = `tbl_roba_stanje`.`roba_id` AND `tbl_roba_stanje`.`dokument_id` = '$dokument'") 
or die(mysql_error());

 

and error is " Unknown column 'cena_bez' in 'field list' "

 

Problem is ? 

Link to comment
https://forums.phpfreaks.com/topic/253150-unknown-column-cena_bez-in-field-list/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.