Jump to content

wobbit

Members
  • Posts

    13
  • Joined

  • Last visited

    Never

Everything posted by wobbit

  1. Hi Dazz, I found a pretty good tutorial which shows how to do paging with PHP adn MySQL. If can be found here: http://www.php-mysql-tutorial.com/php-mysql-paging.php
  2. Sorry, no I mean the database table layout. As in, what fields there are in the table and what type of field they are. Wob
  3. Hi Grant, What you typed is correct but you hadn't selected your database. To do this while in MySQL command line type 'USE contacts;' then you can do your query "SELECT DISTINCT Contact_Info_Country FROM birthdays" Wob.
  4. Can you upload the schema (layout) for that table?
  5. Basically, Html tags are alwasy inside brackets (i.e. <html>). Whatever you used to create the page has converted all '<' and '>' into the < and > (which are the html encoded versions so you can see the brackets displayed. You can probably cut and paste what you see on the screen into notepad. Then save that as 01.php or whatever. That may work! Wob.
  6. Hi Danny, Like I said above, it's difficult for us to help you without anything to look at. Wob.
  7. Well I've foudn your problem. Whatever you have used has encoded all the brackets ('<', '>') to make them HTML friendly. What you have there is not a php page.
  8. Try this (I presume you have a id field or a date field you can use): $getrows="SELECT * from ch_messages ORDER BY id DESC"; Can't remember if its that way up or $getrows="SELECT * from ch_messages ORDER BY id ASC";
  9. Can you upload some of if not all the code? It's hard to debug a problem with nothing to look at Does this work? <?php php_info(); ?>
  10. I don't want to state the obvious but does '/pet.php' exist?
  11. You'll probably find your headers are fake. Take the advice from aboce...
  12. Can't you jsut use SQL to get all the unqiue countries? If I remember correctly... "SELECT DISTINCT country FROM birthdays"... That should give you a complete unqiue list of countries.
  13. Hi Danny, Can you supply us with your DB schema and the cron file. It might not be inserting due to duplication primary keys. But we can only guess without seeing your code Wob.
×
×
  • 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.