Jump to content

koolaidman52

Members
  • Posts

    53
  • Joined

  • Last visited

    Never

Everything posted by koolaidman52

  1. sorry, basically, I'm storing a page in a DB and everything that I want is entered into a text area on a form... including php code (nevermind how I get it back out, this happens upon submission of the form) so I have a page entry which reads from a feed, some of the stuff in the feed has character "’", this displays as "’" when the stuff is outputted, in the feed it's ’ my question is how do I keep the following line exactly how it is when my form is submitted, php or mysql or something converts the ’ to "’" $title = str_replace("&#8217",''', $title);
  2. Hi, I need to keep special characters like & in the long form (not &) in a form I'm using. I tried escaping it and putting it in single quotes, neither worked. I'm guessing its a browser thing, anybody know of a workaround for this? thanks
  3. aha, hadn't even thought of that works great, thanks
  4. well i'm getting the uri of the file which turs out to be "/knights%20basketball/varsity/footer.php" in my example. i want that cut down to "varsity"
  5. I'm helping a freidn out with a website for our school basketball team and we recently ran into a problem. I rushed in thinking that with my superior knowledge of all things php I would be able to solve any complex error he may have, but I can't figure out the proper way to use preg_replace() in this situaition (or if I need to use it at all). [code] $blah = $_SERVER['REQUEST_URI']; // $blah is /knights%20basketball/varsity/footer.php $blah = str_replace("/footer.php", "", $blah); // $blah is now /knights%20basketball/varsity //the following line of code is the problem i can't figure out what to put as the first argument. $blah = preg_replace('', '$1', $blah); // the /knight%20basketball/ changes so I can't just have it search and remove that. // $blah should now just be varsity // but it isn't echo $blah; [/code] please dont direct me to the php manual that didn't help thanks for the help
  6. It probably highly guarded, from what i remember about the game the developers took safety very seriously. they wouldn't let the game code go for any cost...
  7. http://btcartoons.com/rt/6.png http://btcartoons.com/rt/7.png http://btcartoons.com/rt/8.png
  8. ...I'm not trying to start a fight
  9. This was something I did in a very short amount of time (talking like 15 minutes). I wasn't expecting this to be posted here but go ahead and critique what you want because I am by no means an expert on Graphic design and I know it -- this was literally my frist time using the program to do this kind of work, usually I draw a layout then move ahead. [quote] I know that I could reproduce any one of those products in The GIMP, given 15 or 20 minutes, and I'm no graphic designer. [/quote] That's what I did, we're like twins :) :)
  10. I tend to avoid using a:visited in my elements on a page, but as time passes and I become stringer and stronger at coding I can't help but wonder if it's a good idea to use it. What's your take/suggestion?
  11. Upon first look I'm not a big fan. I think you are just trying too hard and missing the mark. My thoughts: As a webdesigner we all want to look like you are on the cutting edge, looking like you are trying to impress medievil kings is definitly no the cutting edge. I think you schould try and be less dependent on graphics for now. I've made several designs for friends and school stuff (that usually don't get published but are more for practice) where I just go for the basic layout, then I do as much programming as possible before adding images where absolutely neccessary. I think the key is going in having already made up your mind on the layout, changes can be made, but you're probably better off having at least something in mind.
  12. Think about waht you see on the net. Php freaks logo has <? in it; the name is very closely realted to the graphic. One of my favorite sites, lostpedia.com, has a book embellished with stuff from the show's mythology as their logo. For a freelance business man I think you would want something formal and professional looking, maybe a fedora hat or what about an open briefcase with "Freelance Businessman" printed on the back (maybe burnt into the leather). You won't have to fight over the logo if you take it slow and think it through before you go ahead and have someone else make them.
  13. looks good to me, the site has very nice and lite code too two suggestions: move the  body section up so the gap at the top is maybe 1/2 or 1/4 of what it is now, users are uses to starting at the top of the page, not at the middle/ also just one minor thing make the web site link in the "reach me" page actually a link. I don't want to have to copy and paste that into my adress bar. great site
  14. It seems kind of like you had good intentions but couldn't get valid code to work for you. I don't know if that makes any sense. for intance The middle Div should be that creamy coffee color the whole way down. having it sut of lake it look sort of wierd. the section headers also look a bit cheap., I'm not sure that using an eistig template any modifying it was a good idea in this case ~ I'd want to show off my skill on a personal site.
  15. It looks sort or bland, I'd kinda like to see some pictures of jewelry or pets on the front page and a cool looking logo would be nice. @the language thing: I'm not sure if English is your first language but there are definitely grammar issues. also: [quote] We welcome you to sign up for an account. The initial account is free, some of the activities in the site however cost money. We apologize for this inconvenience but something has to cover hosting. We hope that in the future if the site makes itself popular we can remove the fee off the site, and instead start charging companies to advertise on here instead.[/quote] I don't know if its a good idea to tell the user about the site needing to make money, that seems to tell me that "we're not really interested in the actual service, just the money we make off of it." I'm reading through some of your information and I'm getting REALLY bored. I'd like to see some of the sections cut down to 1 sentance if applicable. Like the Blue box on every page. [quote] 1 Month Free Trial going on right now. Anytime you sign up within the next month, you get 60 days free, to test drive your account. You HAVE to sign up within a month to get this deal, then things go back to normal. However if you have signed up within the month you get a full 60 days on a paid account.[/quote] that's it for now.
  16. 1) needs some rolover effect on your navigation 2) I'm not to sure about the news thing scrolling up like that 3) why do you have a set heihgt? why note make it dynamic and only as tall as the content 4) I have to side scrtoll on my 1024 x 768 resolution 5) the right navigation should just be move to the top IMO since it will never be very long you could use that extra space to widen the left div and the content area. 6) Why use flash for the newsletter sign up?
  17. this will sometimes work. make a path along the rounded edge and coose the color of the edges. Stroke the path with low to medium opacity so it blends in with any other colors in the background.
  18. first thing i have is to pad the nav a few pixals on the left, they are all shoved over and look bad during the roll over. other than that it look good for now.
  19. you actualy need it to be 780 wide or so, the scroll bar cuts about 20px off
  20. seems a bit wide, especially if the user is going to be in an 800 by 600 res, nothing else right now
  21. [quote author=AndyB link=topic=102636.msg408299#msg408299 date=1154543838] [quote author=steviewdr link=topic=102636.msg408288#msg408288 date=1154542850] In IE6 - your icons in the footer are seperated. The 508 is at the very bottom on its own. -steve [/quote] I know ... and I have no idea why it's like that.  Pretty simple and straightforward code in that footer - three consecutive images floated right. [/quote] I think that the more simple, the code the more trouble IE has rendering it.
  22. i like it, it's actually quite good visually, I spent a minute just running my mouse over the navigation. the only issue I see is that on you script pages the demonstartion and documentation links are beneath the navigation and it took me a minute to find them, maybe move the inks to the top right of the page or beneath the pictures of the scripts in action, i like your scripts though, especially captcha, and i actually might use the comments script for my cartoon pages.
  23. Can anybody tell me what my problem is with this? (error edtails below) . . .   if (strtoupper(trim($which)) =  'CITY')   { return $city;}       if (strtoupper(trim($which)) = 'STATE')   {  return $state;}       if (strtoupper(trim($which)) = 'BOTH')   {  return $citystate; } Fatal error: Can't use function return value in write context in C:\Program Files\Apache Group\Apache2\htdocs\functions.php on line 32 Line 32 is the first if code functioned fine without the ifs when I just return $city; Thanks
  24. Just a thought: the text size is HUGE in IE's default medium setting
×
×
  • 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.