1,576 Posted Topics

Member Avatar for RikTelner

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 …

Member Avatar for RikTelner
0
292
Member Avatar for Sizwe_1

Are you wanting to validate a form or do something else? Your question isn't very clear.

Member Avatar for hericles
0
101
Member Avatar for realmattbender

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

Member Avatar for Taywin
0
249
Member Avatar for Siberian

$(".box").click(function() { $('#circle').animate({height: '-=900px'}, 1300,'linear'); }); You were missing the curly braces and the 'px'. The '=' isn't required.

Member Avatar for Siberian
0
174
Member Avatar for iConqueror

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 …

Member Avatar for hericles
0
187
Member Avatar for safi.najjar1

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 …

Member Avatar for Airshow
0
2K
Member Avatar for Nebil

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 …

Member Avatar for Nebil
0
224
Member Avatar for davy_yg

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.

Member Avatar for veedeoo
0
2K
Member Avatar for ankit.baphna

Can you put an echo after this line: `if (!empty($_FILES["uploadedimage"]["name"]))` to prove this IF condition is being met?

Member Avatar for ankit.baphna
0
409
Member Avatar for davy_yg

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 …

Member Avatar for hericles
0
267
Member Avatar for ousaf
Re: SEO

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 …

Member Avatar for ousaf
0
167
Member Avatar for Mohamed_26

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?

Member Avatar for Mohamed_26
0
2K
Member Avatar for erum

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?

Member Avatar for hericles
0
86
Member Avatar for MasterHacker110

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 …

Member Avatar for hericles
0
198
Member Avatar for Jihadyildiz
Member Avatar for safi.najjar1

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 …

Member Avatar for safi.najjar1
0
354
Member Avatar for Nicholas_5

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 …

Member Avatar for hericles
0
298
Member Avatar for Adam_16

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 …

Member Avatar for Adam_16
0
91
Member Avatar for Kalaivani Nair

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 …

Member Avatar for Kalaivani Nair
0
358
Member Avatar for vishal anand.s

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?

Member Avatar for vishal anand.s
0
404
Member Avatar for guyinpv

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.

Member Avatar for iamthwee
0
318
Member Avatar for Sgo_1

Could you explain your problem more clearly? What is it you are trying to do and what is stopping you?

Member Avatar for gudegjawa
0
90
Member Avatar for iConqueror

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. …

Member Avatar for hericles
0
162
Member Avatar for sushmaja.arumalla.9

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.

Member Avatar for hericles
0
259
Member Avatar for Roisin

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 …

Member Avatar for rubberman
0
2K
Member Avatar for Yorkiebar14

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?

Member Avatar for hericles
0
733
Member Avatar for Siberian
Member Avatar for pwolf

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 …

Member Avatar for pwolf
1
175
Member Avatar for Prateek_2

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 …

Member Avatar for Yorkiebar14
0
241
Member Avatar for abualgasim.mahmoud

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 …

Member Avatar for Nada_1
2
142
Member Avatar for ignnniter

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.

Member Avatar for tinstaafl
0
134
Member Avatar for surfingturtle

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)

Member Avatar for BibhutiAlmighty
0
457
Member Avatar for omthavertch

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).

Member Avatar for Ketul_1
-1
102
Member Avatar for om web

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 …

Member Avatar for Shashikant_1
-2
160
Member Avatar for Siberian

What is tutorials? Shouldn't it have a # or . in front of it if it is a page element?

Member Avatar for Siberian
0
345
Member Avatar for iConqueror

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 …

Member Avatar for iConqueror
0
210
Member Avatar for Struct.dorlitz

Your user control just needs to include a picture box for you to pass the image url to. Or am I missing something?

Member Avatar for Struct.dorlitz
0
214
Member Avatar for riyaz123

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 …

Member Avatar for Nada_1
0
165
Member Avatar for mikeybware

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 …

Member Avatar for mikeybware
0
231
Member Avatar for kategirdlelock

Your question is unclear. Do you want to learn HTML? Because if you knew HTML your question would be redundant...

Member Avatar for veera100
-9
284
Member Avatar for mero_1

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 …

Member Avatar for DJBirdi
0
304
Member Avatar for wikit

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. …

Member Avatar for Banderson
0
317
Member Avatar for Alson

Matter of opinion about which is the 'best' I guess but I believe the most used language for game programming is C++.

Member Avatar for CJMW
-1
255
Member Avatar for Jack_9

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 …

Member Avatar for hericles
0
112
Member Avatar for Jake2025

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.

Member Avatar for DJBirdi
0
166
Member Avatar for newbie14

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 …

Member Avatar for veera100
1
317
Member Avatar for devgit2810

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)

Member Avatar for veera100
0
188
Member Avatar for omthavertch

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 …

Member Avatar for thaversantosh
-1
209
Member Avatar for samy.youssef.12
Member Avatar for samy.youssef.12
0
397
Member Avatar for Mr.M

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 …

Member Avatar for Mr.M
0
211

The End.