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...
oops I knew I forgot a vital piece of info
When I echo $getReportID it's an array with the column name as the key and the data as the value ('report_id 55')
No delimiters
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 am encountering the same problem, I have to use PHP on an Access Database, and this is my first experience with PHP. If you really can't get out of using Access but still want to use PHP, look into the ADOdb abstraction layer.
OK I decided to go with ADOdb to connect, but now I can't get my registration page to insert a new record. Here's the code.
<?php
// Connects to your Database
include('adodb/adodb.inc.php'); # load code common to ADOdb
$db = &ADONewConnection('access'); # create a connection...
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.