
daviddawn
Members-
Posts
35 -
Joined
-
Last visited
daviddawn's Achievements
Newbie (1/14)
0
Reputation
-
Chapter 15 Stripe
daviddawn replied to Necuima's topic in Effortless E-Commerce with PHP and MySQL (2nd Edition)
You can also create your own SSL certificate and sign it off for the browser to accept, a simple search on google will give you a tutorial to complete this task. Regards -
Hi Niel, Try changing your .site-content class selector in your css style sheet from "padding: 50px 0;" to "padding: 50px;". Your selector defined rules for above and below your element, not the left or right. for quick and informative tutorials on css visit https://www.htmldog.com/references/css/properties/padding/ regards
-
HI, I Believe it would be much better in downloading wamp on your computer to work in a web developing environment before hosting on a live web server as you will likely be vulnerable to many attacks due to not having solid code in place. Also it's free and therefore a much cheaper option. David
- 8 replies
-
- page 53
- create table script
-
(and 1 more)
Tagged with:
-
HI Cynthie, what software are you using to open the zip download and what operating system, winrar for windows operating system is a good program to use. once downloaded the code will be in the file named 'sql.sql' as its a sql file you can simply import it into a database using phpmyadmin facilitating the process opposed to copy and pasting each manually.
- 8 replies
-
- page 53
- create table script
-
(and 1 more)
Tagged with:
-
but that's only if i store the $_SESSION variable into a column into a table in the database, for example, if i had a table called "cartdata" could i not do this ? INSERT INTO cartdata (customer_id, user_session_id, sku, quantity) VALUES ($_SESSION['cid'], $_SESSION['uid'], $_GET['product_sku'], 1) before i run the query, i would check to see if customer_id is set, if not, i will use user_session_id, however the table will encounter null values in some columns due to this, so i was thinking of making a seperate table for guests. what your thoughts?
-
Question About Categories
daviddawn replied to Johnamc328's topic in Effortless E-Commerce with PHP and MySQL (2nd Edition)
i would setup wamp and try the code. -
HI Larry, what i am trying to achieve is a common approach of allowing a user to checkout without being a registered member as the example does, however i want to implement a registration system in the site, and know the best way of holding data in a cookie or session and knowing the best time to switch the data over from the cookie to the session. Should i start the session on every page and when a user logs in just add user_id to the session and delete it when they log out? or use cookies only until a user logs in or a non-user reaches the checkout page ? one more thing, how can i setup an area where a non user could check or track their order? thank you!