Jump to content

Search the Community

Showing results for tags 'databas open database close'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. I went to the link indicated in the forum post in my title and got 404 errors! That said, here is my nube problem: I have an form page that loads a PHP app in a frame which displays a list of date information from a table. The idea being as the user fills out the form he/she can refer to the list of dates to avoid "double-booking". Once the form has been filled out and the ever-popular "submit" button is clicked, a PHP page is executed that is suposed to take the information gathered and put it into a record in the SAME table that the php app in the form page's frame used. Before adding this PHP app to the form page, everything worked fine. Now I get a "couldn't select database" error - which is the "die" message found in this code: $db = mysql_select_db($database,$connection) or die ("Couldn't select database"); ...when the php app that receives the form data tries to connect to the database. I do close the database in the list applet and I have also tried the same process with the database remaining open when the "submit" button with the same results. What am I missing here? Must I somehow close the php ap in the frame as part of the process of passing data to the following pgp app? Is there a way to set up the database so that, once opened, subsequent php apps can modify the table? Your assistance is much appreciated.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.