PHP Help (please)

  • Thread starter Thread starter Acid X
  • 1 comments
  • 298 views
Messages
6,668
United States
California
Messages
Axidwulv
Ok, if you know anything about php, i would greatly appreciate you writing a piece of code for me! Thanks in advance...

---------------

I want it to:
1. Read in stuff from a row in a mysql table and set it as $var

2. Set variables for each column (ex (column name, [set to] variable): title, $title - content, $content - name, $name)

2. Check if "{string}" exists in $content (from data read in from table)

3. If "{string}" exists, read in all data from another mysql db table (sorted: descending by racerpoints column) (db name: season1 & table name: racerinfo)

4. Replace "{string}" with all the data from the racerinfo table, and replace "{string}" with the data read in from it (each row, in this format: <tr><td>racername(column) racercar(column) racerpoins(column)</td></tr>)

5. Print it out for the user to see

----------------

I hope you get what i am trying to do!!! I do.. ;)
 
Originally posted by gt2_gs
Ok, if you know anything about php, i would greatly appreciate you writing a piece of code for me! Thanks in advance...

[snip]

I hope you get what i am trying to do!!! I do.. ;)

Heh heh! Good luck coders! I had a go at this, and couldn't get it to work!
 
Back