An Algorithm/PHP code for word finding game [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Well, I recently have been trying to come with code to create matrix in which word hunting can be done. I want the user to initialise rows, columns and of course give the words, it is too difficult to create such code/algorithm as the words can be placed vertically, horizontally or diagonally. I also tried google for such algorithms but without any luck. So, if anyone has an algorthm in mind or has written such PHP code, itll be really great if I can see that.
Thanks in Advance,
Nalin Bhardwaj

I am so sorry , I posted this question here, as suggested by one of the users, I googled a few different things online an dhave found a ruby file which has been built for the same purpose. And , if anybody would like to access it, they may check it out online at http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/298382 . And, now I have decided to use this algorithm itself to create such a PHP file. Thank you everybody, for suggestions

Related

Q&A Forum - Logic [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm not asking for help with coding I'm just asking for somebody to help me come up with an idea of how I would make it.
Basically I want to make a basic Q&A forum, I guess you could say its like Stackoverflow, but not nearly as advanced its just something quick to add onto my website.
I was thinking of just making a default form you fill out to post what you want then it'll just save the POST of all the data into a table in a database and it'll give it an auto_incremented ID. The only thing I can't think of is how I would display all of them on the homepage, make it so it only displays a maximum of 15 posts and then make different pages like Page1,2,3,etc...
Should I check the table for how many rows there are and then save that amount as a variable then make it post them in order from what ID they have? I'm not sure what I could do for comments and everything but I would love your guys help with figuring this out!
As I said this isn't really much about the coding, its more about figuring out the logic behind how I would make it.
What your asking about is termed pagination here's a php tutorial
http://net.tutsplus.com/tutorials/php/how-to-paginate-data-with-php/

How to learn magento [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Hi I want to learn Magento, I am doing PHP for almost 2 years learn CMS and framework. Now want to learn Magento but I do not found any solid source to understand functionality and DB structure of magento. If any one can give me some books name or good article that will be very helpful thanks..
The best way to learn Magento is to solve issues as you go along. Maybe a good place to start is this:
http://www.magentocommerce.com/knowledge-base.
Also the guys at siteground did a nice thing with this: http://www.siteground.com/tutorials/magento/
Other than this, maybe you should actually start working on a task and when you hit a brick wall (this should happen very fast), just see how other people solved the issues.
As for database structure, maybe you should read about the EAV paradigm. This is how the products, categories and customers are stored in the DB.
If you insist on a database structure here it is...but good luck with that.

Magento - I need a "Good" tutorial on howto create a custom contact form [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I found heaps of tutorials on Google, but none of them actually cover howto "create" the form, they all revolve around modifying an existing form(and overwrite it), rather than creating a new one by duplicating it.
Anyone know of a good tutorial that will show me how to do that?
Ideally I need to get file attachments in there too, but that'll come later :P
This tutorial might help you http://activecodeline.net/magento-custom-email-contact-form-with-notification-system
First of all, while you can make a contact form itself in HTML, and add basic interaction with Javascript, you'll have to use PHP with the send email function to send the email to yourself. PHP will also be used to upload files.
I don't think there's any one perfect tutorial, as you'd generally want to read a tutorial to get the gist of how its done, then do it your way, but you could try one of the ones here: http://www.html-form-guide.com/category/email-form

Manage Tags for entries of the website with JS and PHP [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
In my webiste, I classify all my entries by categories, wich its becoming a little confusing as I have like 3.000 entries now.
so, I need to implement tags.
I know all the website use them now, wordpress and everything.. I have been google'ing for a real while... is there a built in script (or almost) to manage tags? (insert tags, list tags, top tags,.)
I mean, there has to be any utility that can help me with this.. do you know any?
you haven't found a script probably because using tags is quite simple :)
I have implemented tags into one of my projects using the "Scuttle" solution in the next link:
http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html
Hope this helps...
Treat your categories as tags now.
If your categories are not poly-hierarchical, then consider making them so.
(eg an article could appear in more than one category)

Any Tournament APIs out there? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Are there any APIs for helping running tournaments that can draw brackets, count scores, etc? Something on PHP/javascript would be nice but I can't find any.
Thanks.
I'm in the process of building one right now.
Mine supports Round-Robin, Single-Elimination, and Boil-Off tournaments! I am working on Double Elimination as we speak. [I actually need to get it done for an event we have this weekend. ;)]
It also supports the folowing scoring modes: Highest Score (Team Sports), Lowest Score (Golf, etc.), Highest Time (King-of-the-Hill), and Lowest Time (Racing, etc.).
http://tournaments.codeplex.com
Here it is in action:
http://lanlordz.net/Events/ViewTournament/4
As you can tell, it was optimized for LAN parties.
It is not in PHP; but, I would encourage a port to PHP.
http://www.tourneylogic.com/products/bracketcontrol/default.aspx
Not free though
There is a pretty useful jquery plugin that draws a binary tree which can be used for building tourney brackets.

Categories