Posts
 
Reputation
Joined
Last Seen
Ranked #279
Strength to Increase Rep
+11
Strength to Decrease Rep
-2
95% Quality Score
Upvotes Received
96
Posts with Upvotes
84
Upvoting Members
70
Downvotes Received
5
Posts with Downvotes
5
Downvoting Members
5
23 Commented Posts
12 Endorsements
Ranked #136
Ranked #191
~169.86K People Reached
Favorite Tags
Member Avatar for wackyal

Just to add onto GliderPilot's post, it's important that you make sure the string is uniform in how it separates e-mail addresses. In your code `person-1@here.com` and `person_2@there.net` are separated by a comma followed by a space, while `person_2@there.net` and `person.3@wayoverthere.com` are separated by a semicolon and a space. It …

Member Avatar for Dani
0
3K
Member Avatar for asifalizaman

You can start with making sure you have a valid XML sitemap and submitting it to Google Webmaster Tools and Bing Webmaster Tools.

Member Avatar for shivya bhargava
0
221
Member Avatar for EvolutionFallen

Hello, I'm hoping for some help with a regex that has me stumped. My skill with regex is rather rudimentary. To start, here are a couple of example URLs, and whether I want to match them or not: collection/col1 // MATCH collection/col2 // FAIL collection/col1/products/pro1 // FAIL My criteria: * …

Member Avatar for xrjf
0
2K
Member Avatar for divinity02

1. As far as I recall, IF statements don't have their own scope in PHP. What is the URL you are visiting? If you are getting this error, chances are `$_GET["img_id"])` isn't set. 2. You're referencing `$img_id` on line 18, but you never initialized this variable 3. You're including the …

Member Avatar for EvolutionFallen
0
282
Member Avatar for EvolutionFallen

Hello, I'm just starting off with Ruby, but I have a task that landed on my desk that I need a quick answer for, and haven't been able to find a solution online. I appreciate any help I can get. I need to know if a value in one array …

Member Avatar for EvolutionFallen
0
512
Member Avatar for rpv_sen

You'll need to use an exchange rate API, then parse/decode the results. Google and Yahoo each have APIs (a quick search should turn up more info), and another resource I found is https://openexchangerates.org/ EDIT: Just saw diafol's response. Sorry, had this tab open for a while before I got to …

Member Avatar for rproffitt
0
3K
Member Avatar for Tickon

[QUOTE=Tickon;1242972]Ok, I'll give it a try, I'm not familiar with php yet, anyway to get around it?[/QUOTE] There is a difference between static sites and dynamic sites. Static sites stay the same until the author manually changes the code. A dynamic site changes based on certain events. Adding a comment …

Member Avatar for Janet_4
0
346
Member Avatar for Icemission

You don't close your statement that starts on line 64. Look at lines 65 and 66: 65. type='s 66. while ($row = mysql_fetch_array($result)) { I'm not sure where you're going on line 65 (I think a submit button), but you need to close it up with something like [icode]type='submit' />";[/icode]. …

Member Avatar for eeegeg
0
906
Member Avatar for Latrell_vie

Are you sure you mean Photoshop and not Dreamweaver? You can't edit a website in Photoshop, it's an image editor. Dreamweaver is a web development editor: you can open your site resources in it, view them in design view if desired, and edit them there. Though honestly, I find it …

Member Avatar for almostbob
0
407
Member Avatar for wareez

Where's your form code? PS - you should probably be using mysqli: http://php.net/manual/en/book.mysqli.php

Member Avatar for wareez
0
2K
Member Avatar for punji
Member Avatar for punji
0
221
Member Avatar for mjb925

How are you checking for "all"? If your requirement variable for "country" isn't set, meaning it should accept all countries, then [icode]if($myCountry == $taskCountry)[/icode] won't work because [icode]$taskCountry[/icode] is not set to anything. For example, if [icode]$myCountry[/icode] is set to "USA" then you will be attempting to validate [icode]"USA" == …

Member Avatar for Squiva
0
174
Member Avatar for KnifeDarky

Are you sending caching headers? You can check in the Net/Network panel of your browser dev tools when you view the site...

Member Avatar for KnifeDarky
0
253
Member Avatar for EvolutionFallen

Hi folks, I have a situation that's most easily explained via example, I think. So here goes. Let's say I have the following URLs: 1. /page.asp?id=123 2. /page.asp?id=123&category=ABC 3. /page.asp?id=123&category=ABC&var3=X&var4=Y I need these pages redirected. Currently links 1, and 2 redirect correctly. Option 3 though can have an arbitrary number …

Member Avatar for mattster
0
415
Member Avatar for prash21m

Why not use page=0, page=1, etc. instead of start=8, start=16, etc.? This way the number of items you show per page can change, which is better user experience if your users want to load more items on a page. $items_per_page = (!empty($_GET['show'])) ? $_GET['show'] : 8; // user selection or …

Member Avatar for EvolutionFallen
0
137
Member Avatar for EvolutionFallen

Hi all, I'm wondering if anyone's had experience with the WordPress Importer tool. I'm having trouble importing my WXR file through the tool. It works well for the most part, but when I get to the author assignment section, there are some issues. Under Assign Authors I only see `Import …

Member Avatar for irfanmodan
0
219
Member Avatar for learner001

You can use the onclick attribute as pritaeas suggested, together with the JavaScript `confirm()` function to give a popup with Yes or No options: echo "<td><a href=\"delete_members.php?id=".$row['id']."\" onclick="return confirm('Are you sure you wish to delete this item?');">Delete</a></td>"; If the user clicks Yes, the function returns `true`, and the link is …

Member Avatar for EvolutionFallen
0
3K
Member Avatar for bernard.collins.1088

Please don't take this the wrong way, but where are you getting this code from? This code needs some serious help. Opening tags that aren't closed, self-terminating DIVs that serve no purpose, using *input buttons* for main nav? I've been writing HTML for a while now and I've never seen …

Member Avatar for almostbob
0
290
Member Avatar for EvolutionFallen

Hello, I have a Macbook Pro w/ Retina display (A1502), running Win 7 on bootcamp. I also have 2 [LG 25UM64](https://www.google.com/shopping/product/264296052983113163) monitors. The optimal resolution for these monitors is 2560x1080. However, so far as I can tell I can only hit this resolution if I'm connected through HDMI, for which …

Member Avatar for EvolutionFallen
0
268
Member Avatar for blueguy777

You may want to store a delimiting character between each set of numbers. This way you can use the `explode()` function so you don't have to know exactly where one substring ends and another begins. For example, let's say you choose a comma `,` as your delimiter, your code is: …

Member Avatar for blueguy777
0
271
Member Avatar for Subrata_1

This would be really hard to do without knowing your platform, database schema, or any of your code.

Member Avatar for diafol
0
123
Member Avatar for Dani

I think any site that collects login information should be using SSL. Most people will repeat the same login information (username/email, password, and that specific pairing), between multiple sites. If you request this information from a user, you should be protecting it. That said, my company's considering to switch over …

Member Avatar for rinston
1
409
Member Avatar for YOLO87

Good topic. I haven't worked on too many big "from scratch" projects so I'm looking forward to some interesting responses here. For me, the first item is figuring out what the project is about, and if there's a cost-effective platform out there that I can use as a framework. This …

Member Avatar for EvolutionFallen
0
217
Member Avatar for mgn2683

Agreed, I'd go with a background image, especially since you're already using a fixed width so you know just how wide the image has to be. Notice how when you use box-shadow you get the shadow along the top as well -- you probably don't want that. You have to …

Member Avatar for mattster
0
290
Member Avatar for Hosmer23
Member Avatar for dasabel100
0
802
Member Avatar for Bile

Try this for `gallery_loader()`: // Updated gallery_loader with ability to loop through multiple DB results. public function gallery_loader() { $sql="SELECT * FROM gallery WHERE id=1"; // IF YOU LEAVE id=1 you will only retrieve a single image. This code will still work, though. $query=mysql_query($sql); $i = 0; $slides = array(); …

Member Avatar for Bile
0
878
Member Avatar for silverdust

Use jquery's `.css()` to get the current value of a style property for an element. Similarly, adjusting a style with `.css()` will apply it to the element as an inline style. http://jsfiddle.net/QSg6k/1/

Member Avatar for EvolutionFallen
0
257
Member Avatar for vanessa001

I'm wondering if this is some new black hat trend? I've noticed a number of users on here recently that post (especially in the SEO forum) one- or two-line questions about items that their profile/sig indicate they should already know, and never follow up on responses.

Member Avatar for oCodewire
-3
174
Member Avatar for Riu 2009

Well for starters in update-profile-action.php you refer to `$_POST["profileimg"]`, but the field in update-profile.php has `name="image"` Next, you don't access the image file with $_POST, you use $_FILES and associated indexes/functions. And you don't actually store the image in the database, you just store the path (or just the filename) …

Member Avatar for Mani_6
0
15K
Member Avatar for Enigma360

@Ajay, the id of the `<input>` and the `<a>` being the same shouldn't be an issue. If I'm understanding OP correctly, the `<a>` is supposed to replace the `<input>`, so there will not be duplication. @OP: The `value` attribute is not valid in an anchor tag, though I don't think …

Member Avatar for Ajay Gokhale
0
554