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: chineerat
  • Order by date
  1. chineerat

    creating new line as a delimiter

    excellent! thanks! where is the manual by the way?
  2. chineerat

    creating new line as a delimiter

    hello! i've been trying to create a string that starts "href" but delimited by a new line: eg: $link = strstr($fine, 'href') $string = substr($link, 0, strpos($link,$new_line)); i have tried defining $new_line as: $new_line = '\n'; $new_line = "\n"; $new_line =...
  3. chineerat

    searching a file line by line and appending strings

    in response to vacunita " To clarify, what exactly do you want to do? Pull out the strings between the <br> tags, and then put then all into a single string??? " yes, dat is exactly what i want to do. thanks! in response to jpadie, $pattern = '/<br>(.*?)</br>/i'; is giving the error...
  4. chineerat

    searching a file line by line and appending strings

    hi!i have a "foreach" loop which i am using to go thur a html file, line by line eg. $content= file("html_file.html"); $lines = $content; foreach ($lines as $line){ } however, i would like to check each line for a string for example "<br>" and the exit condition is when "/br>" is present...
  5. chineerat

    creating a web spider in PHP

    i am new to PHP, i am curious, is there a way to create a web spider in PHP for the purpose of a search engine. If there is: what are the concepts of its operation? thanks in advance.
  6. chineerat

    searching a html page for a font using PHP

    i didn't get method one to work, but method 2 works. thanks
  7. chineerat

    searching a html page for a font using PHP

    i am getting the error Parse error: parse error, unexpected T_VARIABLE in c:\inetpub\wwwroot\today.php on line 1 does it have to do with the fact that $html uses double quotes and <font colour "green"> has double quotes? will this cause a conflict?
  8. chineerat

    searching a html page for a font using PHP

    hello there i would like to search a query generated page for a particular font colour/type for example: the link: http://www.google.tt/search?hl=en&q=green&btnG=Google+Search what is the PHP function for extracting font of the colour green? or fonts: blue and underline. The difficulty is...
  9. chineerat

    comparing values in a sheet and nested if loops

    Thanks alot GlennUK and xlbo they both worked perfectly.
  10. chineerat

    comparing values in a sheet and nested if loops

    Hi there. I have the following cells whose values will be in drop-down list. Except for "cost". "cost" will automatically generate values which are dependent on the values of "subject" and "schedule". Subject Schedule Cost I will have hidden in the worksheet a reference chart, all...
  11. chineerat

    Bios Date and time change on toshiba 1800 satelite

    thanks alot bcastner, it works
  12. chineerat

    Bios Date and time change on toshiba 1800 satelite

    Hello i have a toshiba laptop 1800. I am able to get into the bios menu by pressing ESC and then F1 at the boot sequence. Problem is that there isn't anything for me to adjust the DATE and TIME. Please any advice would be very much appreciated. thanks in advance.
  13. chineerat

    defining a struct to associate roman numerals value

    aye thanks guys!! while you're at it, can you redirect me to a roman to arabic conversion? thanks alot!!
  14. chineerat

    checking if a string has certain characters

    hello their i have a string and i want to check if it has only the following characters MCDLXVI if anythings else is present (including a space)an error message is displayed. i've tried the following but it doesn't work for( int n = roman.size()-1 ; n>= 1 ; n -- ){ if (roman[n]!= 'M' &&...
  15. chineerat

    defining a struct to associate roman numerals value

    yes! i'll like to convert integers to Roman Numerals. why? am i approaching it wrongly if i do it like this?
  16. chineerat

    defining a struct to associate roman numerals value

    hello there, i am wondering if there is an easier way to do this. basically i am creating a vector of type structure and structure has types integer and string. bascially the structure will have the roman numeral and its associated decimal value eg. int string 1 I 5 V 10...
  17. chineerat

    storing a string which includes quotations

    thanks a lot man it worked.
  18. chineerat

    storing a string which includes quotations

    hello there i am trying to store a string <?xml version="1.0"?> i've tried string word; word = "<?xml version="1.0"?>"; but this didn't work, i guess becuse of quotations conflicts. are their any suggestions???? thanks in advance...
  19. chineerat

    connecting to SQL database on localhost

    hi there i am having a major problem, which i hope you guys can help me with. i have set up my SQL database and have assign username and passwd on my local machine however when i trying to connect to it in my command prompt eg when i type mysqladmin -u root - p and when i enter the password...
  20. chineerat

    adding Matrices using vector of type struct

    oh sorry bout that!!! here you go #include<iostream> #include<vector> #include<string> #include <stdio.h> #include <stdlib.h> #include<algorithm> #include<fstream> #include<cmath> #include<iterator> #include<iomanip> #include<sstream> //#include<cmath.h> using std::cin; using std::cout...

Part and Inventory Search

Back
Top