Jump to content
Old threads will finally start getting archived ×

pdpullmn612

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

pdpullmn612's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks a lot for the quick response. I really appreciate it.
  2. Hey guys, I don't know if this belongs in this section, but I didn't know where else to put it. I was wondering if anyone could tell be based on the picture what editor this is? I want to give it a shot, but I saw it in a video so I have no idea what its called or where to get it. If anyone knows and could let me know that would be awesome. Thanks [attachment deleted by admin]
  3. hey guys, I'm looking to create a simple blog from scratch. I just need a little help to begin with. My ultimate question would be: what would be the best way to set up my database, in terms of tables and such. I have a basic idea, but once I get the database and relational model all squared away I will be able to start my coding which I'm pretty sure I can do. Any help would be great. Thanks, Dave
  4. Thanks box you're the man. Just what I was looking for. I kinda feel stupid for not thinking about that sooner. anyways, thanks a lot.
  5. I'm looking for something like this: <?php include("dbconnection.php"); $sql = "SELECT name, abbreviation FROM resorts ORDER BY name ASC; $rs = mysql_query($sql) or die(mysql_error()); if(mysql_num_rows($rs)) { $output .= "<ul>"; while ($row = mysql_fetch_array($rs, MYSQL_ASSOC)) { $output .= "<li><a href=resorts.php?state=$row[abbreviation]>$row[name]</a></li>"; } $output .= "</ul>"; } print $output; $state = $_GET['state']; if(isset($state) { include($state . '.php'); //ex. This would display the contents of ct.php } else { include("index.php"); } ?> What I want is the content from lets say ct.php to show up, but the links generated above it to go away so im only left with the content of ct.php. I know I can use header("ct.php") to redirect the browser, but i want my links to be in the format like: http://www.mysite.com/resorts.php?state=ct instead of: http://www.mysite.com/ct.php hope that helps you guys better to help me. Thanks in advanced for your help.
  6. Hey guys, I'm building a website and I have a question. I want my URLs to be in a format like so: http://mysite.com/resorts.php?resort=whatever On resorts.php Im dynamically listing links for different pages. What I want is that when a specific link is clicked, it displays the information of the selected link. I have been able to do this with includes and what not. There is only one problem. When a link is clicked I need the list of links on the top of the page to disappear, so that only the information of the page requested is displayed. I want it as if the link were clicked it basically looks like a whole new page, but maintains the URL format I specified above. I think I have done it before, but I cannot think of where I found out how I did it. Does this make sense? Any help would be great. Thanks in advanced. Thanks, Dave
×
×
  • 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.