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 Chriss Miller 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: josel
  • Content: Threads
  • Order by date
  1. josel

    AJAX - Can I trigger an XMLHTTPREQUEST using onClick() ???

    Today has been very good. I have successfully completed writing a data grid table and some very nice trickery. I must say, I am very proud of myself. :) and very appreciative of this forum ... Now, I knew I was going to end-up needing to employ AJAX for the things I have in mind. I have a...
  2. josel

    onClick="Swap Image + Show hidden layer"

    I am working on a very nice data grid table. I am writing this dynamically using PHP. So far I have managed to get the table just the way I want it and added some very nice effect. I am hiding a layer under the row. The left most column has an image (a plus sign); when clicked, three things...
  3. josel

    Hide and Show content using <div> or <span> - Need help!!!

    I just completed writing a script to show a data grid of my customer list. I do not want to show too much information horizontally so, I figure I use hidden layers and show them upon request. That said, I have a table with 9 columns and one row per record set. I want to set a hidden second...
  4. josel

    A simple AJAX project - My very first ajax project - Need help!!!

    Hello! I am reading off a book and came across the very first project. I typed all three programs (.htm, .js and .php) but I am not getting the expected results. I decided to merge .htm and .js document to help trouble-shooting ... Here is the code I have <!DOCTYPE HTML PUBLIC "-//W3C//DTD...
  5. josel

    How can I configure Apache to render .htm through PHP Server?

    It has come to my attention that one should be able to configure Apache Server to render .htm and .html pages through PHP Server thus resolving PHP code just as it does with .php pages. Is that clear? :) What I am looking for is hide the type of server behind the page. So, if I were able to...
  6. josel

    onFocust=&quot;DoFunction('rowname');&quot; to highlight a row - Need help!

    Howdy! I have scripts <script type="text/javascript" language="JavaScript"> function HighLight(xRow) { document.getElementByName(val).background=#CCCCCC; } function noHighLight(xRow) { document.getElementByName(xRow).background=#FFFFFF; } </script> </code] and form fields with...
  7. josel

    Multi-dimensional arrays - How would you explain them?

    I have worked with arrays for many years. The problem is that I have used one (1) programming language and it is nothing like PHP or anything else out there ... The arrays I've used since 1989 are one dimension (vertical). Before this I did some Clipper programming where I used...
  8. josel

    After Successfull Login - Redirect to new page

    Can't search so I have to ask. I just wrote a login script. After checking that login was successful, I need to redirect user to home page with all session variables set. I tried header() but it gave me an error! What can I use to do this? Regards, Jose Lerebours KNOWLEDGE: Something...
  9. josel

    Display &lt;textarea&gt; content without loosing its integrity - How?

    First of, I have to thank this community as it has been invaluable for the past few weeks. I just noticed that my first post dates back to Jul 08, 2007; I wanted to know how to install and configure PHP. A week later, I posted a question wondering "How do I know PHP is running?" ... Time and...
  10. josel

    Need help figuring this while loop. Please help!

    I have this code $CommRowTable = ""; $CommQuery = 'select * FROM `snipscomments` WHERE `snipscomments`.`snipID` = ' . $_GET['Code']; $CommData = mysql_query ($CommQuery); $CommRow = mysql_fetch_array($CommData); if (sizeof($CommRow) > 0) { $CommRowTable = '<table border="1" cellpadding="0"...
  11. josel

    Why is my URL prefixed on &lt;a href ...&gt; links?

    I came across this rather interesting problem/behavior. For the sake of argument, lets say the local URL is http://www.fpgroups.com Displaying content from a MySQL table, one of the field holds an URL entry. If the entry reads www.casabellagallery.com when shown on screen using...
  12. josel

    Split text file into equal blocks. How???

    I would like to limit size of content per page. So, given document (A), how can I load this document a block at a time? Better yet, how can I split the document into variables each holding X-bites? Thank you all in advance! Regards, Jose Lerebours KNOWLEDGE: Something you can give away...
  13. josel

    Using 3 DIVs works fine with FireFox - Horrible with IE

    Having problem using <div> to layout my page and having it work consistently between FireFox and IE. Here is a sample link: http://www.fpgroups.com/index.php?Target=articles On the left hand side, I show the navigation links, the center is content and the right will be used for...
  14. josel

    Using session variables - Simple but I can't get it to work

    I have read the online docs and reviewed lots of samples on this forum and else where. No matter what I try, I cannot get it to work. I have written a PHP page which basically uses mostly functions. This method leaves me with the variable scope problem. No problem, I said, as I figured I can...
  15. josel

    windows.close OK if FireFox - NOT GOOD if IE ???

    Working on page where user is placed on new page without scroll, resize, bars ... While in this page, user can do data entry and submit form or click <input type="button" ... /> which has "... onclick="window.close();" ... This works just fine in FireFox but not in IE 6.0 Is there something I...
  16. josel

    onclick=&quot;change field values&quot; not showing until I click on page - Why?

    I have a script: <script language="JavaScript" type="text/javascript"> function SetAddress1() { document.getElementById('attAddr1').value=document.getElementById('hideAddr1Address').value; document.getElementById('attCity').value=document.getElementById('hideAddr1City').value...
  17. josel

    Add rows + columns on table dynamically. How?

    I am about to start working on a data entry grid. I would like to write it so that the user starts off with two rows ... As the user presses TAB on bottom right cell, I want to add another row - This is the same as those visual HTML editors or MS Word, etc. Your assistance will be much...
  18. josel

    Display results of a joint query. How?

    Looking around I learned how to create the join query $data_query = ' SELECT a.* , b.MemberFirstName , b.MemberLastName FROM articles a , members b WHERE a.ArticleAuthor = b.MemberID LIMIT ' . $limit_start . ", " . $records_per_page; $rh = mysql_query ($data_query); // TO DISPLAY THE...
  19. josel

    textare + firefox = Text does not wrap even if using wrap = hard

    Howdy! While writing an application I found that my FireFox browser does not wrap text when it reaches end of text area. A horizontal scroll bar is display and text simply keeps on going. Ironically, this very site does not have the problem? Where do I get the code? :) I would love to find...
  20. josel

    Split &lt;texarea&gt; field into individual lines. How?

    I have a form where I use 'textarea' with rows='5' and cols='70' wrap=hard ... I intend to put form data to ASCII file on disk where it will be processed by an in-house application. What I need to do is take the five rows and write them out as five lines in lieu of a single large field/line of...

Part and Inventory Search

Back
Top