Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [CSS + php + html] jak przekazac a href do php
q250
post
Post #1





Grupa: Zarejestrowani
Postów: 22
Pomógł: 0
Dołączył: 29.07.2007

Ostrzeżenie: (0%)
-----


Jest takie cos jak star rating poprzez html + css bardzo proste:

Problem mam tylko taki, ze majac taki kod html:

  1. <ul class="star-rating">
  2. <li class="current-rating" style="width:60%;">Currently 3/5 Stars.</li>
  3. <li><a href="#1" title="1 star out of 5" class="one-star">1</a></li>
  4. <li><a href="#2" title="2 stars out of 5" class="two-stars">2</a></li>
  5. <li><a href="#3" title="3 stars out of 5" class="three-stars">3</a></li>
  6. <li><a href="#4" title="4 stars out of 5" class="four-stars">4</a></li>
  7. <li><a href="#5" title="5 stars out of 5" class="five-stars">5</a></li>
  8. </ul>


nieumiem wyniku z href wyslac tak jak ponizej z "selecta" za pomoca formularza, jak to zrobic?

  1. <form name='postrating' method='post' action='".$rating_link."'>
  2. <select name='rating' class='textbox'>
  3. <option value='0'>1</option>;
  4. <option value='0'>2</option>;
  5. <option value='0'>3</option>;
  6.  
  7. <input type='submit' name='post_rating' value='".$locale['r103']."' class='button'>
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 20:20