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 bkrike 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: iteach2
  • Content: Threads
  • Order by date
  1. iteach2

    Face xhtml page has empty components

    Hello gurus! I have an xhtml page. No component seems to get populated with bean data. I have tried components that work on other pages and they will not work on this page. They will display but the dynamic data is empty. For example I have a dropdown list that will populate on other pages...
  2. iteach2

    SQL QUERY RESULTS DISPLAY

    Gurus, Can i make the results of a query display like this Content a attribute 1 attribute 2 Instead of: Content a attribute 1 Content a attribute 2 Where content can have multiple attributes?
  3. iteach2

    HELP! Compilation Error - .NET newbie

    Hi Gurus, I just inherited a .net app and I am a PHP programmer. THe error looks like this: Server Error in '/' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error...
  4. iteach2

    PHP CURL: Login to HTACCESS directory; POST username/password to FORM

    Hi, I have a curl script that I am developing, it needs to post username and password to a windows authentification, then on the next page is a form looking for username and password. How do I post to the windows authentification(.htaccess) then post to the login form a user and password...
  5. iteach2

    Search block of text for term(s). Extract sentence that has term in it

    Hi Gurus, I am attempting to write a function that will go through a block of text and extract the needle and from the haystack. But I want the text before and after the needle as well. function findTerms($term, $content) { strip_tags($content); $pieces = explode(".", $content)...
  6. iteach2

    PHP4 XML HELP

    Hi Gurus, I am using code from yahoo developer network to retrieve/parse the XML below into an Array: <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <SearchResult count="388" xmlns=""> - <products> - <productSummary id="1010042542"> <manufacturer sku="45010" name="Elite...
  7. iteach2

    PHP Array to Menu

    Guru's, Once again I need your help please. I have three arrays each array is based on its own database quiery - select * from ____ 1 array. Departments 2 array. Category 3. array. Subcategory It looks like this: Array ( [0] => Array ( [DepID] => 10015...
  8. iteach2

    Pass QueryString to iframe

    I have an iframe open via a link. When I try to access the querystring of the referring page it is blank, so my $_GET[] is null. Is there any way to reference the querystring using $_GET. Can I do a fake HTTP_GET.
  9. iteach2

    Insert Array into one record in Database; Not multiple records

    Hi Folks, I have a table called DEPT. It has 24 fields. I have 24 possible form variables that can be stored in my form array. I am attempting to loop through my form array, and each insert 'Y' into each database field that matches my form variables name. What I have is inserting but if I...
  10. iteach2

    PHP Sendmail--remove From: Root User &lt;me@website.com&gt; from header

    Hi, Im using PHP sendmail on an Apache/Windows server. Whenever an email is sent out - the From: header says Root User. For exp. From:Root User <peoples@myswebsite.com> How do I make it say something other than Root User. From what I can tell, and I might be wrong, There is nowhere in the...
  11. iteach2

    Pull items out of Array Merged Array

    Gurus, I have a merged array like so: array(796) { [0]=> array(2) { [0]=> string(32) "(15) Mexican Spaghetti (Tuesday)" [1]=> string(5) "22265" [1]=> array(2) { [0]=> string(13) "A BOWL OF RED" [1]=> string(5) "22266" } [2]=> array(2) { [0]=>...
  12. iteach2

    PHP and a FLat File?

    Gurus, I have a flat file where each record looks like the record below: Each record is 256 characters 625012C0010010070897111605 NIKE AIR FORCE ONE 7871077 15OZ 0001000000319000000002085000001HITOP 000000010007870 100000101000000000 00120001004...
  13. iteach2

    Hover over thumbnail; show larger version image in difrent position

    Hi, I am attempting to make a CSS/PHP photo gallery. I have php pulling .jpg images from directory. Then with a loop pull images out. What I am asking is if it is possible with CSS to create a thumbnail of the image, then when I hover over I can get a larger size.
  14. iteach2

    Setup Apache so Virtual host website can be access without typing www.

    Hi Gurus, I have set up multiple virtual host and would like for them to be able to be pulled up without typing www. in the web address. Ex. Instead of typing www.mywebsite.com you can just put mywebsite.com and it the name will resolve. I am currently using the the following...
  15. iteach2

    Need to remove X number of bytes from a binary data

    Hi Gurus, I have a variable called $content which holds binary data(jpeg image). I want to display the jpeg in a web browser but I have to remove the first 5 bytes from the binary data before it will display properly. How would I remove the first 5 bytes on $content. Thank you: Heres my code...
  16. iteach2

    Pass PHP form variable to SELECT query in Oracle.

    Gurus, I am attempting to pass a form variable into ORACLE select statement. It works when the variable value is hardcoded but when I try to include it as variable it bombs out. Here is my code. <?php $st = $_REQUEST['searchterm']; print_r($st); echo "<html> \n <body>"; if($dbconnection...
  17. iteach2

    Find then update value in tab delimited based on given arguments

    Gurus, My file looks like this. SID Red Green 3142 1 1 1008 0 1 5241 1 0 I would like php to read this file tab delimited file then update column RED or Green based on the SID's that I supplied. How is this done? Do I add everything to an array first? Thank...
  18. iteach2

    Problem with includes and mySQL query; I think?

    Hi Gurus, I have have a page in which I attached (3) includes. The first include generates links from a sql query and generates a menu, the second include generates a table filled with data from an sql query. The third include generates detailed info about the user that is logged in via an...
  19. iteach2

    Convert Query to PL/SQL (IF i.div = 10 replace with W, ELSE IF

    Hi Gurus, I have a query below: select o.loc_num AS "LOCATION", o.case_id AS "CASE_NUM", i.division AS "DIV", substr(o.store_num,1,length(o.store_num) -1) AS "STORE", o.ctrl_dt AS "DATE" from ord_case o, cases c, item i where o.case_id = c.case_id AND c.item_num = i.item_num AND...
  20. iteach2

    Drop unwanted character from query ex.25516 becomes 2551

    Gurus, I have a table that stores numbers in the from of 25516 but for purposes of my query I wish to drop the 6 so that it only shows 2551 - how can I format my query to exlude that last number for showing in the query [ponder]

Part and Inventory Search

Back
Top