Jump to content

pdkv2

Members
  • Posts

    205
  • Joined

  • Last visited

    Never

About pdkv2

  • Birthday 11/01/1977

Profile Information

  • Gender
    Not Telling
  • Location
    Pune

pdkv2's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. $query = "SELECT * FROM entry WHERE entry.ok='1' ORDER BY id DESC LIMIT 100"; $result = mysql_query($query); // Display records from the table $hundredth_record=array(); $rec_num=1; echo "<table border='1'>"; while ($row = mysql_fetch_array($result, MYSQL_NUM)) { echo "<tr><td>$row[0]</td><td>$row[1]</td><td>$row[2]</td></tr>"; if($rec_num==100){ $hundredth_record=$row; } $rec_num++; } $hundredth_record will contain the record with the number 100
  2. searching for Chinese result in Chinese DB using English keyword will result zero records meaning you will not get any matching record.
  3. check your file path "/www/shanghai2010/" try using entire file path. in case of shared hosting the file path will have some more directories before /www/shanghai2010/ ex /xxxx/www/shanghai2010/
  4. I think http://webdesign.about.com/od/mobile/a/detect-mobile-devices.htm will be helpful for you
  5. try using method="POST" in the form tag.
  6. you should first translate the English search phrase to Chinese and use this translated string to query DB you might want to take a look at http://code.google.com/apis/ajaxlanguage/ for translating the English to Chinese Hope this solves your problem
  7. check the "loginid" against the session loginid if it exists hen only call the function.
  8. can you please post some details like which db are u using and where you see the garbage ?
  9. Hi, my application is using setlocale() function to set the locale and it works fine for all the operating systems except windows 2008 please give me hit about workaround for the above issue. Thanks, Sharad
  10. try printing $user_group in the function i doubt if this array is empty ?
  11. i am not sure what exactly you are trying to ask . please try to post the code snippet .
  12. can any one give suggestion please !!
  13. it would be better if implemented again !! and in my view there is no harm in that
  14. you can use the event record id as a file name if it is unique this way you can generate the file name on the fly when you fetch the record from the DB and use it on the page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.