I know that I can setup an intranet using MySQL. That's not my question. I prefer to develop in PHP/MySQL, even for internal corporate applications, but my client wants to use MSAccess as their DB shell. Is there a way to integrate Access to an ODBC (with which I have no experience) or...
there are two other ways off the top of my head:
this one works great in IE, but sometimes NN is pretty picky and it doesn't work (this goes between the head tags):
<meta http-equiv="refresh" content="0;url=place.htm">
and going on the post above mine, javascript can be performed anywhere in...
I have a script that is supposed to send mail to a group of users in a "chapter" (each user has a field: chapter_id, which corresponds to the "chapter" they belong to). I don't know whether it's the server settings or what, but the mail does not send correctly.
here's the code...
why don't you try adding a second table and a new field in your Users table. The new field should be an ID number corresponding to the auto_id in the new table. The new table should just be a list of yes or no answers to permission questions: example table setup
MemberPermissionsTable
auto_id...
So here's my query:
$sql="INSERT INTO news (date,time,member_id,chapter_id,headline,article,show) VALUES ('$date','$time','$poster_id','$chapter_id','$headline','$article','$show')";
but for some reason I keep getting the error:
"You have an error in your SQL syntax. Check the manual that...
ah ha! I just figured out that the images themselves are okay, but I was using IE and it was just displaying the file in the Cache. Problem solved (after 2 hours! always something stupid....)
I have a script that uses the same filename over and over again for uploads. For example: pic1.jpg, pic2.jpg, picn.jpg where n is an auto_id from the database corresponding to the user.
The script takes a file upload from the user, deletes the old picn.jpg, and then uses move_uploaded_file()...
it's been disabled client-side, so inErnet or intrAnet are inconsequential.
why don't you use POST variables? You can have the link to the page submit the form and therefore pass POSTs to the new page, no matter what domain you're going to/from. This is more secure anyway because the users...
Here's a snippet from one of my scripts, but before pasting, definitely read what skyflyer sent you...
$username=$_POST['username']; //these come from the form on the page before this one
$password=$_POST['password'];
connectDB(); //This is a function I made for mysql_connect() and...
the easiest thing to do would probably be to add another two variables that count which column you're on. Also put your <table> tags outside of the loop so you can have as many rows/cols as you want.
$totalcols=2; //or more
$currentcol=0;
echo "<table width='420' border='0' cellspacing='0'>"...
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.