Jump to content

floridaflatlander

Members
  • Posts

    671
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by floridaflatlander

  1. It looks like your calling in the functions navBar() & footer(). What's your goal with this page?
  2. You'd play with it. You also said "not one behind another" something else must be in play here in your css, they should be one on top of the other if there are no styles Just for argument lets's say you want to put then in a wrapper 1000px s wide. The first one could be 495pxs wide with a margin-right of say 500px and the second could be 495pxs wide floated right. Or you could float one left and one right. The best thing to do is play with it, testing in firefox, ie 7 8 & 9. I worked on something like this a half a day yesterday using somoene else code and trying to figure out what was going on. Also remember that ie6 adds something like 3pxs to a float so I always have 5-10 unused pxs when the width of all my divs is added up.(remember width is really margin+padding+border+width) There are smarter people on here that say they should all be floated the same way but I haven't seen them on here in a while. Also if you can used firefox's firebug it's a God send
  3. I don't see anything containing your input tags or any row tags. Maybe someone in the know will show up and give you better advice. Do you have a tag(s) missing? Also Run your html code through http://validator.w3.org/ and it may tell you. I'm not that familiar with lables and such, I just use the standard tr th and td tags
  4. The name of your table class is .style1, I'd write it like this <style type="text/css"> .style1 { /* this style is for the whole table */ padding: 1em; font:80%/1 sans-serif; background-color: #f0f0f0; } /* this needs a different name but it's the same name, if it's for a lable I'd write <label for="mname" class="label-style" >Middle Name:</label> */ .label-style { float:left; width:25%; margin-right:0.5em; padding-top:0.2em; text-align:right; font-weight:bold; } /* you didn't have semicolons after the styles */ body { margin: 2em }; h4 { margin-top:2em }; input { font-size:100%; vertical-align:middle } ; <style>
  5. I built something on my local host and when I loaded it to my online provider I started to get back slashes in front of my single quotes on data I placed in the database, example word\'s The provider is running 5.2.9 on their server, I checked and magic_quotes_gpc is on, I thought this was old school. Can I turn if off ? I clean by data with strip_tags() & mysqli_real_escape_string() I found this http://php.net/manual/en/security.magicquotes.php Thanks
  6. LOL Thanks thorpe that was about three hours work. I went back and changed all the header redirects to full urls on sites I've done. The odd thing I noticed was that a year ago to around May I was using complete urls, then in May I started using realtive paths, interesting.
  7. Thanks everyone I think I'll stay with what I have for the time being, with the exception of the category file there is no data repeated in any off the dbs and all are linked with indexs on auto increment. I don't see having more than 30-40-50-60 items and if I do I may or may not split the category db into two. Thanks again
  8. I think you can set your session cookie to expire just like a cookie. setcookie('PHPSESSID(or whatever the cookie name is)', and then the other cookie info'');
  9. like index.php /errors/index.php and your redirecting from /errors/index.php or what ever? header ("Location: ../index.php"); exit ();
  10. Can you find any other machines anywhere to test this on, some of the people I work for think you just sit down type one or two things on the keyboard and your done. Also Do you style with the class="button validate signup_prev" and next? I know it can have spaces but try it without them, over time all browsers have issues. Can you combine the inline and external style? If it's on the internet and all your client has to do is sit down and look at it thats better, if you have to send it to them and they load it up then find the mistake thats a b. Also if its in their memory and you fix it and they don't reload or refresh it thats a b. I feel sorry for you especially if their machine is the only one it's messing up on. When I was doing the local chambers work it was hard to believe all the little things that people's machine would add to the style. From odd fonts amd font sizes to css drown down menus that didn't work right (should I say it? on AT&Ts IE) Good luck
  11. or <?php if (isset($_SESSION["user_name"]) { echo '<html> <head> <title>Set INFO</title> </head> <body> Here u can post more info :<br/><br/> <form action="add_pro.php" method="post"> Your Name : <input type="text" name="user_rname" value="" id="user_rname" /><br/><br/> country : <input type="text" name="user_country" value="" id="user_country" /><br/><br/> Name of Your blog : <input type="text" name="user_blog" value="" id="user_blog" /><br/><br/> <input value="Add info" type="submit" /><br/><br/> <a href="welcome.php">To go Back </a><br/><br/> </form> </body> </html>'; } else { redirect or what ever } ?>
  12. Yes and <?php if (isset($_SESSION["user_name"]) { ?> <html> <head> <title>Set INFO</title> </head> <body> Here u can post more info :<br/><br/> <form action="add_pro.php" method="post"> Your Name : <input type="text" name="user_rname" value="" id="user_rname" /><br/><br/> country : <input type="text" name="user_country" value="" id="user_country" /><br/><br/> 'Name of Your blog : <input type="text" name="user_blog" value="" id="user_blog" /><br/><br/> <input value="Add info" type="submit" /><br/><br/> <a href="welcome.php">To go Back </a><br/><br/> </form> </body> </html> <?php } else { redirect or what ever } ?>
  13. I'm kind of new to sessions myself but why session['password'] ? You just need the users password at the time of login You show that they have a profile and they are editing something, do they have an id#, is user_name unique? I'm writing from memory, this is basically how I would do it. if (id_profile == $_SESSION['id_profile']) { allow edit } else { kick them to the curb } you can get id_profile with a $_GET for the above or have a profile.php page and have if ($_SESSION['id_profile']) { $query = "SELECT this, that FROM table WHERE id_profile = $_SESSION['id_profile']"; Display all the their stuff here } else { redirect or something }
  14. God bless our moderators, each and everyone.
  15. Or have them join a group or become a member Also, the guys in the know may be able to help you limit it with htacess
  16. Basically right now I have category cat_id | category | item example 1 | boats | inshore members mem_id | name | address | pw ... and stuff photos photo_id | id_item | thumb(address in file) | photo(address) items id_tem | mem_id | cat_id | title | description | date Thanks for the look see
  17. Did you set username at login? Have you tried to echo $_SESSION['username']; to see if you have a session with that name?
  18. Thanks for the reply I really don't have a problem now. It's just that I was reading different books and online articles and was thinking I was wanting some opinions from people that had done this before. For example one book said don't repeat rows in columns, for example “Boats” in multiple rows like I have now, if you do make another table and another book hinted that arrays were the way to go Again thanks
  19. Whats the best way to make a database driven menu ? Right now I have a db that looks like id | boats | Inshore id | boats | Offshore id | boats | Bay Boats and so on I'm think of going to database 1 id-1 | boats database 2 id | 1 | inshore or would a multideminsional array work best. My goal is to have the short term format be Boats Inshore Offshore Bay Boats and in the long term a format whose style I can change later, I wanted to get ideas from people in the know and have done this before. Thanks in advance
  20. Also check out the css on your "a" tag and you have a logo image that's width="960" height="500" ?
  21. Have you ever tried firefoxes fire bug? It's a "BIG" time saver and a blessing and it will tell you what css is effecting a tag and/or what css a tag is inheriting things from. But try #idea_container img { margin:0; padding:0; } But once again, I can't cheer loud enough for firebug.
  22. What kind of margins and padding do you have in your css for your images?
  23. Did you do this? I write mine $r = mysqli_query($dbc, $q) or die("Error: ".mysqli_error($dbc));
  24. http://onlinebusiness.about.com/od/searchengineoptimization/a/search-ranking.htm If you could get music stores, restaurants, news papers, the local chamber anyone with an entertainment or like section to link to your site first as “Manchester band”(or whatever people are most likely to use in their search) or even the name of your band that would be good. The bigger the site linking to yours the better. Have good content, a decent title and description and then seek links, you may have to beat the bushes looking for people to link to you but it is a form of marketing.
×
×
  • 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.