Jump to content
Larry Ullman's Book Forums

tuxandpucks

Members
  • Content Count

    17
  • Joined

  • Last visited

Community Reputation

0 Neutral

About tuxandpucks

  • Rank
    Newbie
  1. Thank you for taking the time to correct me. I will give this a try tonight. Randy
  2. Thanks for the help. I tried your suggestion and without success. Also, now I end up with my ide telling me I have an error. I have attached a picture to show what I mean.
  3. Hey everyone, I am in need of that high quality help I receive when visiting this website. In short, I have a php script that is supposed to automatically submit data to a MySQL database but the data doesn't seem to make it to the database. I am not good at debugging and I am not getting any errors on the pages when I submit an entry. Basically I have this code which takes in the information and as you know/can tell it calls on another php script to do the auto submit to the database. Here is this code: </head> <?php include('../templates/bodyandlogo.htm'); ?> <
  4. So maybe my table should have each of the letters of the alphabet added as a subset to the Poems field? Right now I have id, title, poem, category Would it be better to organize more by adding all letters A-Z as a subset of "Title"? Thanks for the help.
  5. New thought about your tip: So I should just have one link on my website like, "browse poems" rather than each individual letter? And then the "browse poems" link would lead to another page with all the possible poem titles?
  6. Tip will be used. Thanks. Question about the MySQL setup. I click the "insert" tab on phpmyadmin to insert the poems, correct? I did this and it looks obvious as to that is what it is for, but i want to be sure. thank you, randy
  7. Thanks for the input. If you are curious, the web page I am working on for this, is: http://www.poemscribe.com/pages/samplepoems.htm I guess my next step for design is to decide how I am going to make it so that when a visitor presses one of the buttons, a list of poems comes up. I haven't decided how I want to go about this. Randy
  8. Here is a mockup of my layout. I am not sure if it will help you, but you have helped a lot and I don't mind doing a little to make progress:
  9. Yes, the letters are only for sorting/alphabetizing the poems. If it is better to see a wireframe/mockup of my plan I can certainly post it. Thanks again. I will give this a try (what you posted).
  10. Excellent. Thank you. I will give your advice a go and see what happens. Thanks again to all for the hand-to-hand guiding to get me started.
  11. I really, truly appreciate the direct coaching you folks are giving me. Here is what phpmyadmin printed, when I selected "Print". poems Field Type Null Default Comments id int(11) No title varchar(255) No category_id int(3) No Indexes: Keyname Type Unique Packed Field Cardinality Collation Null Comment PRIMARY BTREE Yes No id 0 A and this snippet was also showing after I created the db: CREATE TABLE `tuxandp1_poems`.`poems` ( `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , `title` VARCHAR( 255 ) NOT NULL , `category_id` INT( 3 ) NOT NULL ) ENGI
  12. Yes, I would need that help to generate the code. I will, in the meantime, see what I can do with creating a database with my web hosting providers tools. Thank you, Randy
  13. Wow, thanks for the help! I think the only content I would want to submit, since I write all the poems, would be: Title, Category. At the moment I can't think of any other columns for the table. Thanks again, Randy
  14. I actually would love to use Mysql and my hosting provider has phpmyadmin already for me to use......i simply have never used Mysql and although i looked into it even using larry's php book i jist struggled woth it. If u could provide an example of how to enter my data i would certainly be willing to try agaon. O want to have my database table callwd poems, then letters a to z and just list my poems under each letter. Thank you for the help. Randy
  15. Hey everyone, I am attempting to create an array with my various poem titles that visitors to my website will be able to click on the poem title and read it. My question is, how do I add the actual poem to this array (this is a short example of my code)? So far I created the overall array for all the letters to sort with, A, B, C, etc., and the titles of each poem. Do I somehow add a link to the title to make that happen and have the link simply point to another html page? I'm starting to think that an actual poem with many lines doesn't fit into an array. Not sure what to do.
×
×
  • Create New...