11,530 Posted Topics

Member Avatar for pritaeas

Bug fixed, thanks! http://www.daniweb.com/search/query/pagination/17/code?q=site%3A%2A%2Fweb-development%2Fphp%2Fcode+pagination

Member Avatar for Dani
0
301
Member Avatar for suyaonmari
Member Avatar for Djmann1013

I know it's really pathetic, but I just had a dream about that. I had to sift through all my code putting an `exit();` after all my header redirects. I haven't done it for real, but that was last night's nightmare, I kid you not. I need to get out …

Member Avatar for diafol
0
158
Member Avatar for Reverend Jim

Yes, there's currently a known bug related to the logic behind what gets flagged as new or not.

Member Avatar for Dani
0
63
Member Avatar for Labdabeta

In a lot of computer-oriented movies, they'll put random code scrolling on the computer monitors or as part of a montage during the credits. I've also seen a screensaver do something such as this, where a near-infinite amount of text that LOOKS to be in C/C++ style syntax needs to …

Member Avatar for Labdabeta
0
2K
Member Avatar for francesita
Member Avatar for mcgarcia
0
779
Member Avatar for diafol

He just wants to play with client-side browser scripts (a la Greasemonkey) to get rid of it. You need to completely remove the following snippet of code if you want to revert back to a standard text editor: <script type="text/javascript"> <!-- var myEditordani<THIS IS GOING TO BE SOMETHING RANDOM> = …

Member Avatar for diafol
0
167
Member Avatar for Ancient Dragon
Member Avatar for Ancient Dragon
0
215
Member Avatar for hwoarang69

I've never heard of them before. A domain name costs less than a lunch nowadays, though, so you might want to reconsider ;) http://www.daniweb.com/business-exchange/webmaster-marketplace/hosting-deals/_/36

Member Avatar for Dani
0
337
Member Avatar for Synestic

I've gone ahead and marked this question solved. In the future, click the 'Mark Question Solved' button right below the reply. This gives sepp2k credit and also adds this question to our knowledge base of solved Q&As for future reference by others.

Member Avatar for Dani
1
165
Member Avatar for Mriganka Guha

Hi, welcome to DaniWeb. Can we help you? Are you having trouble posting your question?

Member Avatar for Dani
0
6
Member Avatar for SeaBook
Member Avatar for seosiaone

I agree with this, arold, but, as a sidenote, I've actually found that links with the nofollow attribute still do pass pagerank under certain circumstances. Upon acquiring another website, I linked to it from DaniWeb with a nofollow link, and traffic quadroupled within two months. No other links or promotion …

Member Avatar for Dani
0
164
Member Avatar for Dani

So I just discovered a crazy bug that has been keeping visitors of the Opera web browser from using DaniWeb. Apparently there's a problem with CodeIgniter's CSRF protection that makes it not work with Opera, and I'm unsure of why. It works perfectly fine with IE, Firefox, Chrome, etc. I …

Member Avatar for diafol
0
312
Member Avatar for kris222

> A programming language can be a good tool for vendor-lock-in strategies when certain companies Objective-C was actually created in the 1980s, not by Apple for iOS, and today, that's just one popular use case for the language. Back in the day, it was used to write the flavor of …

Member Avatar for iamthwee
0
127
Member Avatar for mike00
Member Avatar for stevenpeter
0
281
Member Avatar for GenePark
Member Avatar for Ancient Dragon

Yup, I tweeted about it yesterday. We wouldn't have Ron Howard without him ;) Everyone seems to be talking about Matlock but I never saw that show. I remember him as Sheriff Taylor.

Member Avatar for Reverend Jim
0
41
Member Avatar for jesicawillss

Well I wouldn't call Google the FATHER of all search engines because it certainly wasn't one of the first. But, today, it is definitely the best.

Member Avatar for Steffy_Rose
-2
670
Member Avatar for happygeek

Perhaps an interesting riddle or piece of trivia that gets asked one month and answered the following month?

Member Avatar for happygeek
0
310
Member Avatar for sushy27

Firstly, all the code within the for block needs to be enclosed in curly braces. How is it supposed to know when the for loop starts and when it ends? Secondly, lines 6-9 are a MySQL query but they're just sitting there pretending to be PHP code.

Member Avatar for diafol
0
453
Member Avatar for DavidKroukamp

> I ask why can you not have a single 'upward arrow' and 'downward arrow' that both adds/decreases rep and upvote/downvote counter? It was never like this. Just clicking on the arrows gives you a vote. Only a vote WITH comment affects reputation. Looking at the graph in your member …

Member Avatar for DavidKroukamp
0
268
Member Avatar for Campus Report
Member Avatar for David2012

There are so many resellers and resellers of resellers around nowadays. Many of them are 15 year olds working out of their bedrooms, who decide to just shut the site down when they go off to college, so you have to be careful where you buy from. As far as …

Member Avatar for David2012
0
157
Member Avatar for poloblue

You need two loops: An outer loop to keep track of the rows, and an inner loop to keep track of the number of asterisks per row. Right now, you have an outer loop that is keeping track of the rows. But you need to replace that cout line with …

Member Avatar for poloblue
0
1K
Member Avatar for Dani

As many of you are probably aware, DaniWeb was hit hard by Google's Panda algorithm update back in February. A news story written by Davey entitled [url=http://www.daniweb.com/internet-marketing/search-engine-optimization/news/350575]Google Farmer Update: what went wrong?[/url] explained that the February 24th Panda algorithm targeted at content farms literally cut DaniWeb's US traffic by half. …

Member Avatar for macgizmoguy
5
3K
Member Avatar for Tony13

No, Wordpress is PHP based. However, Wordpress uses a templating system so you can modify the position and look of things just with HTML and CSS. If you want to add or modify features, though, you're either going to need to know PHP or be able to install Wordpress plugins …

Member Avatar for Tony13
0
97
Member Avatar for Dani

5 am and I lost track of time! No sleep for Dani! I made some massive changes to member profiles. Most of the changes are cosmetic, but there are two noticeable differences: 1. Activity points is now all time instead of just for today, because it was getting a little …

Member Avatar for Ancient Dragon
2
243
Member Avatar for skilly
Member Avatar for skilly
0
222
Member Avatar for Dani

In honor of the site relaunch, recent changes to the design of member profiles, and the new ability to change your username, I've gone ahead and taken that plunge myself. I've renamed myself from "cscgal" to "Dani". I feel I was long overdue to reinvent myself :)

Member Avatar for happygeek
0
34
Member Avatar for seoindia

Do a Google search for cache:[url]www.domain.com/page.html[/url] Edit: Oops, didn't realize this was page two of the thread, and the answer was already given.

Member Avatar for analyzea
0
251
Member Avatar for Dani

Now that there's a method to change a username, I think I'm going to take advantage of that. What does everyone think of me changing my username to Dani?

Member Avatar for JorgeM
0
229
Member Avatar for matanc244

A form can only have one action. If the form HTML is: <form action="index.php?do=delete"> then that entire form must be processed by that action. (You can use some Javascript to circumvent that, but then it starts getting tricky.)

Member Avatar for diafol
0
86
Member Avatar for Netcode

Welcome back! It's not just the UI that's changed, however. DaniWeb is now being run off of an entirely different system.

Member Avatar for Dani
0
184
Member Avatar for mrnutty
Member Avatar for ndeniche
1
233
Member Avatar for Rashakil Fol

It's actually not just the spell checker. The editor we're using now has a decent API that lets us do things like have the code button work the way it does. Essentially, it's not just code highlighting vs spell check. It's properly formatted code vs spell check. You guys have …

Member Avatar for Dani
1
423
Member Avatar for ndeniche

> How can I know when someone has replied to a post I've made, or to a reply I made to a post? The new notification system is called "watching" articles. Below the quick reply editor is a button that says "Watch this Article". You can also edit your preferences …

Member Avatar for ndeniche
0
255
Member Avatar for Dani

Finally brought back an old feature that's been on DaniWeb for years upon years ... related articles. What do you think of their relevancy?

Member Avatar for ndeniche
1
217
Member Avatar for Dani

The live editor preview that appears beneath the editor as you type (showing you what the final markup will look like in realtime) ... Yay or nay?

Member Avatar for Dani
0
335
Member Avatar for gerbil

> I have no idea what you're talking about. Parrot? Yes, because a parrot repeats whatever you say. "I do not follow the reason for the parroting of my work as I type" => "I do not follow the reason for the live preview repeating the editor as I type"

Member Avatar for Dani
0
271
Member Avatar for miteigi-san

We currently have a handful of issues and bugs related to our editor that I'd like to get straightened out 110% before making even more changes to the way it works.

Member Avatar for Dani
3
257
Member Avatar for Dani

I'm feeling a little dumb when it comes to the editor that we are using, and I was wondering if anyone knew of any good online tutorials for an introduction to tokenizers.

Member Avatar for Airshow
0
114
Member Avatar for WaltP
Member Avatar for luckydude

I took a computer science course last semester during which we had to learn C#. We didn't have to learn it in the context of .NET but instead as a Java-like language which could be used on Unix systems. The following were the resources the professor sent us to to …

Member Avatar for geric823
0
939
Member Avatar for Doogledude123
Member Avatar for Dani
0
180
Member Avatar for Dani

As many of you know, communities such as DaniWeb thrive on a constant source of new blood into the community. Existing members lose interest, personal lives take over, and even the most dedicated of members tend to stick around for a limited amount of time. The hard part is welcoming …

Member Avatar for TrustyTony
0
956
Member Avatar for Dani

We store a list of keywords in the database as a comma-delimited string. I want to use Sphinx to query against the field, but I'm worried that the keywords would all be treated as a single word since there are no spaces. I went ahead and edited the MySQL query …

Member Avatar for Dani
0
240
Member Avatar for thanh_cong

How can we help you? :) Do you have a question or did you mean to add this to our code snippet library?

Member Avatar for Dani
-1
218
Member Avatar for Patiodude

I'm confused by your question. The date column would be a column of your articles table, as would the message body column. For example, the following might be a structure of your articles table: id | title | body | date ------------------------ Your php code would then populate all four …

Member Avatar for diafol
0
292
Member Avatar for Patiodude

If you're using flat files to store information, linux stores the creation date of the file and you can use that, but I assume that if you don't have access to a database you're not going to have access to the shell either. Best suggestion would be for the first …

Member Avatar for Sogo7
0
261

The End.