smagA-galva Posted March 10, 2007 Report Posted March 10, 2007 esmu uploadojis 2 bildes un 2 ierakstus uz viena id (protams bildes saglabaajas folderii /upload) id | bilde1 | bilde2 | teksts | apraksts Bildes un paareejo vaig iznest uz php.. - tiko esmu saacis to maaciities, talab buutu lieliski ja skriptu vareetu ielikt pilnu!!! Abas bildes un ierakstus izvada uz php pa, katru naakamo id stabinjaa uz leju.. Tiko kad izvada bildes to izmeeri ir 100x100 bet kad uz bildes uzkljikskjina atveras popup logs ar bildes izmeeru 500x500!!! <?php $connection=mysql_connect("localhost", "root", "parole"); mysql_select_db("db"); $result=mysql_query("SELECT * FROM images - kas taaalaaak??
smagA-galva Posted March 10, 2007 Author Report Posted March 10, 2007 atvainojos par virsrakstu, liela neviizhiiba!!! tp - bildes
Val Posted March 10, 2007 Report Posted March 10, 2007 $id=1111111111; $result=mysql_query("select * from images where id='$id';");
andrisp Posted March 10, 2007 Report Posted March 10, 2007 Es nekur neredzu, kur ir problēma. Kas tev nesanāk ?
smagA-galva Posted March 11, 2007 Author Report Posted March 11, 2007 Taatad, tik daudz es protu, ko esmu paraadiijis, bet taalaak neko. Talab bija luugums paraadiit pilnu skriptu. Lai man ar pirmo sanaaktu un lai es maaceetu izprast kas un kaa!!!
Delfins Posted March 11, 2007 Report Posted March 11, 2007 Gribi miljonu neko nedarot!? Nē puis. Apskaties jebkuru image gallery iekš hotscripts.com un tev viss taps skaidrs...
smagA-galva Posted March 11, 2007 Author Report Posted March 11, 2007 no kurienes atnaacu uz turieni atkal mani aizdzina!!!
smagA-galva Posted March 11, 2007 Author Report Posted March 11, 2007 tomeer varbuut kaaads var ielikt kaadu pilnu scriptu, es skatiijies mekleejis bet vien ko varu normaali palaist ir ja bilde saglabaa db ne mapee!!!.. un to jau juus pashi sakaat, ka tas nav labi!!!
smagA-galva Posted March 11, 2007 Author Report Posted March 11, 2007 tik taali esmu ticis taalaak man nav iespeejams.. nu gan dereetu juusu paliidziiba!!! http://paste.php.lv/5292 -sheit buus
v3rb0 Posted March 11, 2007 Report Posted March 11, 2007 man domāt, ka vajag img tagu kaut kur.. tā kā tagad, neko vairāk (labākajā gadījumā) par pareizu bildes filenami neredzēsi.
smagA-galva Posted March 11, 2007 Author Report Posted March 11, 2007 nu to itkaa es zinu.. bet kas man jaraksta gan nemaaku un neizprotu!!
smagA-galva Posted March 11, 2007 Author Report Posted March 11, 2007 ja nerakstiiju gan, bet gan mekleeju paraugos un kombineeju!!! ... liels paldies andrisp par padomu un par skriptu vis naak ar laiku
Recommended Posts