I'm trying to write a script that allows people to either upload a file or add a link to the database. I don't want it to do both, but I can't seem to get my error messages right. Here's the code for my messages.
Code:
if (!$_POST['report_url'] && !$_FILES['uploaded_file']){
die('You did not...
I'm trying to insert values into several tables. Here's the code and then I'll explain the problem
$intoReport = $db->Execute("INSERT INTO report (project_id, report_title, date_submitted, report_url, abstract_info, userlevel)VALUES ('$project','$report','$date','$url','$abstract','$view')")...
I'm new to javascript and ajax and after several hours of fruitless googling I have a problem.
I'm trying to create a form with an option list pulled from a database, but also has a text box so that if the option the person is looking for isn't in the list they can add it and then it will...
I was wondering if anyone knows or can point me to a site with the office 2007 mime types. I'm writing a php upload script, but I'm trying to limit the file types that can be uploaded.
Thanks
I'm trying to write a registration/login script that connects to an access database through odbc. When I enter the data to register and submit it I get the following error
PHP Fatal error: Call to undefined function odbc_query() in D:\Inetpub\wwwroot\ev-library\logintest\reg.php on line 17
The...
I'm new to PHP and I'm trying to convert a login script written for MySQL to an Access Database using ODBC.
What I need to know is, will mysql_query work or do I need to change it, and if so to what?
And no I can't us MySQL, Access is required.
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.