| 
View
 

Midterm Workshop Questions

Page history last edited by PBworks 17 years, 11 months ago

Confused about PHP + MySQL? Post any questions you're having about the code samples in class and we'll go through them one by one next week at class.

 

  • Can you show us how to create database tables and put data into them?
  • Show the best way to debug the popper and logic parts.
  • Can we walk through the code that let's me send multiple messages to people?
  • I'm having a hard time splitting up my parsed data into fields like (ingredient1, amount1 , ingredient2, amount2, etc.) It would be easy if each drink had the same amount of ingredients. Right now I have it outputting an array that looks like: drinkArrayOrange Juice@1 oz drinkArray[vodka@1 oz.] etc...

I wanna split the strings in each array element around the "@" to help me populate my database. Help. Is this even the best way to do this?

On a related note, how can i do that same thing, based on two such special characters?

(I want users to send in "+item @listname" and my logic to find the word that follows each symbol and store them in the database. Can this be done in a way where it wouldn't matter what order you put those in? (the @ and the +)

 

  • How does the webpage connect to the database and send information to the phone?
  • What part of the code do you add small math equations to (aka when the database info says this, do this?)
  • How do you set up a database for multiple users with different username/ passwords?

 

How can you set up a structure so users can subscribe & unsubscribe?

How do I turn a field selected from the database into a string variable that I can manipulate with php?

Comments (0)

You don't have permission to comment on this page.