Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by elck

  1. elck

    SQLite database table is locked error

    Thanks both of you.'ll try this tomorrow. The recordset is rather largish, this why I opted for unbuffered, but if this solves my problem, I think I can handle the extra data, or maybe limit it in an other way, Thanks again, I'll let you know if it worked.
  2. elck

    Parse error - unexpected T_STRING

    Classes in php4 are not at all implemented the same way as in php 5! From the documentation: In PHP 4, only constant initializers for var variables are allowed. To initialize variables with non-constant values, you need an initialization function which is called automatically when an object is...
  3. elck

    Display just selected value in listbox???

    After you submitted the form of which this <select> is part, the array preferred_locations[] will only contain the selected items. Or am I missing the point of your question? Elck
  4. elck

    SQLite database table is locked error

    SQLite "database table is locked" error 1. Is there a better place to ask this question? 2. If not: I read that reading and writing in a sqlite table cannot be done 'at the same time' and that is why I get this error. My code goes something like this: $query="SELECT * FROM (bestanden) WHERE...
  5. elck

    link with &amp; in xml rss

    Thanks, that works just fine.
  6. elck

    Need to pass variable to a mySql query

    Suppose your variable is called mygetvar, you could create a query thus: $myvar=$_GET['mygetvar']; $query="SELECT * FROM table WHERE field='$myvar' ";
  7. elck

    link with &amp; in xml rss

    So, no one knows???
  8. elck

    link with &amp; in xml rss

    Unless i am not looking at the right place, the problem with your solution is that &amp; is a character, not a separator as intended. When clicked, the url should remain http://www.kralingen.nl/index.php?rub=12&pag=114 Not become http://www.kralingen.nl/index.php?rub=12&amp;pag=114 Which, in...
  9. elck

    link with &amp; in xml rss

    Hi there, sorry if this question has been asked before, but I cannot find an answer. I am writing a newsfeed for RSS and the <link></link> tag needs to contain a url like: http://www.kralingen.nl/index.php?rub=12&pag=114 Some readers do not accept the &, how do I code this, please?
  10. elck

    preg-replace and whole words

    or at the end of the paragraph. Is this too complex?
  11. elck

    php &amp; html error

    It seems like me to be an Javascript error, and there is no Javascript, so my guess would be: spyware ??
  12. elck

    preg-replace and whole words

    Hi Folks, To find whole words I have got this working: $pattern[]="/\\b(" . trim($a) . ")\\b/i"; Instead of \\b I also tried \\w and \\W This nicely captures whole words as expected, but: I would like to avoid for example word in <word and word= because they could be tags or attributes. I...
  13. elck

    preg_replace #contentM:x#

    Mh, yeah this gets close. I think I can figure it out now, Thanks!
  14. elck

    preg_replace #contentM:x#

    Hi There I am looking to replace ... #contentX:x# ... with ... Somethingorother firstarg=$1 secondarg=$2 ... where X and x are single characters, where, in the example, S1='X' and $2='x' preg_replace is the best solution, but I cannot fin the right searchargument. I know my explanation is...
  15. elck

    Order by substring?

    Thanks

Part and Inventory Search

Back
Top