cjboston
-
Posts
6 -
Joined
-
Last visited
Never
Posts posted by cjboston
-
-
OK almost there ok got it to parse just need it to call script
<?php put_image_here( array('default_image' => 'include("action php")', 'default_size' => 'thumbnail', 'width' => '80', 'height' => '80' ) ); ?>
-
I am using a script that imports images using an array of calls to check for various ifs. the call to the script is <?php import_my_pic( array('default_image' => 'actual default image url', 'default_size' => 'thumbnail', 'width' => '60', 'height' => '60' ) ); ?>
I have it working fine but I want to call the default image from a folder so the older pages don't all have the same image,i have php script that does that
<?php import_my_pic( array('default_image' => ' include('random.php')', 'default_size' => 'thumbnail', 'width' => '60', 'height' => '60' ) ); ?>
can this be done?
-
worked so far thanks
-
i have rss feed display script.it worked fine in a mysql 4.1. when i tried to upload the dump to a 4.0 it gave me the error :
[color=blue]#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1' at line 4[/color]
How do i retro fit the dump
[color=red]--------------------------------------------------------
--
-- Table structure for table `config`
--
CREATE TABLE `config` (
`name` varchar(30) NOT NULL default '',
`value` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `config`
--
-- --------------------------------------------------------
--
-- Table structure for table `feed`
--
CREATE TABLE `feed` (
`feedid` bigint(20) NOT NULL auto_increment,
`uid` varchar(20) NOT NULL default '',
`tplindex` bigint(3) NOT NULL default '1',
`url` text NOT NULL,
PRIMARY KEY (`feedid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=15 ;
--
-- Dumping data for table `feed`
--
INSERT INTO `feed` VALUES (1, 'admin', 1, 'http://news.google.com/news?hl=en&ned=us&q=outer+space&ie=UTF-8&output=rss');
-- --------------------------------------------------------
--
-- Table structure for table `tpl`
--
CREATE TABLE `tpl` (
`tplindex` bigint(20) NOT NULL auto_increment,
`name` varchar(30) NOT NULL default '',
`fname` varchar(100) NOT NULL default '',
PRIMARY KEY (`tplindex`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `tpl`
--
INSERT INTO `tpl` VALUES (1, 'Default Skin', 'default.tpl');
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE `user` (
`uid` varchar(20) NOT NULL default '',
`upass` varchar(20) NOT NULL default '',
`email` varchar(255) NOT NULL default '',
PRIMARY KEY (`email`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user`
--
INSERT INTO `user` VALUES ('admin', 'admin', 'adMIN@gmarketingsolutions.com');
INSERT INTO `user` VALUES ('saire', 'a', 'biznis@yahoo.com');[/color]
Thanks,
CJ Boston
[url=http://www.profitextreme.biz/][color=purple]web site promotion[/color][/url] -
I was trying to use a squeeze page and all of my sites (on the same server) give me a mail diabled for security. I checked the php info and the disable_function value is mail. How does this get corrected?
P.S.
I Know nothing about php
Thanks
Novice php question
in PHP Coding Help
Posted
here is the code can you elaborate?