1,576 Posted Topics
Re: Your $result variable probably is false, which isn't a resource and so the fetch_array is failing. Check your query returns a result set and not an error. If it is failing to query I'm guessing $id isn't a value. So, output the string that makes up the complete query to … | |
Re: Are you wanting to validate a form or do something else? Your question isn't very clear. | |
Re: And what are you using? Because by itself HTML is stateless, you reload the page and it will draw itself as specified in the HTML, which in your case, is with neither radio button selected. You would need either sessions, cookies or some other form of postback | |
Re: $(".box").click(function() { $('#circle').animate({height: '-=900px'}, 1300,'linear'); }); You were missing the curly braces and the 'px'. The '=' isn't required. | |
Re: The biggest difference between the two (to me) is that interfaces don't contain implemented methods. They only define the structure that the inheriting class must take, whereas abstract classes can be partially or fully implemented with complete methods. Interfaces are usually said to be a contract that the developer must … | |
Re: If your HTML snippet is the same for all rows then each product has a label with a class of 'count'. Which means in your jQuery all of the labels get incremented as the jQuery is affecting all of then, not just the one beside the button you happened to … | |
Re: Databases hold data, thats all there is to it. If I understand you correctly you want to add values to a form or program, run the calculations and save the results. If thats true, the vb code will be responsible for performing the calculations and then it passes the results … | |
Re: As far as I know empty() only takes one variable. The error is complaining about ALL of the && in your code, not any particular one. | |
Re: Can you put an echo after this line: `if (!empty($_FILES["uploadedimage"]["name"]))` to prove this IF condition is being met? | |
Re: As far as sending the email goes, are you trying this from a server or just on your local machine? Because you need a working mail server for the email to be sent. As for the link to the third page, a link that includes either the user's email or … | |
Re: You say you've added meta tags but I don't see a meta keywords tags in your head section. The description could be more relevant to the search terms you want to be known for. The main page has very little text that is SEO relevant or practically any that explains … | |
Re: Your $dbhandle object doesn't exist. Is it being declared in the connect.php and are you referring to it by the correct variable name? | |
Re: This may help you, [Click Here](http://stackoverflow.com/questions/12695563/crystal-reports-for-vs2012-vs2013), as others seem to have had problems too. But, to really help out, what was the error message? | |
Re: Why are you doing it this way? If you want a particular employee and you're entering the name, why aren't you adding that information to the SQL query and retrieving just one row? As it is, the code is failing on any employee beyond the first one because of the … | |
Re: Can you confirm you have added the correct USING statement? | |
Re: If I understand your question you want to insert a product into the products table and then, depending on whether it is an accessory or a smart device, also insert into the relevant secondary table. So your secondary, subclass tables will have a productId column that matches the productId in … | |
Re: You can search as many columns as you want if you think the input is going to vary. You just want to only return one column and make sure the result set is distinct so you don't have multiple instances of the same name appearing in the list. Say, for … | |
Re: The best idea is to rebuild something you see working, making some additions, add a new function. If you've read a book with some non-trival examples, build them as they are in the book and then build them again with changes. Its best to alter something you know works until … | |
Re: That code sample clearly isn't making any SQL queries so you'll need to look at your code that is. Presumably at some point you are building up an SQL query that is being incorrectly structured because it is attempting to concatenate a null string. I'm guessing that is why the … | |
Re: If you just want the ID of the user logging in why don't you select the ID in the logging in query rather than return the count? | |
Re: Have you looked at Alfresco? It's based on the document sharing idea, a bit like sharepoint, but is quite customisable. It won't have everything you need immediately but it must tick a few boxes at least. ![]() | |
Re: Could you explain your problem more clearly? What is it you are trying to do and what is stopping you? | |
Re: I can confirm this as true. It's not perfect however, you can fudge the script tags in various ways that the script analyser will ingnore and pass through (I saw some methods that use comment delimiters). But inputting <script> tags into inputs in Chrome doesn't work, they get scrubbed out. … | |
Re: Do you have any CSS specifying overflow:hidden for the divs containing the radio buttons? Sounds random but I know thats been an issue before. | |
Re: It looks like all you need the variable to hold the translated string as it is built up. Define another string at the top and each loop through concatenate the translated pig onto it. You can use the StringBuilder class for this rather than doing += on a string for … | |
Re: To be clear, are you saying that the database removes the rows? that is, no calling code is responsible? And if the database has removed a row, your app won't add it again like its supposed too? How are you determing that a row has disappeared? | |
Re: You have an extra ) after the '-1200'} | |
Re: I've had a desk that could go from sitting height to standing at the push of a button and once I figured out the correct height to have the desk for standing and typing it was great. No adverse affects. I really don't see how the same could be said … | |
Re: Without knowing more about the queries users will be placing against the database it is hard to be sure but making sure all inputting transactions are wrapped in transactions should stop most conflicts. Any solution that involves locking the required columns or tables during queries should mean max(id) always returns … | |
Re: A strong password maybe?? I take you are referring to people hacking your password right? In which case you can't stop someone from guessing your password, if they have enough time time they'll get it. You can make that a lot harder but using a long password made up of … | |
Re: Make line 26: Loop Until count = lines.Length - 1 If you debugged this and stepped through it you would see that your loop is going around one time too many. Remember, you start your counter at zero but the length of lines starts at 1. | |
Re: This youtube link popped up in my 'what to watch' feed the other day and maybe of interest to you. It pretty much answers your question (I think, I didn't watch much of it), I think it would be useful for someone starting out, [Click Here](https://www.youtube.com/watch?v=zXqs6X0lzKI) | |
Re: If you mean some forums do allow link follows and some don't, you're right. Not all forums allow things like your signature or bio links to contribute to your site's page rank. Daniweb doesn't (unless I'm mistaken). | |
Re: No follow stops net crawlers from following links away from your site to the linked site. By using no-follow you can prevent your page rank transferring to the linked page and prevent the search engine from adding the linked page to their graph of the web (via your site at … | |
Re: What is tutorials? Shouldn't it have a # or . in front of it if it is a page element? | |
Re: The AddRange function simply adds all of the objects in the added range to the arraylist. In your example, your arraylist would contain three items accessible at positions 0, 1 and 2. Think of it in terms as appending the array to the arraylist, it just gets tacked on the … | |
Re: Your user control just needs to include a picture box for you to pass the image url to. Or am I missing something? | |
Re: While they can make your site look like it is actively putting up fresh content TO A WEB CRAWLER, it does nothing for the real users of your site. If you don't want people to come back to your site then, by all means, keep posting up the same content … | |
Re: The parentheses is the problem. Your statement is trying to provide everything in the select statement as one column which means the total number of columns doesn't match. Something like this will work: insertString = "INSERT INTO SocialHistory (ExamID, Occupation, SafetyYN, ComputerYN, ComputerHrs) SELECT " & CurrentExamID.ToString & " AS … | |
Re: Your question is unclear. Do you want to learn HTML? Because if you knew HTML your question would be redundant... | |
Re: Most payment portals have an API that allows the website to make calls to the payment provider. exactly how they operate and fit together depends a lot on the particular provider and their API. Obviously, PHP skills help a lot. Did you understand how the API works and looks at … | |
Re: You simply need to do a query to the table searching for that user name. If one row is returned then they have already created their account so redirect to the update page. If no rows are returned, they don't exist in the database so redirect to the insert page. … | |
Re: Matter of opinion about which is the 'best' I guess but I believe the most used language for game programming is C++. | |
Re: Its the new (and not so new) javascript libraries like jQuery and angular that are moving javascript forward. If you wanted to limit yourself to plain old, original javascript, dart probably would be better. The only real answer someone can give is to analyse the project and pick the best … | |
Re: So you are seeing the 'invalid student id' error? That would suggest your query string is returning zero. Confirm the format of the string by echoing it and make sure the variables match your user id and password in the database. I'm guessing the query string is incorrect. | |
Re: Which CSS template are you using to do this? I note you have a classes such 'div-fluid' and row-fluid'. Those would imply you are using a fluid layout which would adjust depending on the available screen size. If you are using a template CSS there probably are classes which define … | |
Re: You can use google web fonts for that. You download the font via an href to the google font location. Here is Google's [getting started guide](https://developers.google.com/fonts/docs/getting_started) | |
Re: Not sure what you mean by a database site. Are you referring to a database driven website where all of the content comes from a database? these cases are no different from static websites. A crawler lands on your page and the page loads as normal, thereby making all of … | |
Re: Have you got the correct modules enabled in your php.ini file? | |
Re: Facial recogition is a reasonably complex and involved solution. I don't think you'll get a response on a forum that would really do it justice. There are a lot of facial recognition libaries out there, not sure what the cost, but that would be a better alternative then starting from … |
The End.