Jump to content

cmgmyr

Members
  • Posts

    1,278
  • Joined

  • Last visited

    Never

Posts posted by cmgmyr

  1. Check this link out: http://www.neuroticweb.com/recursos/2-columns-layout/index.php

    there is also a 3 column here : http://www.neuroticweb.com/recursos/3-columns-layout/index.php

    all you have to do is add <div style="clear:both;">&nbsp;</div> after your second "column" then this will be your second row.


    Hope this helps,
    -Chris
  2. No problem it should have been a tab up at the top.

    You can also go into the operations tab and there is a spot where you can change the auto inc number.

    -Chris
  3. I want to do a "MySpace" url rewrite.

    My .htaccess is:[code]RewriteEngine  on
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^([^/]+)/$ /profile.php?moduser=$1 [L][/code]

    And the beginning of my profile.php is: [code]global $moduser;

    if(isset($moduser)){
    $query = "SELECT userid FROM users WHERE mod='$moduser'";
    $result = mysql_query($query) or die('Query failed: ' . mysql_error());
    $userid = mysql_result($result, 0, 'userid');
    }[/code]

    when I go to mysite.com/username it doesn't do anything. It just hangs up, no error message or anything.

    Let me know if you need any more information

    Thanks,
    -Chris
  4. It's a good start.

    Your objects are all broken apart the header is to the left, the content below the header is centered, the middle banner is all split apart, and everything else is kind of centered.

    Your links on the top: Home is fine, find freelancers is too much to the left, find jobs looks like its a little to the left, job center is too much to the right.

    There are a lot more alignment and spacing problems throughout the site. If you fix those it looks like there is some potential.

    -Chris
  5. Try this
    <div id="wrapper" style="margin:0px auto;">
    <div style="width:643; height:74;" ><img src="#" width='643' height='74' alt="img0" /></div>
    <div style="width:643; height:30;padding:0px;" ><img src="#" width="171" height="30" alt="img1" /><img src="#" width="85" height="30" alt="img2" /><img src="#" width="79" height="30" alt="img3" /><img src="#" width="121" height="30" alt="img4" /><img src="#" width="188" height="30" alt="img5" /></div>
    </div>

    ** make sure all of your link images are on one line. IE has problems with new lines when doing something like this.

    -Chris
  6. You can also look around the internet and find some well written and documented tutorials. Once you know what you want and what you are looking for it should be pretty easy.

    Just remember that Ebay, Amazon, and whoever else...wasn't built in a few days...be patient and focused and everything will come.

    -Chris
  7. [quote author=ober link=topic=102480.msg406735#msg406735 date=1154376660]
    $myvar1 = 1;
    $myvar2 = 2;
    $myvar3 = 3;

    With an array, you can do this:
    $myvar = array(1,2,3);
    or
    <?php
    for($i=0;$i<10;$i++)
      $myvar[] = $i;
    print_r($myvar); // prints out the array values
    ?>

    [/quote]

    The For Loop:
    In this case you are starting the loop off by setting i=0, you are looping until i reaches 10, after each loop add 1 to i (You can also use $i = $i + 1, or if you are taking one away you can use $i-- or $i = $i - 1)

    Anything in the body of the loop is the stuff that is getting processed.

    Programming can be very dry or very creative and a lot of fun.

    if($php == "dry"){
      $outcome = "You aren't having enough fun.";
    }elseif($php == "interesting" && $php == "inspiring"){
      $outcome = "You are having fun!";
    }else{
      $outcome = "You might be having fun, you might not...read the manual!";
    }

    just a little example for the hell of it  8)

    -Chris
  8. I like it. Maybe just narrow that block on the left of "Home"

    One more idea is when they go to a different page change the color of the site. Home - blue, about - green, portfolio - red. Or something like that...you get the idea.

    -Chris
×
×
  • 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.