Gochix Posted January 29, 2014 Report Share Posted January 29, 2014 vai ir kads kurs varetu shada veida tabulu?? Quote Link to comment Share on other sites More sharing options...
codez Posted January 29, 2014 Report Share Posted January 29, 2014 jā Quote Link to comment Share on other sites More sharing options...
Gochix Posted January 29, 2014 Author Report Share Posted January 29, 2014 jā Vareetu izpalidzet ar kadu piemeeru? Quote Link to comment Share on other sites More sharing options...
rATRIJS Posted January 29, 2014 Report Share Posted January 29, 2014 https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table Quote Link to comment Share on other sites More sharing options...
Gochix Posted January 29, 2014 Author Report Share Posted January 29, 2014 (edited) <html> <table> <tr> <td id="status">1</td> <td id="status">LV</td> <td id="status">Cleric</td> <td id="status">Warcraft</td> <td id="status">12</td> <td id="status">2668 h</td> <td id="status"><font color="purple">17.02.2014</font></td> </table> </html> Šeit tabulas kods, bet šajā vietā man vajadzētu ievietot kā piemēru $name $regdate utt.. kā var ielikt iekš tā viņu? Edited January 29, 2014 by Gochix Quote Link to comment Share on other sites More sharing options...
codez Posted January 29, 2014 Report Share Posted January 29, 2014 Jāsāk ar PHP apgūšanu: http://www.codecademy.com/tracks/php Quote Link to comment Share on other sites More sharing options...
Gochix Posted January 29, 2014 Author Report Share Posted January 29, 2014 tur nemaz nekas nav saistīts ar to kā iegūt kādu $whatever iekš html faila, jo vel jau vajag includot no kurienes nemt vinu ieks db.. es nemaz nezinu kaa to var izdariit.. Quote Link to comment Share on other sites More sharing options...
rpr Posted January 29, 2014 Report Share Posted January 29, 2014 Es teiktu, ka drīzāk jāapgūst html nevis php. id jābūt unikālam. font tagags html5 nav. utt. Quote Link to comment Share on other sites More sharing options...
ieleja Posted January 29, 2014 Report Share Posted January 29, 2014 nav saprotams, ko īsti vēlies? ja HTML kodu, tad nospied labo peles tausti;nu un "View Page Source" ja sistēmu, kas pati ģenerē tādu tabulu, tad tev jātiek pie tiem datiem, kas atrodas kaut kādās tabulās, kas esošajā sistēmā jau ir? Quote Link to comment Share on other sites More sharing options...
Gochix Posted January 29, 2014 Author Report Share Posted January 29, 2014 man vajag tikai izvilkt no datubāzes table info un attēlot kā $whatever $id utt.. tādu funkciju Quote Link to comment Share on other sites More sharing options...
codez Posted January 29, 2014 Report Share Posted January 29, 2014 Tātad ņem citātu "izvilkt no datubāzes table info un attēlot", tulkojam ar google translate angliski "pull info from the database table and displaying" Rakstām tulkojumu googlē: https://www.google.lv/search?q=pull+info+from+the+database+table+and+display Iegūstam 1. rezultātu, kurā pārādīts piemērs kā to izdarīt: http://stackoverflow.com/questions/15251095/display-data-from-sql-database-into-php-html-table Quote Link to comment Share on other sites More sharing options...
Gochix Posted January 29, 2014 Author Report Share Posted January 29, 2014 paldies par palīdzību.var vērt ciet Quote Link to comment Share on other sites More sharing options...
Gochix Posted January 30, 2014 Author Report Share Posted January 30, 2014 (edited) Uzliekot ORDER BY name DESC , kā iegūt lai ID parādas nevis kā pieliekot +1 iekš id datubāzē, bet ja kopā ieraksti tabulā ir 5 , tad ir no 1 lidz 5 , un izdzesot vienu info un ieliekot atkal 1 info, atkal paliktu tas 1 - 5, savadak man parādās 1,2,3,4,6 utt Edited January 30, 2014 by Gochix Quote Link to comment Share on other sites More sharing options...
daGrevis Posted January 30, 2014 Report Share Posted January 30, 2014 Kam tev to vajag? Quote Link to comment Share on other sites More sharing options...
Gochix Posted January 30, 2014 Author Report Share Posted January 30, 2014 lai attēlotu cik kopā ir online, tādejādi noripinot uz leju arī pie pēdējā $name arī parādīsies beigu skaitlis cik online.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.