Jump to content

.josh

Staff Alumni
  • Posts

    14,780
  • Joined

  • Last visited

  • Days Won

    43

Everything posted by .josh

  1. Where are your arrays coming from? Is there some kind of guarantee that each array will have the same number of values in them? Personally, I would look into making a multi-dimensional array.
  2. No it's not. It links directly to his profile > paid subscriptions. It doesn't work for you because you don't have access to his personal paid subscriptions.
  3. Yeah $string is just example of what you showed. It doesn't matter what the price is. Code explodes at the semicolons and grabs the last value in the exploded array, so assuming that the actual format of the string stays the same (semicolon followed by value), you should get what you need.
  4. $string = "BASE;Price-$231;231.00"; $temp = explode(";",$string); $val = end($temp); edit: No payment necessary, but if you insist....become a subscriber, get some bling!
  5. People who work for themselves, by themselves, can sometimes get away with that. But that doesn't really work out when there are several people working on the same project. The whole point of putting things down on paper is not just to work something out design/logic-wise, but to overcome the fact that not everybody is psychic.
  6. .josh

    halloween

    I don't feel that I need to explain my art to you, Warren.
  7. I just noticed that it even increments when you go to the next page of the tutorial/article/whatever. I know it's possible for people to follow some link to a specific page of something, so that should count as a view, but I think having it increment on every page view like that is misleading, artificially bloating the numbers, etc.. (I'm sure this was not intentional, of course). So I was thinking, maybe you could throw the IP address in a session var and check if it's there and the same from page to page, and not increment it if it is? Or alternatively, throw a GET var onto your pagination to check if the person accessed the page from one of the other pagination links. If they did, don't increment the counter.
  8. You aren't really going to find a tutorial that explains how to make the navbar exactly as you want it, as that's a matter of style more than anything, and not really related to pagination principles, anymore than say, making the columns sortable. It all comes down to a loop from 1 to total rows, and throwing in conditions to make it display how you want it to display. Basic Pagination It makes the pagination bar look like this: << < 5 6 7 [8] 9 10 11 > >> the < > are prev/next and the << >> are first/last. All you really have to change is having it echo "...." and 1/$numrows instead of arrows.
  9. I think flowcharts have sort of evolved into models. But anyways, if I were to give an answer based on the posts on this board, I'd say most people have an idea, maybe even scribble something down on paper, and then jump right into the coding....and then start asking questions about why something isn't working logic-wise or why can't they wrap their head around something else or why can't they get A to work with B or...the list goes on and on.
  10. Do atheist middle-easterns/arabs even exist?
  11. .josh

    halloween

    Yay check out my crappy pumpkin I carved last night! [attachment deleted by admin]
  12. Well, most of us just watched the webcast. A few of us happened to be in the area though.
  13. Hey now, he could have been really nice, but thought the computers were evil. Maybe they were sentient and wanted to take over the world and already infected him with some kind of new biosoftware virus so he decided to take them down with him, thus saving the world. Cuz you know, he's really nice like that. R.I.P.
  14. Well since you guys obviously haven't gotten your secret decoder rings in the mail yet.... Abet Imar Maakin Tisupp I bet I'm Making This up And while Kabul (with one 'l') is indeed a city in Afghanistan, Shitalabad is not (there is, however, a Jalalabad). So this too, is obviously KaBULL SHITalabad.
  15. That's because in sql you use = not == for comparison. And also, dude, you said you only wanted those 3 pages but in your script you have even more! If you are wanting to return all index.php?page=xxxx's at the very least, it would be better to have one LIKE that does this: 'http://www.runningprofiles.com/members/index.php?page=%'
  16. It depends on what your system is/does. Hooks can be any number of things. It can be a list of variables that someone can use to get stats for other places or mix and match them for their own features (like, users online, total users, etc...). It can be for instance, available functions that will allow you to add a new option to a list. Allowing certain variables to be changed (aesthetically or whatever). In short, it's more or less like turning your system into a CMS. But again, it really depends on what your system is/does, as to what's the best way of approaching that. I believe this is where object oriented programming really shines; you get to abstract certain things away and create interfaces and stuff for other things to "plugin" to them.
  17. We know very little about his family. However, I personally talked to him over skype on several occasions. His name was Abet Imar Maakin Tisupp (there's squiggly lines on some of those letters but my keyboard doesn't do that sort of thing). He came to America from a small village between Kabull and Shitalabad, Afghanistan, shortly after that whole "liberation" from Tali ban incident, circa 9/11. He never really talked about his family, but he did have a tone of sadness in his voice when mentioning his home country, as if his village no longer exists, or something. IDK, I didn't really try to push him on the subject; not really my business. He did have a habit of randomly shouting in whatever Arabic dialog he natively spoke. If I didn't know any better, I'd say he had some sort of tourette syndrome. But it was always accompanied by loud banging noises like he was kicking things or something, so I dunno... coulda just been frustrated with his job or his lot in life or something.
  18. google ajax dropdown menus.
  19. That indentation is okay. There are different "styles" people like to do. I was referring to you putting all your code on one line.
  20. aside from your horrible habit of not indenting, your code should have worked fine, which means your form is not sending the value to your script. Post your form.
  21. google captcha tutorials it's the same principle
  22. Okay well then it's because you forgot the .com on the other two.
  23. go down to database section click on remote mysql and fill in the blank
×
×
  • 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.