Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 24th Jan 2015, 05:19 PM   #1
Warrior Member
 
Join Date: 2014
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Do I need to use SQL in order to save time?
Share on: 
fb share twitter share gplus share more share

I created some landing page template in which I test various products.
currently it is a .php file which I manually change each time, along with 3 other files, plus an image, and then upload all of them to my ftp, and edit the .htaccess file to beautfy the links.

It is pretty inefficient, as it wastes too much time and I guess there's a way to automate this.

basically I need a way just to update the product's price, product name, product image, products description, page title; update links in the related other 3 files; and update the .htaccess file according to the cannonical url which I choose on the product page.

Someone told me that I can use SQL in order to achieve that, is that correct?
I have 0 knowledge in SQL. he told me I can either used some designated system to update these files, or rather use something called DB.

Is this the way to go? should I try to learn it myself? from where?
or where and for how much can I hire someone to do that?

Thanks
goonie is offline  
Unread 24th Jan 2015, 09:06 PM   #2
HyperActive Warrior
 
Member8200's Avatar
 
Join Date: 2008
Posts: 310
Thanks: 10
Thanked 39 Times in 35 Posts
Default
Re: Do I need to use SQL in order to save time?
Share on: 
fb share twitter share gplus share more share

Hi,

Yes, creating a DB(Database) for your landing page information will definitely save you time.
since your landing page was created using a PHP, and a bit of database can help you provide more efficiency on updating your landing page.

Plus, you can store the previous information on your landing page that was saved on your database and use it anytime you want in just a click of a button.
Member8200 is offline  
Unread 25th Jan 2015, 03:25 AM   #3
Warrior Member
 
Join Date: 2014
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Do I need to use SQL in order to save time?
Share on: 
fb share twitter share gplus share more share

Where can I learn what to do then step by step? how does this database looks like? what program is used to edit it? what do I do on my server? does the DB sits on my server and I update it there, or does it sit on my computer and I sync it with the server everytime I want to update?
goonie is offline  
Unread 25th Jan 2015, 06:18 AM   #4
Active Warrior
Registered Member
 
Join Date: 2013
Posts: 58
Thanks: 4
Thanked 16 Times in 12 Posts
Default
Re: Do I need to use SQL in order to save time?
Share on: 
fb share twitter share gplus share more share

There is just too much of things that really you will spent much more time learning all of that than you will spent by changing manually that. With that said, I guess it's much easier to hire some coder who will do that for you really fast.

But, if you want to do it yourself, than you have to learn PHP + MySQLi+SQL Language, PHP+HTML forms and PHP sessions. Here I just told you parts of PHP language so that you don't have to learn everything. With all previous said you can create small cpanel system for what you need and you can with few click in future add new products, remove products, change prices etc.

If you need experienced coder you can contact me on PM, we can make a deal and I will make everything for you.
geekSoftware is offline  
Unread 26th Jan 2015, 12:24 PM   #5
Designer & Developer
 
mikea12's Avatar
 
Join Date: 2014
Posts: 44
Thanks: 0
Thanked 3 Times in 3 Posts
Default
Re: Do I need to use SQL in order to save time?
Share on: 
fb share twitter share gplus share more share

I would use sqllite3, this is a minimal way for saving data like this.

You just need to pick whether you want to use node.js or php.
mikea12 is offline  
Unread 26th Jan 2015, 09:51 PM   #6
Banned
 
Join Date: 2014
Posts: 21
Thanks: 6
Thanked 10 Times in 9 Posts
Default
Re: Do I need to use SQL in order to save time?
Share on: 
fb share twitter share gplus share more share

yes using MySQL is more efficient ans secure way to manage data in database. You need to keep the record of all your product and update it every time. So using MySQL is better idea.
Devlin5 is offline  
The Following User Says Thank You to Devlin5 For This Useful Post:
Unread 27th Jan 2015, 05:22 AM   #7
Warrior Member
 
Join Date: 2014
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Do I need to use SQL in order to save time?
Share on: 
fb share twitter share gplus share more share

I have zero technical knowledge so just saying "yes that is what you need" is not very helpful.
Where do I Start from?

What I imagine is to have some excel sheet, to which everytime I Can add a new line, with another product name, price, htaccess value,image src, etc, and it would generate a new file instantly.

Where can I find INFORMATION on How to achieve this - step by step?
goonie is offline  
Unread 30th Jan 2015, 05:54 PM   #8
Active Warrior
War Room Member
 
Join Date: 2013
Posts: 36
Thanks: 5
Thanked 6 Times in 6 Posts
Default
Re: Do I need to use SQL in order to save time?
Share on: 
fb share twitter share gplus share more share

Originally Posted by goonie View Post

I have zero technical knowledge so just saying "yes that is what you need" is not very helpful.
Where do I Start from?

What I imagine is to have some excel sheet, to which everytime I Can add a new line, with another product name, price, htaccess value,image src, etc, and it would generate a new file instantly.

Where can I find INFORMATION on How to achieve this - step by step?
geekSoftware already pointed you in the right direction. You will not find a step by step tutorial showing you exactly what you need to do.
Read up on what PHP is and learn the basics. Read up on what SQL is and learn the basics. Read up on what PHP + MySQL is and learn the basics.

From what you are saying it will probably take you 3 or 4 weeks few hours a day to achieve what you are trying to do yourself.
Unless you are actually trying to learn software development then as geekSoftware said, just hire a developer who can do it for you.

Edit: Google is your friend.
clumsy is offline  
Unread 30th Jan 2015, 06:13 PM   #9
Warrior Member
 
Join Date: 2015
Posts: 25
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: Do I need to use SQL in order to save time?
Share on: 
fb share twitter share gplus share more share

Its as simple as this:

Code:
  = "CREATE TABLE IF NOT EXISTS `storage` (
  `name` varchar(99) NOT NULL,
  `price` varchar(99) NOT NULL,
  `htaccess value` varchar(99) NOT NULL,
  `image src` varchar(99) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;";

  = "INSERT INTO `storage` (`name` ,`price` ,`htaccess value` ,`image  src`) VALUES ('picture', 'free', 'htaccess_value', 'source.jpg');";

mysql_query();
mysql_query();
rmcnew is offline  
Unread 31st Jan 2015, 12:12 AM   #10
Internet Marketer
 
katty5005's Avatar
 
Join Date: 2015
Posts: 26
Thanks: 0
Thanked 3 Times in 3 Posts
Default
Re: Do I need to use SQL in order to save time?
Share on: 
fb share twitter share gplus share more share

Yes, MySQL is better platform to store data and manage database since you may need those data in near future.
katty5005 is offline  
Unread 31st Jan 2015, 07:02 AM   #11
Ultimate Profit Tools
War Room Member
 
Tradeout's Avatar
 
Join Date: 2011
Location: UK
Posts: 98
Thanks: 13
Thanked 44 Times in 31 Posts
Default
Re: Do I need to use SQL in order to save time?
Share on: 
fb share twitter share gplus share more share

Updating a database to dynamically change your page would be the preferred way to speed up the process.

Giving the exact solution to your setup isn't easy without seeing it first. Why not show is your page so we can see exactly what you are doing, then you may get some more responses in 'how' to do what you need.

The basics would be:
Store dynamic details in table
On page load call DB and append details to the page

I would also create a quick admin page to update the DB tables.


After this is setup you can then expand further and add some A/B split testing using 2 datasets in the database.
Your imagination is the only limitation.
Tradeout is offline  
Unread 3rd Feb 2015, 10:33 AM   #12
DATASTYLING - Book Design
War Room Member
 
Join Date: 2011
Location: Cebu Philippines
Posts: 32
Thanks: 0
Thanked 3 Times in 3 Posts
Default
Re: Do I need to use SQL in order to save time?
Share on: 
fb share twitter share gplus share more share

If you think your website doesn't require heavy contents and it's not too much static you could do it by using file handling instead of database. Other idea is you can include php files where you name it specific base on content you will put on a file.

There are so many other way on that.

BOOK DESIGN & LAYOUT / WEB DEVELOPMENT
WEBSITE: www.datastyling.com (book design & layout - $95 only) www.thorhosting.co (hosting with free fully functional website) www.infoph.com (open internet directory, jobs, classifieds & news)
SKYPE: datastyling
FACEBOOK: https://www.facebook.com/bookdesignservices
datastyling is offline  
Closed Thread


Bookmarks

Tags
order, save, sql, time


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 12:06 AM.