![]() |
]Hi, I have a database (old one) that I want to drop from MySQl server with this php file :
PHP Code:
after that I need to import a backed up database to this place with this php file : PHP Code:
Can anybody can me with script that drop the whole database at once? Thanx |
]very helpfull community... :D
I found a script... PHP Code:
|
]still noone? :D
I need import script that works...... |
Have you tried creating the database first, before importing into it?
|
well... that's actually the problem...
as U have seen from delete script, I have just dropped database... Now I can't import any data as database doesn't exist... And I really don't know how to create one. I know it's easy for all of u to say go to google or MySQL hp and look there. But I think for some of u are much more easier to give 3-4 lines script. Please help. Thanx |
Code:
mysql_query("CREATE DATABASE databasename"); |
]so something like:
PHP Code:
PHP Code:
|
Remove
Code:
$result = mysql_query($query); |
]who's your daddy?! FireFly is! LOL :D
Thanx a lot! Everything works! GJ! |
I have a son?
|
]:D :D :D :D :D :D :D
^^^^ OFFTOPIC ^^^^ ;) |
I really need this script but the import portion of the script is not importing the sql dump file. Here's what I used:
PHP Code:
:confused: |
I Also have this problem... i have a 85 Mb sql file on my ftp and no wey to import it :@
Plase help !!!!! |
All times are GMT. The time now is 07:26 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|