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 derfloh 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: *

  1. jon159785

    Import Data from Shared Protected Workbook

    Is it possible to import data into an excel document from another excel doc that is protected and shared using the get external data funtionality? I have one spreadsheet stored to the network. It has protection and is shared so multiple people can be editing it at once. I would like to have...
  2. jon159785

    &YourVisitID

    put ini_set('session.use_trans_sid', false); Before session_start(); // Start the session. Works like a champ. Thanks.
  3. jon159785

    &YourVisitID

    I am trying to use sessions with a basic hit counter to track if a user has hit a page or not. I basically have: session_name ('YourVisitID'); session_start(); // Start the session. $mysession='news'; $myupdate="UPDATE counter SET count=(count + 1) WHERE countid=4"...
  4. jon159785

    Showing images with GD

    Still no luck. This is what I have in mysql_connect_pictures.php: <?php $dbc=mysql_connect ("localhost", "MYUSERNAME", "MYPASSWORD") or die ('I cannot connect to the database because: ' . mysql_error()); mysql_select_db ("nojjond_dbpictures"); ?> Is it possible there is some setting on the...
  5. jon159785

    Showing images with GD

    maybe I should fill in some more background here... I had a gd script working just fine... then I switched to a new host.. it didn't work, now I'm trying to trouble shoot it. I just noticed that if I try and log into my site with a log in, I get this error: Warning: session_start(): Cannot...
  6. jon159785

    Showing images with GD

    ops... sorry for coding that... No luck with the capitalization... and I know I'm pointing to the right file as I do get this error if I don't. <b>Warning</b>: main(../mysql_connect_pictures.php): failed to open stream: No such file or directory in <b>/ Any other ideas?
  7. jon159785

    Showing images with GD

    Moving it to the top doesn't produce the error, but it still doesn't work. That's what's throwing me for a loop. <?php header('Content-type: image/jpeg'); require_once('../../mysql_connect_pictures.php'); // The file $filename = 'league.jpg'; $percent = 0.5; etc...... ?>...
  8. jon159785

    Showing images with GD

    I'm attempting to write a script that will show images, but also do some database work. If i omit the 'require_once' to connect to the database it works fine, but when I have that in there it gives me an error. How can I connect to the database and still have the images show? Thanks for your...
  9. jon159785

    Show MySQL results with PHP

    correct code makes a world of difference. On the 2nd two SQL statements I had left out some quotes and thus I was getting a 'false' for them and that's why the array couldn't be fetched. Here is the corrected code: if (!empty($id)) { //This query finds the information for the picture with...
  10. jon159785

    Show MySQL results with PHP

    I have a database with the file names of pictures that I want to display. The pictures aren't necessesarily in id order and they are categorized by 'collection' I want to be able to run a query or a couple of queries to determine the current picture collection based on the id that is passed...
  11. jon159785

    Setting up Where

    I'm try to filter a report based on what a user puts in on a form. For instance I've got the form to build the strWhere based on multiple selections from a List box. What I can't figure out is how to also sort based on 'phase' and vendor number. For instance I want a strWhere that would only...
  12. jon159785

    Database table to an Array

    Oh by the way..... the database is in Access
  13. jon159785

    Database table to an Array

    I would like to pull data out of one table of database which has 5 rows and 2 columns into an array. I've set up the dataset and I know how to set up the loops, but what do you have to set up and what commands do you use to pull the data out? Thanks.
  14. jon159785

    Field Currency Format

    Works great. Thanks a lot.
  15. jon159785

    Field Currency Format

    I'm trying to have a form that totals up prices for a user. the control source for the unbound field on the form is: =[combooption9].[column](4)+[combooption10].column(4) If the two numbers were 200 and 500 then this results in 200500 as if it were adding strings together if I did...

Part and Inventory Search

Back
Top