Jump to content

homchz

Members
  • Posts

    93
  • Joined

  • Last visited

    Never

Everything posted by homchz

  1. Delete one of the first requires as you do not need two of them, and delete the last mysql_free at the bottom of the scrpit as you have two of those too. You cannot free anything more than once, I do not beleive. Josh DW makes some bad default code, do your self a favor and learn what it all means so you can do with out DW's code. Make life much simpler.
  2. if I have time later and it is not fixed i'll play with it on my machine.
  3. just for giggles take the [code]<center></center>[/code] out of the HTML so it aligns left and see what happens.
  4. looks like a padding issue add this form{ padding:0px; margin:0px; } and see what happens. Josh
  5. The Visage Hosting gradient, outlined, contoured, over a drop shadow is a but much for me. I am not abig fan of all the colors for each section, I think everything would look good as the. "Build your own plan" header. I like the way the curve fades behind the nav, but no how it reappears under it, in full again. I think it should fade behind and stay behind. It does not validate, 17 errors I think, but what does that mean?? Almost every "popular" site on the web does not validate, only us geeks seem to point that out all the time :lol: It is built with tables, which I am not a fan of but again.. Express Yourself is hard to read, because of all the effect and the size. That's all I got. Not bad but, I see room for visual improvement
  6. You need it to be in double quotes is what I am trying to say. Single quotes are for literal translation, you do not want literal translation try this setcookie ("lap", "$name", time() + 3600);
  7. Double Quotes. Single quote represent literal text. So it will always print what is inbetween them, literally.
  8. what if you did this: [code] ls -l | grep -E [^(mp3)] [/code]
  9. the full path to the folder should be something like home/[i]servername[/i]/public_html/uploads if I remember correclty replace servername with whatever you sever is called.
  10. can we see the HTML. You are not clearing your floats, the easiest way I know of around this is to creatre a new div called. .clear{ clear:both; font-size:1px; } Then place this line just above the closing </div> for your layer containing all the floats. <div class="clear">&nbsp;</div> Josh
  11. I think that is an issue with using frontpage. I remember seeing an extention at the DW site for FrontPage import, so that FrontPage pages will work in DW. In DW you have to designate the folder you are using, in the Site Manager. I suggest looking in "Getting Started With Dreamwaever" in the help menu.
  12. I think you have to designate the $email variable as your email address, in the script. Or since this will only go to you just replace $email with your address.
  13. maybe store them all in an array then free the array??
  14. Not sure if it is a bug but floats can be tricky. I actually think it is an IE bug, if you think about it a float is supposed to do just that, and have no borders, and must be cleared to work correctly. IE just sees it as an overlying div. This is how I clear all my floats if they need it. NP,man CSS issues can be fun to solve. Luckily I had the time tonight. Josh
  15. you can see it working here [a href=\"http://new.flightfeathers.com/projects/clear/#\" target=\"_blank\"]http://new.flightfeathers.com/projects/clear/[/a]
  16. link does not work. Hold on I will upload what I have and get it off my testing server.
  17. That is all I did, did you remove the 100% hieghts too?
  18. put the clear div just above the closing div for middle and take the 100% heights away from contain 2 and 3 this worked for me in FF
  19. create a class called clear or whatever you want give it a font size of 1 and clear: both; just above the div that is supposed to strech and put &nbsp; inside the div. it is a hack but should work.
  20. I did it a little differently with my blog. I placed all the category id's in one field, buy using check box form fields while posting Then when I want to get the category list I used this function [code] function get_categories($tid)         {             print "<div class='blog_cat'>";             print "Categories:&nbsp; ";             $this->table = "blog_posts";             $this->query = mysql_query("SELECT categories from $this->table WHERE topic_id = $tid");                          while ($this->result = mysql_fetch_assoc($this->query))             {                 global $cat;                 $cat = $this->result['categories'];             }                          $c_id = explode(",", $cat);             $number = count($c_id);                          foreach($c_id as $cid)             {                                  $table = "blog_category";                 $query = mysql_query("SELECT cid, category FROM $table WHERE cid = $cid");                                  while($result = mysql_fetch_array($query))                 {                     $c_name = array($result['category'] => $result['cid']);                                          foreach($c_name as $cat_name => $id)                     {                         print "<a href='http://localhost/JoshuaJones/blog/index.php?page=archive&amp;archive=category&amp;cid=$id'>$cat_name</a>&nbsp;&nbsp;";                                          }                                      }             } [/code]
  21. Not really a php issue, but www.wordpress.com should work.
  22. Have to agree with Ober on many points. The scrolling is hard to look at. Though I do kind of like the way the words in the logo scroll. The gradient menus are to harsh of a change and the text is very hard to read. In larger resoultions you have a lot of dead space where it looks like something should be. I am hoping you are planning on a right column to match the left. or making the footer and nav a bit shorter, to match the news boxes. The only things I would see as professional on this site is the logo, everything after that seems amaturish to me. Not really the image a business wants to display.
  23. I am half way there, but my my server is being denied to the folder. Do I have to set permissions to 777 and if so should I keep all my cron_job files in a seperate folder?
  24. Yeah, I had to chave it to this [code] function pay_cron()     {         $sql = mysql_query("SELECT uid, gold, salary FROM p_users WHERE occupation != '0'")or die(mysql_error());         while($results = mysql_fetch_object($sql))         {             $uid[]    = $results->uid;             $gold[]   = $results->gold;             $salary[] = $results->salary;                          $num      = count($uid);              }                            for($i=0; $i<$num; $i++)             {                 $pay = ($gold[$i]+$salary[$i]);                                  $sql = mysql_query("UPDATE p_users SET gold = '$pay' WHERE uid = '$uid[$i]'")or die(mysql_error());                 $update = mysql_query($sql);             }        } [/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.