Jump to content

jad3z

New Members
  • Posts

    6
  • Joined

  • Last visited

jad3z's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I want to rewrite this url site.come/info.php?country=america&state=colorado&city=denver To site.com/info/america/colorado/denver .htaccess RewriteEngine On RewriteBase / RewriteRule ^info/(.*)/(.*)/(.*)/$ info.php?country=$1&state=$2&city=$3 [L] RewriteRule ^info/(.*)/(.*)/$ info.php?country=$1&state=$2 [L] RewriteRule ^info/(.*)/$ info.php?country=$1 [L] info.php <?php // City info if (isset($_GET["country"], $_GET["state"], $_GET["city"])){ include('tabel.city.php'); // State info } elseif (isset($_GET["country"], $state["provincie"])){ include('tabel.state.php'); //Country info } elseif (isset($_GET["country"])){ include('table.country.php'); // Landing Page } else { include('tabel.general.php'); } ?> I think there is something wrong, but I tried so much options for the last 6 days T.T I hope you guys can help me out, thanks in advance!
  2. Can you give me a example please?
  3. Hey guys!! I need some help I have a project of mine in java that needs mySQL integration. I haven't worked with mysql before, so I need some simple queries 1. Return a list of tables 2. Add a table with x number of columns 3. Add x value to x column in x table 3. Remove x value from x column in x table 4. Edit x value from x column in x table Thanks for reading my my topic! Regards, Joey
×
×
  • 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.