Jump to content

nicse4

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

nicse4's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. the attached file has only the part I need info from. if you want all of the source the link is: http://pokemondb.net/pokedex/all 18462_.php
  2. can't get it as an xml, but can probably save it as tr's and td's in an xml. probably. I will see. And what do you mean? like right from pokemondb or as i have it now?
  3. I got the source from Pokemondb.net, and my issue is Dreamweaver wont format it into the way I want it to, else there wouldn't be a problem, I need help making a PHP regex to get the data out of the table and into a database.
  4. @kays: there are 649 pokemon currently @Barry: Thats where the issue arrises. I want to put it all into a database, but I don't have the time to manually type each row into an SQL, and I can't get dreamweaver to format it correctly, otherwise this would be done already. My question is is how do I get php to sort out the data, then put it into the database. Thanks if you can help me with this.
  5. sorry about the double post. no edit button on top post. forgot to mention I only need the info that is not striked out bellow. <tr> <td class="numeric"><span class="pki" rel="pkiAll n166"></span>166</td> <td class="name"><a href="http://pokemondb.net/pokedex/ledian" title="View pokedex for #166 Ledian">Ledian</a></td> <td class="cell-type"><a class="type bug" href="http://pokemondb.net/type/bug">Bug</a><br> <a class="type flying" href="http://pokemondb.net/type/flying">Flying</a></td> <td>55</td> <td>35</td> <td>50</td> <td>55</td> <td>110</td> <td>85</td> <td class="total">390</td> </tr>
  6. Can someone help me with this? I have a table containing 649 rows like the following: <tr> <td class="numeric"><span class="pki" rel="pkiAll n166"></span> 166</td> <td class="name"><a href="http://pokemondb.net/pokedex/ledian" title="View pokedex for #166 Ledian">Ledian</a></td> <td class="cell-type"><a class="type bug" href="http://pokemondb.net/type/bug">Bug</a><br> <a class="type flying" href="http://pokemondb.net/type/flying">Flying</a></td> <td>55</td> <td>35</td> <td>50</td> <td>55</td> <td>110</td> <td>85</td> <td class="total">390</td> </tr> I want to make that into an array as follows: $blah[166] = "Ledian"; $blah2[166] = 1; etc for all 649 rows. can someone tell me how to do this with a regex or some other way? Thanks a lot.
×
×
  • 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.