Register  |  Login



Earn money by sharing your knowledge

Quomon shares its advertising revenue with contributing experts that answer questions effectively. Join our community to share your knowledge and earn an income as you go.

Question

Status: Open Points: 25 Time: 02:35 - Jul 17, 2007  

srikanthella

Iam Populating Dropdown with employeeName using Classes It Displyaying ""with success populatio

Iam Populating Dropdown with employeeName using Classes It Displyaying ""with success population in run time in php webpage

Categories:

Answer Discussion
Tutorials

 

Q&A System for Websites and Corporate Collaboration

Advertisement

  • Generates significant organic traffic for websites
  • Saves companies money, resources, and time

admin

Date:: Aug 22, 2007

Time:: 13:25

srikanthella, did you get your question solved?

If you did then please close this question and distribute the points. If you found the solution on your own, we would be very happy if you could explain it here for the sake other users having the same problem.

If you didn't get a solution to your problem, please leave a comment here to let the experts know that you're still looking for an answer.

Thanks,
The Quomon Admin Team

srikanthella

Date:: Aug 27, 2007

Time:: 01:59

i did nt get answer to my question

jgivoni

Date:: Sep 23, 2007

Time:: 14:53

It's difficult to find an answer to this question, since it's not quite clear what you want, or what PHP and JavaScript have to do with it.

If your webpage is really showing the glyphs "", it most likely is a problem of character encoding. Try selecting different kind of encodings from the View menu in your browser, to see which one makes it look like a recognised letter. To fix a problem of character encodings, we need to know much more about how the webpage is generated.

/Jakob

shashi.programmer

Date:: Dec 31, 2008

Time:: 03:04

Use this to populate you dropdown from database and use class name --------------
<select name="categoryid" class="table_text" id="categoryid">
<option value="">Select Company</option>
   <?php
$result=mysql_query("SELECT * FROM `company`") or die("Could not get data from the table".mysql_error());
   if(mysql_num_rows($result) > 0)
   {
   while($row=mysql_fetch_array($result))
   {
   print("<option value='".$row['company_id']."' class='class_name'>".$row['name']."</option>\n");
   }
   }
   ?>
  </select>

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

Tutorials cannot be submitted until the Answer Discussion is complete.

Submit answers in the Answer Discussion area

Ask a Question

Have a new question? Ask!

You have 100 characters to use



Top PHP Experts

View More

Rank

Expert

Points

1.

nidhi

365

2.

m.j.little

250

3.

xarcus

220

4.

theDude

145

5.

dustPuppy

75

6.

jgivoni

65

7.

mizu

25

8.

redcharcoal

25

9.

PeterNZ

15

10.

Anpanman

10

Become an Expert

Register today to share your knowledge with the community and be recognized and rewarded for your contributions.


Register Here




"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it



Language Options

English:

www.quomon.com

Español:

www.quomon.es