Hi-
I have a database on a sever that is running some version of MySQL 4. I wan't to put the same database on my local computer.
I ran a MySQL dump from the server and tried to run the resulting text file from the UNIX command line on my computer (Running MySQL 5 on Mac OS 10.4). I always get...
Hi-
I have what should be a simple question. I've searched through this forum and php.net and google and haven't found a satisfactory answer to it though.
What is the sure way to completely destroy (globaly) a session variable inside of a function.
as an example:
$_SESSION['blah'] = 'blah'...
Thanks so much!
I've done a lot with HTML, but I guess I never thought about the fact that an inline element can't enclose a block level element. But now that you said that it makes total sense. I feel pretty stupid now.
Gosh, I'm dreading running a validator on my website!
Thanks again...
I have sort of a general question. Is it against HTML standards to link a table?
example:
<a href="page.php">
<table>
<tr>
<td>
table text
</td>
</tr>
</table
</a>
Linking a table will work just fine in some browsers, but I've had problems with IE 6 on windows 98, and Firefox on mac os...
Hello-
The website I'm working on is running on a server that has all error reporting turned off and I need to turn it back on for some work I'm doing on site. I've tried the following according to the information I've found on php.net:
error_reporting(E_ALL);
but it won't work.
If someone...
I can not come up with a solution to what should be a very simple problem. I need to have a submit button on a form with the follow criteria:
1. It has to send a name/value pair to the server where I can set both the name and the value. I have a script that acts differently depending on what...
Boy I feel stupid. That did it.
As an addition question though, is there a way to set permissions on a file (with PHP) when your moving it with move_uploaded_file() function? I set the permissions correct on the folder but when each file gets moved the permisions on that file are set to "no...
I'm having problems with the following script:
if (isset($_POST['submit_picture']))
{
//
// check the caption variable
if (empty($_POST['caption']))
{
$c = '';
}
else
{
$c = $this->escape_data($_POST['caption']);
}
if (empty($_FILES['upload']['name']))...
Hi-
I don't use javascript much but I have a quick question:
Is there a way to activate the submit button on a form when an option is chosen from an html menu?
I have a .php page that I need to submit to it self automatically everytime a different value is chosen from an html menu. So every...
Thanks for your help!
You were right with your first post, I had just written the script in such a way that it wasn't amediately apparent.
I fixed it so that the session call and header functions were the first part of the script to execute. Now it works without a problem.
I still don't know...
Hi!
I am trying to get a website to work on a server with PHP running in safe mode. I have a couple problems so far:
I can't get "session_start()" and "header()" functions to work. I have them working on my local computer just fine -- so I'm assuming it has something to do with PHP safe mode...
this is what I tried:
[mrpickwick:~] joanna% mysqldump --databases --opt rcvf > ~/Desktop/rcvf.sql
and I get this:
mysqldump: Command not found.
any ideas?
Thanks again for your help!
Jonathan
Hi-
I'm trying to use the mysqldump command. I cannot figure out how I'm supposed to use it. is it from the mysql command line or right from the UNIX promt? If from the UNIX prompt what directory am I supposed to be in?
I'm using the terminal application in mac os x.
Thanks!
Jonathan
Thanks for the help! Your solution makes a lot of sense.
I do have another question though. most of the prints will have several options, up to a max of 21, so this means that print_id column in the third table will have a lot of repeates.
print_id option_id
1 2
1...
Hi!
I'm working on a website for my business and have a few questions about how best to design the MySQL database.
First of all we have products (art prints) that have lots of options, and the user has to be able to select which one he wants for the particular print. So we'll have one basic...
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.