Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #2K
~12.1K People Reached
Favorite Tags

22 Posted Topics

Member Avatar for SHAHAB UDDIN

No 100% sure what you mean. The above would work. But the Pagination class does have a config setting where you can set the page segment the class looks for: $config['uri_segment'] = 3; All the details you could ever need at https://ellislab.com/codeigniter/user-guide/libraries/pagination.html :)

Member Avatar for Web Dev Rob
0
314
Member Avatar for davy_yg

What are you trying to acheieve exactly? Mixing server side sessions with onclick events usually indicates you need to rethink your logic. Nonetheless, for your question you need a bit of JavaScript: Change: <a href="#" onclick="doSomething();"> To: <a href="#" class="clickable" data-session="something"> ... Then, to catch the click: $('.clickable').click(function() { var …

Member Avatar for Web Dev Rob
-1
199
Member Avatar for santhoshweb

In short: session_start() should be called once only, at the top of the page, before any output is sent to the browser :)

Member Avatar for Web Dev Rob
0
168
Member Avatar for bkimbriel

To output the job as you want, there are a few ways. YOu could remove your three 3 loops and have a single loop: [code=php] while(list($key,$value) = each($_POST['job'])) { $job = $_POST['job'][$key]; $material = $_POST['material'][$key]; $quantity = $_POST['material'][$key]; $job_output .= $job . ' - ' . $material . ' - …

Member Avatar for Simon_4
0
6K
Member Avatar for seoiwc2010

Please please don't get caught up in the whole Page Rank saga. At the end of the day it's a metric Google uses to asses the importance of yuour site. There are many examples of where lower Page Rank sites rank above higher PR sites. E.g. Google 'web design' and …

Member Avatar for VictorDesroches
0
558
Member Avatar for rajeesh_rsn

[QUOTE=almedajohnson;1484149]I don't understand your question. please specify it. And the 2 URL you have posted are from the same site...[/QUOTE] He's asking if it's betetr to inclide a .html to the url, the urls he's posted aren't the same at all.

Member Avatar for MaryDD
0
141
Member Avatar for sanjay11

install wordpress on your own server. THis way you'll get some seo benefit when someone links to your blog. If you have a really large site, install the blog on a subdomain.

Member Avatar for admec
0
126
Member Avatar for Aser Gado

Just to double check, the file you posted is called upload.php, as that is where your form data is being posted. If so, change the submit button code to the following and report back: [CODE] if ( isset($_POST['submit']) ) { $name = $_FILES['myfile']['name']; $tmp_name = $_FILES['myfile']['tmp_name']; $location = "avatars/$name"; move_uploaded_file($tmp_name,$location); …

Member Avatar for Aser Gado
0
131
Member Avatar for MDanz

It will always return 1 as you're not incrementing $i within your loop - at the minute you're passing the function the number 0 and then adding 1 to it - your logic is flawed. You need to change your function: [CODE="php"] function width($theid,$i) { $get = mysql_query("SELECT * FROM …

Member Avatar for kekkaishi
0
81
Member Avatar for luisthedude
Member Avatar for diafol
0
495
Member Avatar for mbarandao

So you're basically just getting all records within a certain period of your 'dateofservice' column. Can be done using sql only - something along the lines of [ICODE] SELECT `servicearea`, `date`, `customerid`, `clientID`, DATEDIFF(dateofservice, NOW()) As countDaysDiff FROM `servicesrendered` WHERE countDaysDiff = '80' AND `servicearea` = 'Oil Change' ORDER BY …

Member Avatar for mbarandao
0
2K
Member Avatar for samsambm

Following works for me fine: [CODE]$name = $_GET['record']; $the_catagory = $_POST['catagory']; //the variable from the if ($the_catagory == "players") { } elseif ($the_catagory == "events") { } elseif ($the_catagory == "sales") { }[/CODE]

Member Avatar for samsambm
0
155
Member Avatar for Wraithmanilian

Things like this are good for learning, but I really wouldn't recommend it on a live site as thumbs are being recreated each time the script is called - which is bad practice and unecessary. You should really be caching the generated images. There's quite a good one that caches …

Member Avatar for Web Dev Rob
0
374
Member Avatar for stanley87

Slightly off topic, but have you considored using MySQL's full text searching instead of LIKE?

Member Avatar for stanley87
0
195
Member Avatar for teambuilding

[QUOTE=sslguru;1466633] One way to find out such links is - define your targeted keywords - Search in google for those keywords one by one - write down top website urls - search top websites link (backlinkwatch.com) - place your link there[/QUOTE] Lol, you make getting a backlink from .gov and …

Member Avatar for Spletnapot
0
387
Member Avatar for tadisaus2
Member Avatar for ptara1

Slightly off topic, you should clean the contents of $_POST['search'] before using it in the SQL query as $search=$_POST['search'] represents a security risk

Member Avatar for ptara1
0
179
Member Avatar for cmelb

Like many SEO things this is no exception - no one knows for sure :) Personally, I think it's down to how much a site gets updated with fresh content. On a recentish static 5 page website a change to the main desc took nearly a week. On my personal …

Member Avatar for Web Dev Rob
0
244
Member Avatar for galaxyweblinks

[QUOTE=galaxyweblinks;769764]Hello all, What is mean by SEO? Is the SEO work will useful for marketing the website? Send me your suggestions as posts. Thank you for your replies…[/QUOTE] stop spamming please.

Member Avatar for ciidoctor
0
347
Member Avatar for lit108

I'm confused :) Do you mean you want to parse another XML feed or display extra information for your current feed? It may help if you do a print_r on your feed data to see all available information of have to work with: [code=php] <pre> <?= print_r($feeds->data); die(); ?> </pre> …

Member Avatar for lit108
0
122
Member Avatar for Stefano Mtangoo

[QUOTE=evstevemd;1471557] What are risks when uploading files other than limiting some extensions (like exe's)?[/QUOTE] That also depends on how you're checking your extension. E.g. say you're getting the extension from the filename via $_FILES['myfile']['name'] using PHP's string functions, the value of $_FILES['myfile']['name'] can be faked. For images you can use …

Member Avatar for Stefano Mtangoo
0
116
Member Avatar for carebear23

Yes, as above, would need some more info on your order items table. A common way of storing orders and items is to have two tables - an order header table and order items: [B]OrderHeader[/B] order_id (PK) customer_id (FK) order_date etc. [B]OrderItems[/B] order_item_id (PK} product_id (FK) quantity attributes For the …

Member Avatar for Web Dev Rob
0
123

The End.