Jump to content

SithLord2K

Members
  • Posts

    12
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

SithLord2K's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I'm working on this site linked below. I cannot seem to get it to display right in lower screen resolutions. I use 1280 X 1024 and it looks fine, but when dropping to lower resolutions everything seems to stay the same size and you get a double scrollbar at 1024 X 768 which is redundant and you lose part of it when set to lower screen resolutions. I have been searching in vain to find a way to resize this so it will auto adjust to look right at any screen res. I'm sorry if this is the wrong forum for this and please move it if needed. http://alphaomegawebdesign.ueuo.com/waterfalldigital/
  2. Does anyone have some good links for someone like myself who is very new to css to learn how to do layouts with it. I'm talking extreme basics to advanced stuff. I currently don't have the money to buy the books needed just yet.
  3. I have done the written part already :) I also find writing things down helps greatly with getting it done better and more organized. I'm loading that link now to find a color scheme and will be bookmarking it as well it's a great help. Thanx to all who replied and advanced thanx to those who are yet to reply.
  4. Thanx for the info, I'm currently working on a couple different styles and such, so far I also have [url=http://alphaomegawebdesign.ueuo.com/alphaomega/]http://alphaomegawebdesign.ueuo.com/alphaomega/[/url] Any critque of this one would also be great, I'm working to get rid of the black as I think it looks too dark and gloomy. I'm working on a more CSS driven layout to get rid of the tables except where they would work better.
  5. Thanx, that helps a great deal, I have been writing down the things that I will want to include in the site and have a rough idea on the over all look or layout, those links for color schemes will help a great deal as well, that was my main point of hardship waas picking a good color scheme. I really appriciate all the info you have been able to provide. If anyone else has anything to add feel free.
  6. When designing a site using html/php/css. what do you do first?? Which would make it easier to get done efficientlly??? Do the funtionality first then work on appearance?? or the other way around??
  7. Still having the same issues...... [url=http://alphaomegawebdesign.ueuo.com/alphaomega/index.php?page=setname]http://alphaomegawebdesign.ueuo.com/alphaomega/index.php?page=setname[/url] Please go here to see what I am talking about.
  8. Thanks, I forgot about the `  instead of ' but for some reason it's still not working, all I get when I hit the submit button is a blank page and anything that's set to load after the script runs doesn't show up. I also checked the db and the info isn't entered.  :(
  9. Ok I've made the following changes..... [code]<?php if (isset($_POST['submit'])) { require('includes/db_conn.php') ; //Now contains the connect and database select strings $ip_address = $_SERVER['REMOTE_ADDR']; $user = mysql_real_escape_string($_POST['name']); $sql="INSERT INTO 'users' ('id', 'ip_address', 'name') VALUES (NULL, '$ip_address', '$user')"; $result=mysql_query($sql); } ?>[/code] I have tested this but it still doesn't seem to work......
  10. When it comes to php/mysql/css I'm still new, especially with css. I would love any comments good or bad about this work in progress. I know I should use CSS for the layout and I'm working on figuring that out, but for now it's laid out using tables. Any suggestions on how to obtain this layout with css are welcomed. I also know this site doesn't yet pass validation, as I said it's a work in progress. [url=http://alphaomegawebdesign.ueuo.com]http://alphaomegawebdesign.ueuo.com[/url]
  11. I'm pretty sure there is a syntax error here somewhere but I'm not seeing it and I've been over it 100 times easily. But when I try to load this page it won't load. also anything that is supposed to load after it doesn't load either. [code] <?php if (isset($_POST['submit'])) { include('includes/db_conn.php'); mysql_connect("$db.host", "$db.uname", "$db.pass"); mysql_select_db("$db.name"); $ip_address=$_SERVER['REMOTE_ADDR']; $user=$_POST['name']; $sql="INSERT INTO 'users' ('id', 'ip_address', 'name') VALUES (NULL '$ip_address', $_POST['name'])"; $result=mysql_query($sql); } ?>[/code] below this is my form info. I have tried multiple times to try and get a separate file to do the php checking and data entry but they don't seem to work for me.
  12. Ok I know exactly what you are trying to do. I just figured it out for my own website. Try this. On the page being included, before everything else a he floowing code. [code] <?php $pages = array(                 'test' => 'includes/test.php',         );                         if (isset($_GET['p']) && isset($pages[$_GET['p']]))                 {                    $title = "[i]title[/i]";                    $description = "[i]description[/i]"; //Can also be $pages or whatever your varible is                 }else{                      $title = "[i]alternate_title[/i]"; //You can leave blank                      $descrition = "[i]alternate_description[/i]"; //You can leave blank                } ?> [/code] Then where you call these put this: [code]<?php echo $title; ?> <?php echo $description; ?>[/code] or however you want to call them Below is an example of the script my site uses: [code]<?PHP $valid_pages = array('news', 'about', 'contact', 'pricing', 'portfolio', 'main', 'legal'); $page = $_GET['page']; if (in_array($page, $valid_pages)) { $subTitle = $title." - ".$page; } else { $subTitle = $title; } ?>[/code] then when I call the script I used: [code]<title><?php echo $subTitle; ?></title>[/code]
×
×
  • 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.