
Originally Posted by
igotregistered
I'm not sure what you mean by what part of bob_smith do I want to use? I'm sorry I'm not familiar with writing scripts, I'm only familiar with designing sites.
I was referring to your script where the error was encountered:

Originally Posted by
igotregistered
Code:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/content/x/o/v/owner/html/bob_smith.php(47) : eval()'d code on line 21
As far as what you want to build, I understand your goal. What we would need to know is how everything is currently arranged, and what info we need to have in order to accomplish your goal.
For example, if all of the info is stored together in one field in the database, there is very little hope for being able to use/search it. It's simply not useful stored like this:
Code:
table
| Title |
+--------------------------------------------------------------+
| Bob Smith vs John Doe May 2, 2001 Sports team vs Sports team |
It would need to be stored in an organized way, more like:
Code:
table
| player1 | player2 | team1 | team2 | date |
+-----------+----------+---------+-----------+------------+
| Bob Smith | John Doe | My Team | Your Team | 2001-05-01 |
There are a lot of other things to consider - it's not impossibly complex, but there are many things involved. You need to do a lot of planning so you know how everything will work together. If, as you said above, you're not very familiar with programming, you would definitely need to learn before you attempted something like this.
Bookmarks