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 gkittelson 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. WilliamMute

    Query not working till midnight using now

    ooo.. Thanks for that Harley! I haven tried it yet but am sure it will work. Thanks a bunch!
  2. WilliamMute

    Query not working till midnight using now

    Hi All, I will appreciate if someone can point me in the right direction as I know this query is somehow not going to do what I want, Infact its not doing what I want but I cant seems to give my brain a boost to think of a way out. I basically want the query to return results that are NEXT due...
  3. WilliamMute

    HTML Forms Processing Using PHP on Windows Server

    Never mind. Thanks for your help. I've got it working now.
  4. WilliamMute

    HTML Forms Processing Using PHP on Windows Server

    Thanks Justin. I found this code on my Hosting company's website ini_set("sendmail_from", "info@seeme.co.uk"); How can I integrate this into my existing code?
  5. WilliamMute

    HTML Forms Processing Using PHP on Windows Server

    Hi, I have an html form which I need to process and send in an email basically. I usually use Linux Server which works fine with the code below <p>Thank you <strong><?php echo($name);?> </strong> <?php /* This section tries to send the form, if successful a successful message is...
  6. WilliamMute

    Code problem from Windows Server to Linux

    I've just gone to my Hosting company's website to check if its possible to change my php.ini file and this is what they had on their support page What other direction possible? thanks a lot
  7. WilliamMute

    Code problem from Windows Server to Linux

    ok, i've just created a test.php with the code above this is what I found on the configuration detail. error_reporting 2047 2047 display_errors On On display_startup_errors Off Off in addition, how will I go about editting this file? do I have to contact my Hosting company? Many Thanks
  8. WilliamMute

    Code problem from Windows Server to Linux

    Justin, Am not that advance yet, sorry. How do I turn on display_errors and set error_reporting to E_ALL or E_STRICT? I dont get errors on the page, it just dosnt display the records on the database. basically, its meant to grab all the records on the table where session_id = $cart_id etc...
  9. WilliamMute

    Code problem from Windows Server to Linux

    Thanks for that Justin, The problem is not even on the sessions it seems because when I echo out the query it seems fine. My guess is the while loop but I just dont know what it is. any suggestion with that? Thanks once more
  10. WilliamMute

    Code problem from Windows Server to Linux

    Hi all, I have the code below which worked fine when I was using it on my windows server. However I had a few problem with the windows server then I had to switch to a Linux based server. Once the switch was completed I started having problems with a number of my codes which worked fine...
  11. WilliamMute

    Displaying records in 3 columns (horizontally &amp; vertically)

    Thanks Justin, Works fine. Thanks once more.
  12. WilliamMute

    Displaying records in 3 columns (horizontally &amp; vertically)

    I've got, user title image id As the fields in my database. My point here is that, should it matter if I have odd number data on the tables? shouldnt it be that even if there were8 records there would be two rows with three records and the last row with just two? What I want displayed was...
  13. WilliamMute

    Displaying records in 3 columns (horizontally &amp; vertically)

    In addition to the above problem, the code is not code is not also allowing me to display associated data below each record which is the aim really ie, Id:112 | Id002 | id005 William John Julie Am not sure if you would understand the above example. Thanks Justin
  14. WilliamMute

    Displaying records in 3 columns (horizontally &amp; vertically)

    Sorry there are 4 records on my table. but its still suppose to move to the next line dosnt it?
  15. WilliamMute

    Displaying records in 3 columns (horizontally &amp; vertically)

    Any idea why its not looping through? its only coming up with the first 3 records even though there are 8 records in total and its suppose to move to the next three records and the next 3 etc.
  16. WilliamMute

    Displaying records in 3 columns (horizontally &amp; vertically)

    Hi Justin, I found it already, just did a qucick search on google and it came up. Thanks any way. Now a different problem. This is what the code looks like now. <?php require_once('Connections/Connection.php');?> <?php mysql_select_db($database_Connection, $Connection); $sql =...
  17. WilliamMute

    Displaying records in 3 columns (horizontally &amp; vertically)

    Update: I changed the code a little to $sql = "SELECT * FROM videos"; $result=mysql_query($sql) or die ("Query Error: " . mysql_error()); Now I just Get the error message: Query Error: No database selected Which is very wiered. any sugestions? Thanks
  18. WilliamMute

    Displaying records in 3 columns (horizontally &amp; vertically)

    Hi Justin, Thanks for that. I however get this error : Parse error: parse error, unexpected ';', expecting ')' in /home/fhlinux175/s/seevision.co.uk/user/htdocs/New/pages/test2.php on line 12 Line 12 being: for($i=0; $i <$num_cols; $i++;){ Here is another version I was toying around with...
  19. WilliamMute

    Displaying records in 3 columns (horizontally &amp; vertically)

    Hi, I've always wondered how this is done and cant seems to grasp it. When I query my DB, how can I go about displaying each record with its attributes i.e Student one name DOB etc, Then Student 2 Name DOB etc, Student 3 Name DOB etc before creating a new row and repeat the process? Basically...
  20. WilliamMute

    Updating Shopping Cart Quantity

    Hi Justin, Itsworking now!!! thanks a million. The problem was the session value wasnt passing through. I changed the session from if (session_name() == '') {session_start();} to this version if(!isset($HTTP_COOKIE_VARS['cart_id'])) { $cart_id = md5(uniqid(rand()))...

Part and Inventory Search

Back
Top