Jump to content

c_323_h

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Everything posted by c_323_h

  1. Thanks, But I would I find out which city the IP address is coming from?
  2. Hello all, How would I detect someone's IP address and find out what city they are in? I couldn't really find any tutorials clearly explaining how to do this so any kind of help would be appreciate. Thanks
  3. Hey everyone, I have a question about how mysql_fetch_array... My PHP code looks like this: $query = "my query here"; $result = mysql_query($query); $row = mysql_fetch_array($result,MYSQL_NUM); I ran a MySQL query through the client and it returns this (which is how I want it): +--------------------------+-----------------------------+ | date | name | +--------------------------+-----------------------------+ | Wednesday | Bill | | Wednesday | Bob | | Thursday | Joe | +--------------------------+-----------------------------+ Where date and name are the two columns. Now, how would I reference these values after using mysql_fetch_array()? I tried echo $row[0]. " " .$row[1]; but it doesn't output anything. Thanks
  4. Works for me! Could someone tell me how to do something like this? And how to detect which city you're in? I've been Googling but all of it sounds complicated. Thanks
×
×
  • 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.