Jump to content

KyZu

Members
  • Posts

    13
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

KyZu's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Basically I need something that simply holds emails and sends emails, that is easy to work with....think something like Groupon, where you go to their site and enter your email, then you receive certain emails when they decide to send them. I've heard of Sendgrid and Mailchimp...and I've been told that places like Groupon use ExactTarget. Do any of these sound familiar? Which would you use?
  2. I've just learned the basics of MySQL last night and made a simple app (where a user enters a song name, song title, and rating (out of 5) and it displays the list of songs with the highest rated songs first). So I decided I wanted to make something similar yet slightly more complicated and I'm not sure if I'm on the right track. Basically it's a "flash card" game where: - The user gets to input their own questions and answers into a simple form, which would then go into an MySQL table with 2 columns, questions and answers - A new page where the user see's random question, must input an answer, if the answer matches goes to next question otherwise gives error Now I'm confused as to how to go about making this. I was thinking of making some session variables and then do something along the lines of $display_query = "SELECT * FROM questions"; $display = mysqli_query($connection, $display_query); while ($row = mysqli_fetch_array($display)) { $_SESSION['question'] = $row[0]; }[/syntax] //and then make some PHP that might do something like this: if ($_SESSION['answer'] != $row[1]) { echo "error, try again" } else { // I would write something here to grab the next question } So am I just completely off the wall with this, how would I make such an app? How would I make it, for example, fetch new questions?
  3. I'm just trying to incorporate some of what I've learned into practice and I can't believe I'm having problems with this but I really want to figure it out. I'm trying to create a simple program where a user enters the name of a song, and gives it a rating (out of 5), and it displays the output first by song rating then (if the ratings are the same) displays it by the name of the song alphabetically. The idea in practice would work like this...user enters: I just keep undoing things and clearly I'm not getting it. I had many ideas making it so I'll show you what I wrote (which isn't much): http://pastebin.com/2AGqgxQd It looks terrible I know, I was just trying to find out how to put things from the form INTO an array and trying to output the array as I described above. If I could figure out how to use these session arrays to hold the entries from the post, then I'd be able to sort them properly, I'm just lost right now because everything I've read online and tried wasn't fixing the problem. Thank you so much for the help!
  4. haha sorry guys, I'm not trying to scam anybody, I just found it interesting and was trying to see what's possible (it's my 2nd week learning). It was just a random example, the site is basically a magic trick. So if you're at school and you tell someone to think of a card, and they say seven of hearts, you'd simply type "/7h/ is Zanus thinking of?" into what appears to be Google but actually displays the card they're thinking of. Anyways thanks for the help guys
  5. There's this really old website called http://ipolygraph.com/google/ Basically it mimics the Google homepage (as you can see it's been a while since they've updated) but the idea is really simple but clever. If you go to the search box and type cars (or whatever) and click search, it searches Google for "cars". However if you type something like /php manual/ you'll notice it changes what you're searching to "What is...etc etc". The idea is say you tell your friend you're on Google and you ask them to think of a card, if you type /4c/ is bob thinking of? it'll look as if you're typing "What is Bob thinking of?", when you hit search it'll be the 4 of clubs. Is there any way to make something similar to this? The idea came to me after I learned about the file_get_contents command in PHP.
  6. So I was watching some random interviews and I ran into this one: http://mixergy.com/christian-owens-interview/ During the interview the Chris Owens guy said: He mentioned this was all done in PHP, could someone tell me what area of PHP this covers and how I could learn to do something similar (and how difficult it would be)? I think it'd be great practice for things related to databases, I just want to know and understand the use of the instant payment notification API and how difference licenses were drawn for each customer even though they're purchasing the same product.
  7. I ended up making a few changes, such as putting $_SESSION['left'] into a conditional statement. - I have to make two correct guesses in order for the "You have " . $_SESSION['left'] . " colors left to guess" to start subtracting, why does it do this? - Also, how do I prevent it from registering the same answer twice, like red/red/red/red/red/red/blue ?
  8. Sorry for my noob question, I've learned about sessions a bit and tried to make a simple "game", basically a user has to enter one of the colors of the rainbow and after they name all 7, they win. Sounds simple enough, but I'm clearly making an obvious mistake and I've googled and read and experimented, but obviously something is alluding me. Here is the pastebin: http://pastebin.com/XmN4YLp8 I suppose what I want to know is...how do I store the values from the form (that is, $_POST['color']) and save that information to something like an array, because whatever I'm doing now is resetting the counter ($_SESSION['left']) and if a user guesses "red" for instance, it temporarily goes from 7 to 6, but then bumps up to 7?
  9. So I started learning PHP a few days ago and I sort of dived right in trying to make things, this was my first program (a simple BMI calculator) http://pastebin.com/SHfA4pt5 Okay but now I wanted to make hangman, and I'm just...so lost, like, I don't even know how to go about it. Here is the code I have so far (some of it commented out because it was just "ideas" I had). Here is what I have so far: http://pastebin.com/FyQPmR8U So can somebody give me some direction? Is there anything I wrote that is REALLY dumb and unnecessary? Basically I'm trying to find a way to: - log the guesses (how can I do this if I don't have an array, or nothing to put the values in...do I need to duplicate anything?) - check to see if a guess has already been made - replace the underscores with the letter corresponding to that position. and hell I don't even know what else, just trying to get it to work
  10. So I just started learning PHP a few days ago and I think I'm understanding it, I know what things do and why they're suppose to do it, except most of the time I feel like I'm just looking and typing code...the author is simply saying "When you do this, that happens, and when you change that, this happens" -- It's nice to understand the theory behind it, but I'd like to PRACTICE, I'd like to make some mistakes and learn from them. I know a lot of people will say "Just try to make something!" but I feel overwhelmed with information, I don't know where to 'start' in order to make something simple. So does anyone know of a good book/website/etc that gives you exercises that slowly increase in difficulty?
  11. Thanks for your replies guys. GuiltyGear I'm almost 99% sure it does use PHP simply because I heard many sites like this using PHP and a "paypal instant payment notification API" - not sure if that makes sense (again I don't know PHP). Also the apps are not activating with just 1 license since many of these apps come from various vendors. Regarding this "mod-rewrite in Apache", not exactly sure what that does but if I hired someone skilled in PHP to design it, would I be able to manage it (I know enough programming and web design)
  12. Here's a random example: macbundlebox.com/the-spring-bundle/ (I purposely excluded the http://www. so people won't think this is spam) Notice how there are 11 apps listed? So suppose someone buys the package, I'm assuming they get emailed a unique license/activation code to activate that particular software? Or they get a link to download the software? Or they email each customer a unique username/password to download that software. I am not a PHP guru but I am almost certain that this is done in php and works in one of 3 ways: - Either the app developers give a giant list of licenses that are assigned by the webmaster per purchase - A URL is pinged after each purchase which sends a license back and is directly emailed to the customer - A URL is pinged and the app developers send the license to the customer So my question is...seeing as how most of you are very knowledgeable in PHP, is there any client management/billing software that you know of that could accomplish the above, and be easily managed by a non-PHP guru (perhaps even be integrated into a CMS like Wordpress?)? If not, how much would it cost (give or take) to have it built?
×
×
  • 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.