I'm currently having trouble finding a way to dump an existing mysql
database file into a new mysql database. The problem is I don't have shell
access to the new server and there is no import database function in the
host manager. Is there a way to dump it from a PHP script or any good apps
for re
;";
$result_update = mysql_query($query_update) or die("Query failed");
}
Thanks for all the help!
Jeff
- Original Message -
From: "Jason k Larson" <[EMAIL PROTECTED]>
To: "Jeff Pauls" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
d something like
$name_1_ff
$name_2_ff
$name_3_ff
neither of these work.
$name_$i_ff
$name_.$i._ff
Having something after causing more of a problem. First of all PHP can't
find the value of "$name_" and "_ff" just breaks it more.
Jeff
- Original Message -----
From: &quo
Hi,
I've been playing with this for a while now. Say I had the following variables:
$name1 = "joe";
$name2 = "janis";
$name3 = "joanne";
Is there a way in php to increment the variable name not the value? Something like
this
for ($i = 1; $i <= 3; $i++) {
$arr_name[$i] = $name.$i;
You can try something like this.
$dir = "dir";
function dirsize($checkdir) {
$dh = opendir($checkdir);
$size = 0;
while (($file = readdir($dh)) !== false)
if ($file != "." and $file != "..") {
$path = $checkdir."/".$file;
if (is_dir($path))
I wouldn't break it up into 3 lines of code. try:
print "";
or
echo '';
Jeff
- Original Message -
From: "Todd Barr" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 8:59 AM
Subject: [PHP] Html forms
I am having difficulty putting results into an form
Hi,
I have a simple mail script and when I run the script I get the following error:
Warning: mail() is not supported in this PHP build in /var/www/htdocs/file.php on line
159
I've checked the php.ini file to see if a setting was turned off, but came up with
nothing except for:
; For Unix only
7 matches
Mail list logo