I thought this was a slick approach but now that I've loaded alot more data into MySQL the same PHP code I was using to render the page is now failing. I'll give a brief description of what I am doing and then put some code in for you to see.
The basic approach I'm using is on the load event...
I have 5 dependent drop-downs (<select> objects) that after I submit the form to complete the search I want to display the drop-down lists to their previous selections. This works flawlessly in IE but fails to fire in FireFox. To keep the code simple to view since there is lots of it, I'll...
I've found a lot of useful code but just can't seem to get this to work. Ok, the software shows images of real estate that a user searches for in a search results page. now, my databases image fields will always be populated since I auto-generate the photo filenames based on the MLS # of the...
What I'm trying to do is find unique records based on a compound unique key, that being 5 columns for this example. In order to do the filter, I place the columns in columns 1-5, hide the remaining columns and filter. That part works fine, the only problem is when I try to select just the...
I read the first half of "Beginning XML 2nd edition" by wrox, and that was about 6 months ago....so I am not even to the status of newbie yet. Anyway, I believe I understand the concepts of creating xml documents based on dtds, and using DOM, etc. to access/manipulate the data within...
One user of the Excel macros I make is having tyrouble with 1 xls file only, getting the error message thrown by VB stating "Compile Error, Automation Error, Unspecified Error". The code in this workbook is no different then the hundreds of other ones she runs. The VBE opens and has...
I referenced workbook "B" from workbook "A" so I could use the code (in standard modules) from "B" in "A". However, I don't know how to call these subs/functions that reside in "B". I also tried placing some code in "B" in a class...
I'm trying to get all the values from a scrolling menu but only retrieve the last item selected by the user. Does anyone know how to get all the items selected in a multi select menu?
I'm wanting to create a setup similar to the MS knowledge base, but don't know how to set up my database to make it work.....does anyone know who they structured the database to hold the data for each page?
The rest of my site is database driven but the pages I'm trying to display/enter now...
My users want all the data (plus the look) from their Word docs placed on the web. I originally simply converted them to HTML and placed them on the web server. The users want to be able to edit and create this info on the web. I can see how to build a table to hold the HTML and the data that...
Trying to export table from Access 2000 to a Access 2 db. I think the problem is in the databasetype parameter, I've tried using "Jet 2.0" and "Jet 2.x" and it doesn't work. I know Access 2000 is 4.0 and 97 is 3.51, but I need the one for Access 2. Here is the call...
When trying to unprotect a file that was protected in Excel 95 in Excel 2000 I get an error 1004 "Password supplied is incorrect, check CAPS lock .....". I know Excel 95 is 16 bit and 2000 is 32, so are they reading the same password differently??
I made a macro in 95 that seemed...
In MySQL I set up some users who have SELECT privileges on 4 out of 5 tables in a db. They do not have access to one table at all. In DOS I can issue "use dbname" as one of these users and the database is selected but in php the mysql_select_db fails because my users don't have...
When trying to unprotect a worksheet locked in Excel 5 with Excel 2000 it fails because the password used is not recognized as the password that locked the file in Excel 5. I assumed the problem is due to the 16 bit Excel 5 vs the 32 bit Excel 2000. At one time I had found a function that was...
I used the Package and Deployment wizard with VB 6.0 to make a setup program to be distributed through our network. I checked the dependency file to make sure all dlls, ocx, etc were included in the package. When I do the setup on a clients machine to test the install, everything installs fine...
In ASP the request object has the key function allowing you to locate a value by location rather than name (handy on a dynamic form). I know about the $_REQUEST variable in PHP4 which I'm guessing I am to use. The php manual didn't make it clear for me so I was hoping someone could help me...
Could somebody please tell me all the recommended settings for sessions in the INI file? I believe my code is correct and the problem lies in the way I set up the INI file. I'm using Windows 2000 with IIS 5 and the latest version of PHP4. Please include all session settings because I may have...
First off, I have tried registering variables using session_register and $HTTP_SESSION_VARS and have only been able to use session_register (eventhough I've been changing the INI parameters as instructed in the php manual at php.net).
I have been able to register variables and can see the file...
I'm registering a variable on my login page and redirecting the browser to a new page. On that new page I placed session_start() before any HTML. I then check the value of my session variable and the value I set is gone. When I check the temp folder to look at the session files, two files...
I've read all the suggestions on this site for using the header function properly and I'm still having trouble. I know that the header function must be called before any output is sent but I should be able to set session variables before calling the header function right? What I am trying to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.