Jump to content

funstein

Members
  • Posts

    33
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

funstein's Achievements

Member

Member (2/5)

0

Reputation

  1. I have got to say, I understand nothing. Can you help a little more?
  2. I haven't actually found out anything but the fact that "." doesnt work. I am an alien to this, tbh.
  3. Hello everyone, I am looking for a regex that will return any data that is enclosed with quote marks ("). So, when given this string : "String1" "String2" It should return an array that is 1 -> String1 and 2-> String2 Thanks..
  4. Oh, I really am sorry My browser didn't display the iframe scroll bar Thanks for everything!
  5. I'm getting an HTML input from Google Spreadsheets Visualizations. It's a pretty simple one actually. I get the data using file_get_contents().
  6. OK, I see. But can you point out how I can import the HTML and get an array of <tr> tags? Thanks
  7. I seriously sound like a n00b here xyph, but what I meant by it doesn't work was actually it returns associative arrays. I have no idea about why that is happening, all I know is that it should be returning an array that has the first match as $array[0] and the second one as $array[1] and it doesn't. And silkfire, what does that do, and how do I run a regex on that?
  8. I tried, for some reason it wont work and it says Warning: preg_match_all() [function.preg-match-all]: Unknown modifier '<' in C:\blabla\test.php on line 7 And not all <tr> tags are on new lines. Can you please send me another working one?
  9. I have <tr> tags that contain extra attributes, like <tr style=blabla>, and </tr> tags. I want to make PHP grab the data in between. Please check the example. The Data : <tr style="font-weight: bold; background-color: #aaa;"> <td>School</td><td>Position</td><td>Name</td><td>Surname</td><td>Delegation</td><td>Commitee</td> </tr> <tr style="font-weight: bold; background-color: #aaa;"> <td>School1</td><td>Position1</td><td>Name1</td><td>Surname1</td><td>Delegation1</td><td>Commitee1</td> </tr> It should return me with these : $array[0] will be <td>School</td><td>Position</td><td>Name</td><td>Surname</td><td>Delegation</td><td>Commitee</td> $array[1] will be <td>School1</td><td>Position1</td><td>Name1</td><td>Surname1</td><td>Delegation1</td><td>Commitee1</td>
  10. the thing is, it gets a 404 error from your host. Which means you typed one of the redirections or the form actions wrong.
  11. strtotime("next Thursday"); That should do it.
×
×
  • 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.