sKunKbad
Members-
Posts
1,832 -
Joined
-
Last visited
-
Days Won
3
Everything posted by sKunKbad
-
Where is the style located? Inline, external, internal?
-
Look at the php manual, and see: The fopen() function The fread() function and then you will need something like preg_match() with a regular expression Thr regular expression looks like it should be easy, because the number of numbers in a row will exceed 9
-
Try putting this on the page: <?php echo basename($_SERVER['PHP_SELF']); ?> and check the output, then you will know how to insert the code where you need it.
-
Go to the google maps API. I use a google maps for driving directions on my sewing store website, www.tv-sewingcenter.com/bigmap.php
-
in_array problem (wrong data type for second argument)
sKunKbad replied to poleposters's topic in PHP Coding Help
line 5 try $specialty[]=$check['specialty']; -
so, "order" is the name of your table? userid is a field? try running your sql directly on the database through phpmyadmin or mysql itself.
-
use basename($_SERVER['PHP_SELF'])
-
$sql ="INSERT INTO order (userid) VALUES ('" . $userid . "');" mysql_query($sql)OR die(mysql_error());
-
The undefined index when you add to the cart means that you have a loop that is going usually one too far. For instance: for($i=0;$i<=count($whatever);$i++) might need: for($i=0;$i<=count($whatever)-1;$i++)
-
You might check that you are declaring the character set in the head section of the page, and that there isn't a charset being output by php itself.
-
There is another difference. The first example does not produce a query string where single quotes enclose the $_POST['id']
-
You haven't applied any width, float, or position properties to your divs. Each div needs a width, whether in percentage, em, or pixel value. The declaration of float and positioning type is also necessary.
-
You really don't want to use an image map. It's not proper web standards type coding. Just use multiple divs with links on top of a main div with background picture.
-
What you mean a vertical menu? Do you mean instead of the drop down menu? If that's what you mean, that wouldn't happen. I have massive feedback on the drop down menus we have from different clientele. They all love it and tell us how easy it is to navigate. And it is done in CSS search engine friendly fashion. I don't understand what "a stick with non-javascript" means? Can you please explain what this means? Do you still think we need more padding? I am not a big fan of padding on a lot of items because of cross browser compatibility; opera reads it differently than IE7 which reads it differently than FF. With that said, which one needs more padding and why? If you turn off Javascript, you will see the negative effect; Your logo with menu (forum,sign-in,contact,print) is gone. Yes, your main menu does fall back on CSS, so I guess its not so bad. Regarding the issue with padding: normally all of the text in the main area that starts "Spectacular computer ...." would all be plain headers and paragraphs inside a single div. That div could be adjusted, in terms of padding, to give you the proper margin of white space around the headers and paragraphs. I just think the margin around the side of the main content is too small, but everyone has different opinions. Maybe you should ask other people if the margin looks too small. I'm not talking about a CSS margin, just a margin of white space around the content.
-
Okay, can you "critique" it? OK, basically I think it looks fine, although I don't like the flash banner. Firstly, I think it lacks contrast, and secondly the flicker that it produces is really distracting while trying to view the contents of the page. Flicker is bad in terms of accessibility but I was just annoyed.
-
Try searching for wampserver 2 or WAMP. You can run WAMP or wampserver 2 on a box that has IIS, but only one can run at a time. It's easy to turn them off/on though. actually you can run them at the same time on different ports. Really?! That's cool. I have Win XP Pro though, this isn't a regular server (if it matters). Do you have a tutorial link?
-
I was only looking at the home page. I use all browsers, right now I'm on FF3.0.3 on a Mac. Res on this comp is like 1380x900 or something weird, but that's not the problem, trust me. I hadn't looked at your code before giving you the advice to add some padding. The layout is actually coded pretty poorly in my opinion. Seriously though, all this is is a standard 2 column layout with a header, horizontal menu, and a footer. If you floated the 2 columns, and positioned the header and menu absolutely, your content would be right up at the top of the code, and your chances of getting a good search ranking would be a lot better. OK, this is just my opinion, but I think you need a vertical menu, and stick with non-javascript.
-
Try searching for wampserver 2 or WAMP. You can run WAMP or wampserver 2 on a box that has IIS, but only one can run at a time. It's easy to turn them off/on though.
-
It's not an osCommerce install. It was made by scratch by yours truly. It's nice that you made it from scratch, but it still looks like a pretty standard osCommerce installation.
-
You should implement a sticky footer. Non-sticky footers don't look professional. Also, you should apply a max width for the page, and center it on-screen.
-
It looks like a pretty standard osCommerce installation.
-
You ought to try turning off style and images, and see that your page doesn't have much content to get indexed. If you don't care about that, then I guess it doesn't matter, but without organic search ranking, most sites don't do well. Somewhere in the actual text you should state the summary of what the website is. There are artistic ways to accomplish this. The site does look nice, but I just don't think it's going to give you what you really want.
-
You should adjust the padding on the main text.
-
You can send as many emails as you want, as long as your host doesn't place any limitations on you. Yes, you could use the foreach loop. If $emailAddres is a predefined array, and data that is placed in the email is being derived from a form, then you might consider using something like tectite.com's formmail.