DrupalBin
Submit Code
About
Recent Posts
trace
46 min 57 sec
ago
Fix for Code
7 hours 33 min
ago
Fix for Code
7 hours 34 min
ago
Code
7 hours 39 min
ago
more
Tags
CCK
drupal
fapi
jquery
menu
module
Panels
php
simpletest
test
theme
views
more tags
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Create new account
Request new password
Log in using OpenID
Cancel OpenID login
Home
import
Create a Node from a another Mysql DB Data
November 13, 2008 - 11:19am — Anonymous
<?php
//exec("/usr/bin/clear");
include_once
(
'includes/bootstrap.inc'
)
;
drupal_bootstrap
(
DRUPAL_BOOTSTRAP_FULL
)
;
bootstrap_invoke_all
(
'init'
)
;
ini_set
(
'memory_limit'
,
'512M'
)
;
CCK
import
mysql
node_save
Add new comment
Read more
add 'property' cck node using drupal_execute (d6)
August 9, 2008 - 8:54pm — Anonymous
function
mymodule_import
(
)
{
// get the old data
$old_db
=
mysql_connect
(
"host"
,
"user"
,
"pass"
)
or
die
(
'Could not connect to mysql server.'
)
;
CCK
import
Read more