Search results

  1. learning_brain

    img src preg_match_all regex problem

    I have searched around everywhere for the right way of doing this..... I have an image search engine and as part of it, I have a page that can extract and store img sources. The problem is that the regex I'm using is not always reliable. 1) issues with relative paths (doesn't inlcude complete...
  2. learning_brain

    ereg_replace and explode problem

    @as4s1n. Thanks for this. The trouble is if you trim the result, it wouldn't have nay spaces to explode the result. @descalzo. Love the strtolower idea and built that in. I've also removed the random stripslashes and altered the if{}else{} weird construct. Unfortunately, the...
  3. learning_brain

    ereg_replace and explode problem

    I am tying to analyse a string in a number of way for my new adaptive learning language program at www.brain.x10hosting.com. One part is to determine which words in the string are common, and thus remove them. This test pages is at www.brain.x10hosting.com/test.php The php below goes with a...
  4. learning_brain

    Splitting a string and sql insert as array?

    Thanks. This is perfect. After looking through the Serialize details, I have also been able to add multi-dimensional arrays, which I think I'm going to need. My only issue now is to add post data to each part of the 1st layer array.... Figuring that out now.
  5. learning_brain

    Splitting a string and sql insert as array?

    Splitting a string, based on " " is fairly simple, but how do I store it to a longtext field as an array? I need to store a) the string part and b) the order within that string. I also then need to be able to call any part of that array from the DB. Any ideas?
  6. learning_brain

    Programmers Needed for new Virtual Brain Project

    Hi all. Hope this is the right area for this. I am starting a new project, recreating the human brain (in very simple terms). I have already developed the initial concept, but welcome feedback in its development process. It will be driven by php with MySQL back end and perhaps some JS and...
Top