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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: bastienk
  • Order by date
  1. bastienk

    display CODE! from a mysql database on the page

    use regex or string_replace() to replace certain characters with something else ie $divcode = "<div id='mydiv'>"; $html .= str_replace("....",$divcode,$myhtmlinput); Bastien Cat, the other other white meat
  2. bastienk

    newbie install question

    http://ca.php.net/manual/en/install.xitami.php Bastien Cat, the other other white meat
  3. bastienk

    Paging 10 records per page

    sleipnir214 There are two solutions for paging with SQL Server 1. Use a stored procedure as indicated in the first post 2. Use the identity column as shown in the second post. While most PHPers use MySQL which currently (in production modes) support SPs and therefore [perhaps] don't know...
  4. bastienk

    Paging 10 records per page

    ...during execution and by using the id column in the where clause you should be able to implement some paging simply.... $sql = "select top 50 from table where identity_column > $offset where the $offset is a calculation of the page number * 50... Bastien Cat, the other other white meat
  5. bastienk

    Paging 10 records per page

    ...= NULL, @blnGetRecordCount bit = 0, @strFilter varchar(8000) = NULL, @strSort varchar(8000) = NULL, @strGroup varchar(8000) = NULL) /* Executes a SELECT statement that the parameters define,and returns a particular page of data (or all rows) efficiently. */ AS DECLARE...
  6. bastienk

    simple php server and client

    http://www.phpfreaks.com/tutorials/50/0.php Bastien Cat, the other other white meat
  7. bastienk

    Table Ident Results

    Nah...its simple if you use tables old_value = "" while not rs.oef response.write "<tr>" if old_value <> rs("name") then response.write "<td>" & rs("name") & "</td>" else response.write "<td>&nbsp;</td>" end if .... Bastien Cat, the other other white meat
  8. bastienk

    Passing form values with images

    was looking your code....can you see the problem? document.form1.submit.value=btn; document.form1.submit(); } </script> <FORM ACTION="VTmain.asp?Option=LogIn" NAME="form1" METHOD="post" ONSUBMIT="return ValidForm();"> <input type=hidden name=submit1 value=""> Hint: the hidden field and...
  9. bastienk

    Keyword searching accross multiple tables

    have you tried SELECT bulletinboard.*,bulletinreplys.reply FROM bulletinboard LEFT OUTER JOIN bulletinreplys ON bulletinboard.id=threadid WHERE (subject LIKE '%hello%' OR message LIKE '%hello%' OR reply LIKE '%hello%') OR (subject LIKE '%forumum%' OR message LIKE '%forumum%' OR reply LIKE...
  10. bastienk

    Passing form values with images

    Add a value attribute to the image code <TD><input type="image" NAME="submit1" SRC="images/vsi-rep.gif" onclick="doSubmit('OSR')" value="r"></TD> <TD><input type="image" NAME="submit1" SRC="images/media.gif" onclick="doSubmit('Media')" value="m"></TD> <TD><input type="image" NAME="submit1"...
  11. bastienk

    utility to transfer data from SQL Server into Oracle

    Oracle Work Bench Bastien Cat, the other other white meat
  12. bastienk

    Identify the problem

    Should we or shouldn't we? Bastien Cat, the other other white meat
  13. bastienk

    Problem with array

    Some recordset.count return -1 as the number of records. It depends on the type of cursor being used Dim myArray() leaves the size blank....otherwise you set it to 0 Bastien Cat, the other other white meat
  14. bastienk

    replacing prices on a text

    yes Regex looks for patterns Bastien Cat, the other other white meat
  15. bastienk

    Identify the problem

    You are an instructor and can't see it? Bastien Cat, the other other white meat
  16. bastienk

    replacing prices on a text

    use regex to replace the values... ex...google the net to find more examples Dim regEx, str1 ' Create variables. str1 = "The quick brown fox jumped over the lazy dog." Set regEx = New RegExp ' Create regular expression. regEx.Pattern = patrn ' Set...
  17. bastienk

    replacing prices on a text

    You store the price attribute separately or is it a text element containing the full string? Bastien Cat, the other other white meat
  18. bastienk

    Sorting by ADO field values

    well, if you know the order of the record's fields comes back, you can display them in what ever order you want... Bastien Cat, the other other white meat
  19. bastienk

    replacing prices on a text

    I am assuming that you are referencing the db value when writing the statement. Is there some criteria for a time when the prices are not to be displayed or is it for everyone? Bastien Cat, the other other white meat
  20. bastienk

    Unable to pass query string to form

    if its coming from a hyperlink, use request.querystring("varName") to access the value from the link then simply response.write it into the form <input type="text" name="fname" value="<%=request.querystring("varName")%>"> Bastien Cat, the other other white meat

Part and Inventory Search

Back
Top