Προς το περιεχόμενο

php ή javascript


takissas

Προτεινόμενες αναρτήσεις

Δημοσ.

pedia thelo na mathw pws mporw na ftiaxw ena pinaka me ena keli kai se ayto to kelli na simplironw ton arithmo kai kathe fora na mou to prostheti stin proigoumeni simplirwsi.gia na ime pio safis prospatho na ftiaxo mia selida se php kai javascript stin opoia se ena simeio thelo o pelatis na simplironei ton pinaka pou anafera kai egw kathe 16 fores na toy epistrefw to 98% auton pou evale (poy tha ine ena poso).

 

 

 

 

Eyxaristv ek twn proterwn.

Δημοσ.

Ti ennoeis ka8e 16 fores?

Na exeis ena pedio opou egw 8a bazw px ton ari8mo 20. Ean ton balw 16 fores esi na mou epistrefeis to 98% tou a8roismatos twn ari8mwn pou exw balei? Dwse ena px me ari8mous.

profanws auto ginete kai me php kai me javascript alla proteinw tin 1i

Δημοσ.

ftiaxno ena koyloxeri k

exo to pedio pontarismatos to opio o xristis vazei to poso pou theli kai egw thelo kathe fora pou tigxenei na exo treis ti idies eikones na paroysiazete to minima kerdises kai to poso pou kerdise na ine to 98% toy posou poy apothikeytike mexri ekini tin wra.xrisimopoiisa thn synartisi "shuffle " tis php gia tin diaforetiki paroysiasi ton ikonwn kathe fora.

 

erotimata

1)pos mporwn na pernw to 98% opos to paroysiasa pio panw ?

2)exete kati allo na protinete kalitero apo tin suffle oso afora to anakatemma ton ikonwn?dld poy tha kanei twn kouloxeri mou pio "realistiko"?

 

elpizw twra na egina pio safis!

Δημοσ.

Se ka8e pontarisma na apo8ikeueis stin basi H kai se flat file to poso gia ka8e paikth. Otan paizei na ginete elegxos an kerdise kai tote ta pros8eteis ola kai ta pollaplasiazeis me to 0.98

 

mia geniki perigrafi.esi kollises ekei i ston kwdika?

Δημοσ.

to ekana na to vgazei to apothikeuei stin vasi. pos na to kanw opos les pio panw na elegxei kai na mou vgazei to 98%?xrisimopoiisa tin sinartisi shuffle(php) gia to anakatema ton eikonon. kai to phpadmin gia tin dimiourgia twn vasewn mou.thelo protaseis se kodika.

 

ine poli epigon!!!! opoios mporei na voithisei tha toy ime eugnomwn..

..

Δημοσ.

<?php

$pictures=array('Angel.jpg','Angel.jpg','Gift.gif','Gift.gif','Angel.jpg','Gift.gif','Coffee.gif','Coffee.gif','Coffee.gif');

shuffle($pictures);

?>

<html>

<head>

<title>Pyla Casino</title>

<?php

 

include("config.inc.php");

 

$con=mysql_connect($dbServer,$dbUser,$dbPass)

or exit("Cannot connect to database");

 

$sql="INSERT INTO takis VALUES ('',' ".$_POST["INSERT"]."')";

 

$res=mysql_db_query($dbDatabase, $sql);

 

?>

 

 

<SCRIPT language="javascript">

 

function validate()

{

var errors = "";

if ( (document.forms[0].INSERT.value=="") )

{

errors+= "\nYou need to complete all boxxes with (*) at Contact Details form.";

}

 

 

 

if (errors.length > 0) {

alert ("Please correct the following:"+errors);

location.reload(true)

return false;

}

//else return "success.html";

else return true;

}

 

</SCRIPT>

 

 

</head>

<BODY BACKGROUND=dice_img_seo-page.JPG WIDTH = 100%, HEIGHT = 100%>

 

<center>

<h1><Big><big><big>Pyla Casino</big></big></big></h1>

<table width = '100%'>

<tr>

<?php

for ($i = 0; $i <3; $i++ )

{

echo '<td aling="center"><img src="';

echo $pictures [$i];

echo '"width="100" height="100"></td>';

}

?>

</table>

<br><br><br>

<form name="form" onsubmit="validate(this)" action="images.php" method="POST">

<table class="table" width="30%" align="center" >

</tr>

<tr><td colspan="5">

<b>  <BIG><BIG>PONTARIS POLLA PERNIS PIO POLLA</big></BIG>: </b><br><hr>

</td></tr>

</BR></BR>

<tr><td>

<BIG><BIG><BIG>INSERT COIN</BIG></BIG></BIG>:

</td><td>

<?php echo $_POST["INSERT"]; ?>

 

</td></tr>

</tr></td>

<input type="submit" value="LORRILING" name="submit" >  

</table>

</form>

</center>

</body>

</html>

Δημοσ.

Ayto pou exeis kanei einai poli proxeiro--signomi kiolas--

Den eida poy8ena na kaneis kapoion elegxo..

kai pws na kaneis elegxo afou mono emfanizeis tis eikones sou kai den exeis kanei kati na ksereis am emfanizontai oi idies diladi pote kerdizei o paiktis.

 

Edw pou emfanizeis tis 3 foto

for ($i = 0; $i <3; $i++ )

{

echo '<td aling="center"><img src="';

echo $pictures [$i];

echo '"width="100" height="100"></td>';

}

 

prepei na iparxei elegxos poia emfanizete pou gia na deis an kerdise..

Αρχειοθετημένο

Αυτό το θέμα έχει αρχειοθετηθεί και είναι κλειστό για περαιτέρω απαντήσεις.

  • Δημιουργία νέου...