php.lv forumi: tabula - php.lv forumi

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

tabula

#1 User is offline   Puika1 

  • Daudzsološais profiņš
  • PipPipPip
  • Group: Reģistrētie lietotāji
  • Posts: 240
  • Joined: 2009.02.01

Posted 2010.03.13 14:59

ka uztaisit so visu tabula
$st=substr($st,StrPos($st,chr(0)));
$st=substr($st,9);
echo("<center>$name");
echo("($kills)</center>");
echo("\n");
echo ("<hr>");


lai butu ta

speletaja niks1 (rezultats1)
speletaja niks2 (rezultats2)
speletaja niks3 (rezultats3)
speletaja niks4 (rezultats4)

#2 User is online   anonīms 

  • Kodu dievu dievs
  • PipPipPipPip
  • Group: Reģistrētie lietotāji
  • Posts: 1,128
  • Joined: 2008.01.27

Posted 2010.03.13 15:14

A tagad tā nav? Izskatās, ka ir
(c) MārisL.

#3 User is offline   Puika1 

  • Daudzsološais profiņš
  • PipPipPip
  • Group: Reģistrētie lietotāji
  • Posts: 240
  • Joined: 2009.02.01

Posted 2010.03.13 15:14

ir bet man vaig vienadu atsatarpi starp speletaju un rezultatu

This post has been edited by Puika1: 2010.03.13 15:16


#4 User is online   anonīms 

  • Kodu dievu dievs
  • PipPipPipPip
  • Group: Reģistrētie lietotāji
  • Posts: 1,128
  • Joined: 2008.01.27

Posted 2010.03.13 15:21

WOW! Nu tad vajadzēs izmantot table. Katru pusi savā td
(c) MārisL.

#5 User is offline   Puika1 

  • Daudzsološais profiņš
  • PipPipPip
  • Group: Reģistrētie lietotāji
  • Posts: 240
  • Joined: 2009.02.01

Posted 2010.03.13 15:31

es jau liku šādi

<table width="200" border="1"> (bet šajā rindā parādija error)
<tr>
<td>$name</td>
<td>$kills</td>
</tr>
</table>

protams,katru rindu iekš echo

#6 User is offline   waplet 

  • ehh waplet's jau pasteidzas
  • PipPipPipPip
  • Group: Reģistrētie lietotāji
  • Posts: 1,234
  • Joined: 2007.01.04

Posted 2010.03.13 15:32

tāpēc , ka nepareizi esceipo kvotes.
Челябинские хакеры настолько суровы, что вместо того, чтобы запомнить пароль от почты, каждый раз ломают ее, чтобы зайти.

http://twitter.com/waplet

#7 User is offline   chizijs 

  • čizijs
  • PipPipPip
  • Group: Reģistrētie lietotāji
  • Posts: 170
  • Joined: 2010.02.13

Posted 2010.03.13 15:34

" vietā liec ' :D

#8 User is offline   Puika1 

  • Daudzsološais profiņš
  • PipPipPip
  • Group: Reģistrētie lietotāji
  • Posts: 240
  • Joined: 2009.02.01

Posted 2010.03.13 15:35

nu man ir tā,bet kā jābut pareizi?

echo(<table width="200" border="1">);
echo("<tr>");
echo("<td width="133">$name</td>");
echo ("<td width="51">$kills</td>");
echo ("</tr>");
echo ("</table>");


Quote

" vietā liec ' :D


Nepalīdz

This post has been edited by Puika1: 2010.03.13 15:38


#9 User is online   anonīms 

  • Kodu dievu dievs
  • PipPipPipPip
  • Group: Reģistrētie lietotāji
  • Posts: 1,128
  • Joined: 2008.01.27

Posted 2010.03.13 15:37

Tev priekšā parādīts kā jābūt, bet tu tad pat aizmirsti par pēdiņām. Nerādam! Cīnies!
(c) MārisL.

#10 User is offline   chizijs 

  • čizijs
  • PipPipPip
  • Group: Reģistrētie lietotāji
  • Posts: 170
  • Joined: 2010.02.13

Posted 2010.03.13 15:43

echo("<table width=\"200\" border=\"1\">");
echo("<tr>");
echo("<td width=\"133\">".$name."</td>");
echo ("<td width=\"51\">".$kills."</td>");
echo ("</tr>");
echo ("</table>");

nākamreiz DOMĀ!

This post has been edited by chizijs: 2010.03.13 15:44


#11 User is offline   2easy 

  • Koda dievs
  • PipPipPipPipPip
  • Group: Reģistrētie lietotāji
  • Posts: 2,006
  • Joined: 2009.10.02

Posted 2010.03.13 16:03

oho! izrādās, ka echo string nemaz nav tik vienkārši :D:D:D

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic