Search Results

Showing results 1 to 29 of 29
Search took 0.01 seconds.
Search: Posts Made By: stalk
Forum: PHP Mar 14th, 2008
Replies: 10
Views: 1,902
Posted By stalk
Bombaaaaaaaaaaa

You are really boss. Thank you very very very very much.
Forum: PHP Mar 14th, 2008
Replies: 10
Views: 1,902
Posted By stalk
this is code, where I do select from table ciste_media. If I do this, final price in shopping basket $cena is 0. I thing that is problem with selection from database.



function...
Forum: PHP Mar 14th, 2008
Replies: 10
Views: 1,902
Posted By stalk
function zrataj_cenu($kosik)
//funkcia pocitajuca vyslednu sumu vsetkych poloziek v nakupnom kosiku
{
$cena = 0.0;
if(is_array($kosik))
{
$conn = db_connect();
foreach($kosik as...
Forum: PHP Mar 14th, 2008
Replies: 10
Views: 1,902
Posted By stalk
thank you, this fix this mistake, but final price $cena still is uncorrectly.Is this select from database correct?
Forum: PHP Mar 14th, 2008
Replies: 10
Views: 1,902
Posted By stalk
thank you, this fix this mistake, but final price $cena still is uncorrectly.Is this select from database correct?
Forum: PHP Mar 14th, 2008
Replies: 10
Views: 1,902
Posted By stalk
Please, where is the problem?


Unable to jump to row 0 on MySQL result index 3 in c:\apache\htdocs\cd_shop\funkcie_s_databazou.php on line 1041


function zrataj_cenu($kosik)
//funkcia...
Forum: PHP Mar 13th, 2008
Replies: 3
Views: 410
Posted By stalk
if (!$result = vyber_detaily_cd2($EAN_kod))
$result = vyber_detaily_media2($EAN_kod);

this function select me array: cena of product in shoping basket using its primary key:EAN_kod and...
Forum: PHP Mar 13th, 2008
Replies: 3
Views: 410
Posted By stalk
No it accept 3, but problem is somewhere in array, because I need get to variable result array cena from two database tables.
Forum: PHP Mar 13th, 2008
Replies: 3
Views: 410
Posted By stalk
Iam problem with this :

Supplied argument is not a valid MySQL result resource in c:\apache\htdocs\cd_shop\funkcie_s_databazou.php on line 1039


this is code:

function zrataj_cenu($kosik)...
Forum: PHP Mar 12th, 2008
Replies: 9
Views: 656
Posted By stalk
this is for example one function


function vyber_detaily_media($EAN_kod)
//funkcia ziskavajuca z databazy detaily konkretneho media podla EAN kodu
{
//poziadavka pre databazu o konkretne...
Forum: PHP Mar 12th, 2008
Replies: 5
Views: 552
Posted By stalk
No I will find every details from this two tables, where EAN_kod='$EAN_kod'
Forum: PHP Mar 12th, 2008
Replies: 9
Views: 656
Posted By stalk
Data which I give to variable $ciste and $musica is data from tables :row of tables is EAN_kod=string, medium=string, typ=string, znacka=string, kusy=string,obal=string every this data from every...
Forum: PHP Mar 12th, 2008
Replies: 9
Views: 656
Posted By stalk
no it is meny date from tables.It is string and numbers.
Forum: PHP Mar 12th, 2008
Replies: 9
Views: 656
Posted By stalk
It dont go correctly. join $cd=$musica.$ciste; is no good. How are join it?Please help me
Forum: PHP Mar 12th, 2008
Replies: 9
Views: 656
Posted By stalk
Is it possible to make this operation? $musica = vyber_detaily_cd($EAN_kod);
$ciste = vyber_detaily_media($EAN_kod);
$cd=$musica.$ciste;

How I join this variable? $ musica and $ ciste to one...
Forum: PHP Mar 12th, 2008
Replies: 3
Views: 456
Posted By stalk
Is it possible to make this operation? $musica = vyber_detaily_cd($EAN_kod);
$ciste = vyber_detaily_media($EAN_kod);
$cd=$musica.$ciste;

How I join this variable? $ musica and $ ciste...
Forum: PHP Mar 12th, 2008
Replies: 3
Views: 456
Posted By stalk
this is code, which display basket of online shop. And I need give to var: $cd details of product which process function vyber_detaily_tovaru($EAN_kod); Thanks for your help


foreach ($kosik...
Forum: PHP Mar 12th, 2008
Replies: 3
Views: 456
Posted By stalk
hello, I have a problem : What is it?

Warning: Unable to jump to row 0 on MySQL result index 2 in c:\apache\htdocs\cd_shop\funkcie_s_databazou.php on line 899
Forum: PHP Mar 11th, 2008
Replies: 5
Views: 552
Posted By stalk
How I select from two tables , when every tables have EAN_kod. EAN_kod is unique code and I must find everithing from this both tables. Is this code good for it?Because it find me only everything...
Forum: PHP Mar 11th, 2008
Replies: 5
Views: 552
Posted By stalk
This is no good? $query = "SELECT * FROM albumy, ciste_media WHERE albumy.EAN_kod=albumy.'$EAN_kod' and ciste_media.EAN_kod=ciste_media.'$EAN_kod';
Forum: PHP Mar 11th, 2008
Replies: 5
Views: 552
Posted By stalk
Hello, I have problem with this:\

$conn = db_connect();
$query = "select * from albumy, ciste_media where EAN_kod='$EAN_kod'";

Is this syntax good, when I used two tables? Because when I...
Forum: PHP Mar 10th, 2008
Replies: 15
Views: 1,153
Posted By stalk
oh thank you wery much. Its good just now.
Forum: PHP Mar 10th, 2008
Replies: 15
Views: 1,153
Posted By stalk
SELECT kuzy FROM ciste_media WHERE medium='CD' AND typ='R' AND kusy= AND obal='rolka' AND znacka like '%vyraz%' ORDER BY kusy ASC
Forum: PHP Mar 10th, 2008
Replies: 15
Views: 1,153
Posted By stalk
if I selecting specific folder, it do the same. Its horrible. Is this syntax good?
Forum: PHP Mar 10th, 2008
Replies: 15
Views: 1,153
Posted By stalk
this is result select * from 'ciste_media' where CD= 'CD' and R= 'R' and 15= 15 and rolka= 'rolka' and znacka like '%verbatim%' order by kusy ASC

But this is no solution. It get the same...
Forum: PHP Mar 10th, 2008
Replies: 15
Views: 1,153
Posted By stalk
this is result select * from ciste_media where medium=CD and typ=R and kusy=15 and obal=rolka and znacka like '%verbatim%' order by kusy ASC
Forum: PHP Mar 10th, 2008
Replies: 15
Views: 1,153
Posted By stalk
<form action="hladanie_ciste_media.php" method="post">
<table border="0" cellspacing="0" cellpadding="0" align="left">

<tr>

<td>
<select name="medium">
...
Forum: PHP Mar 10th, 2008
Replies: 15
Views: 1,153
Posted By stalk
".$medium." is selection from rolover and znacka is row from table:ciste_media
Forum: PHP Mar 10th, 2008
Replies: 15
Views: 1,153
Posted By stalk
$query = "select * from 'ciste_media' where ".$medium."= ".$medium." and ".$typ."= ".$typ."

and ".$kusy."= ".$kusy." and ".$obal."= ".$obal." and znacka like '%".$vyraz."%' order by kusy
...
Showing results 1 to 29 of 29

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC