Jump to content

koolaidman52

Members
  • Posts

    53
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

koolaidman52's Achievements

Member

Member (2/5)

0

Reputation

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