8,966 Posted Topics
Re: If you `echo $sql;` do you see the correct query? | |
Re: Use the paperclip in the toolbar. `data base` should probably be `database` | |
Re: > Please do the needful. What do you have so far? | |
Re: Please do not bump your threads. Am having difficulty understanding what should be in your class. If it's just CSS or not. | |
Re: ActiveX only works for IE. Try jQuery or another Javascript based XML tool. | |
Re: > We all want to show our gratitude for the post Because it adds nothing of value to the thread. If you want to thank the one who gave you the solution, upvote him or give reputation. Thread closed. | |
Re: http://www.daniweb.com/web-development/php/code/437655/getting-products-details-from-categories-subcategories-with-ajax-call- | |
Re: Make sure the foreign key exists before inserting. Apparently you're adding a record pointing to something that does not exists yet. | |
Re: It's a Java applet. I don't think you can get at it's data just like that. | |
Re: http://technet.microsoft.com/en-us/library/ms181765.aspx Am not sure what you want, can you give an example of in-/output? | |
Re: http://dev.mysql.com/doc/refman/5.1/en/alter-table.html RENAME is for tables. ALTER TABLE static_content CHANGE COLUMN title shorttext VARCHAR(255) Adjust the column type accordingly. | |
Re: Try multiple websites built with different technologies. Then you can compare how they differ in preventing such attacks. | |
Re: One of your values on those lines is an array, but it's not expecting one. Check what your variables contain. Given just this small code snippet, it's impossible to determine what's what, and what's wrong. | |
Re: > Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given Your MySQL query failed. Show the query if you need more information. | |
Re: Google is your friend: [url]http://www.webcheatsheet.com/php/blocking_system_access.php[/url] | |
![]() | |
Re: > This is what I want: This is probably what you want to show on your site. If you use the two tables Jorge mentioned, that output is easily constructed with a single query on both tables (GROUP_CONCAT). Do not design your tables around what you want people to see, … | |
Re: > In order to avoid duplicates in names when inserting new names. Why not use a unique index on that column? | |
Re: > I don't know what is wrong What happens, or what doesn't happen? Any errors? | |
Re: You can use SQLite or MySQL as your database. I do not recommend a file, if multiple users will be accessing it. Then you can use a tool, or write code yourself to allow editing. | |
Re: Regular expressions are not for creating strings, but for parsing them. | |
Re: I've lost a little bit of everything too. I guess deleted threads were no longer taken into account (fine by me). | |
| |
Re: > How do I go about fixing this? You can store the file paths in the database, or use `glob` to get the files in the folder, and display them as links. | |
Re: If it contains single quotes, it can also fail your query. ![]() | |
The following snippet shows how you can use binding in your queries when using MySQLi. For starters, here's the table structure I've used: CREATE TABLE `mytable` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) DEFAULT NULL, `email` varchar(255) DEFAULT NULL, `dob` date DEFAULT NULL, `level` int(11) DEFAULT NULL, PRIMARY … | |
Re: > But I search for encryption that cannot be predicted Use a method where they key size equals the data size. | |
We want to start mobile development (starting with Android). Our two most likely candidate tools at this time are Phonegap and Xamarin. I'd like to hear about any thoughts on and experiences with either of these packages. Am trying to decide what to use for a first prototype (business software). … | |
Re: This is a recursive tree traversal. You cannot do this in a single query. If you search this topic you find some solutions, but most use a couple of stored procedures. | |
| |
Re: Does it matter in which position that meta tag is? (before/after the CSS) | |
Re: If you can't find one, why not pay someone to build one for you, and then resell it? | |
Re: > The drink I can probably make at home. Even if you could make it at home, depending on where (country) you are, there are strict rules on the information that needs to be on the bottle. In case of biological produce, it needs to be tracked to it's origins … | |
Re: > Closing thread getting attention of people who are not willing to pay for study materials as they should! Closed again. | |
Re: I see the button for "mark unsolved" so the button works. I suggest you click it, and see what happens. It's a reversible process. | |
Re: > I think that the earlier design was much better. Agreed. It looks very chaotic, and imo the centering just doesn't work, especially since you don't use it anywhere else. | |
Re: > I need the time taken for each row to be inserted and then find the percentage of that. You can't with the above code. By the time your code gets to the loop, the query has already been successfully completed. ![]() | |
Re: It would've more helpful if you had added this to your original thread, I don't browse this forum very often. I already pointed you to this tool twice: https://json.codeplex.com/ | |
Re: Found this thread after replying to your PM ;) Basically, you can retrieve the (cached, without logging in) solved threads for a forum by building an URL and using that to retrieve data from the API. I have PHP classes on GitHub that do this. Basically, it's the same in … | |
Re: Technically nothing. It seems you didnt read my reply in your other thread. | |
Re: Search this forum for pagination, already several samples available. |
The End.