hericles 289 Master Poster Featured Poster

That code snippet has nothing to do with the database insertion or how that scanID is being used. Can you post that up?

hericles 289 Master Poster Featured Poster

You could use a literal control with HTML links for the products, or a combo box/drop down list with a set number of lines showing.

hericles 289 Master Poster Featured Poster

What exactly are you having trouble with? What vaule do you want to store (the start or end value of the counter maybe)?
This script really is simple to use: set up a div you want to hold the counter, add the CountUp js file and call the method. Clearly you want to do something more than that. A deeper explanation would help us out.

hericles 289 Master Poster Featured Poster

I've done a few microsoft certifications and I, personally, found them quite valueable. The topics were new to me, interesting and passing the exams was reasonably difficult due to the level of knowledge required. Which meant by the time I passed them I actually knew the stuff. Which was the point.
How valuable an employer would find them is really dependent on the employer. Some people value the certification itself, others the fact that you went out of your way to do it. Others don't give two hoots.
So, would you benefit? Almost certainly from a technical skill level view point. Would your employer? yes, you've improved yourself. Would other employers downthe line value it? Impossible to say.
My advice is don't view the certification as a bit of paper that said you did something but rather as a way to make yourself a better, smarter, more highly skilled individual. That'll speak for itself.

hericles 289 Master Poster Featured Poster

Look for articles like these: google ranking factors
these will tell you what factors SEO experts THINK are important. From those you can see where to best spend your time, effort and, possibly, money.
But, you won't get to top position in a month unless you are competing for specific, rare keywords.
these questions get asked on forums all the time and the simple answer is, if it were that easy everyone would do it.

hericles 289 Master Poster Featured Poster

If I understand you correctly, by opting to start a course in a specific month means you know two things: age and birth month. From that you can get ??/mm/yyyy accurately but you'll never get the date. You simply need more information.

hericles 289 Master Poster Featured Poster

Have a go at it first at least. We're help you if you get stuck. Although I will say all you need is a loop going up to N and IF statements that determine what to output based on modulo division of the current number.
Its that hard, although it might seem like it to a beginner.

hericles 289 Master Poster Featured Poster

PHP scripts run on the server, obviously, so you would need to post the data back once the AJAX request had finished. You could do that either by submitting the form or doing another AJAX request aimed at the target PHP code.

hericles 289 Master Poster Featured Poster

You aren't setting age to be a new value so it always stays at its original value of zero. Thats always less than 5 so your loop never ends.

hericles 289 Master Poster Featured Poster

Are each of your search values (brand, model and paper) actual values?
If they are empty values then they will return everything as
LIKE '%$brand%' is equivalent to LIKE '%%' if $brand is an empty value, which matches all values in that column.

hericles 289 Master Poster Featured Poster

You say you're moving images to the database but is it the move_upload_file you are having trouble with?
If it is, that function returns a warning if something goes wrong so you can turn warnings on and see the problem. But you can also check the filename stored in $prodimg is valid and that your destination folder exists and is writable.

hericles 289 Master Poster Featured Poster

Because you've chosen to name the table in the FROM clause ('FROM student AS s'), you need to use that name in your selection part of the query
SELECT s.student_code...

hericles 289 Master Poster Featured Poster

You aren't setting the decstore variable to be any value so when you try
If decscore > 0 Then
it failing because decstore isn't greater than zero. I think that piece of logic is incorrect but it all depends on what you expect decstore to be I guess.

hericles 289 Master Poster Featured Poster

The biggest mistake freelancers do when starting out is charging too little (generally thinking they can't ask too much for their current skill set). Find out what the average per hour for web design work is and use that as your base. You can go lower of course, but just keep it reasonable, don't sell yourself short.
If you're planning to charge per hour then charge a decent hourly sum remembering that this is a technical skill set. If you plan to charge for the project then calculate a decent pay rate based on how long you think it will take to do plus a fudge factor (for issues you run into along the way).
More important than that is to clearly define what it is you will do and what the client expects. Get that in writing and then work to it.
Everytime the client wants something that wasn't in the originl scope thats more money to you. DON'T GIVE AWAY YOUR TIME! Even if it's ten minutes work, your clients need to know that extra work means extra cost.

hericles 289 Master Poster Featured Poster

What keyword did you pick?
You can use the google tools available on the adwords site (I think thats where they are)to see how much competition exists for a key word or phrase and how often it is searched for.
Hopefully, you haven't picked an incredibly popular search term thinking you can beat everyone else.
Also, there is a lot more to SEO than just picking a good key word. Have you done everything else you can to improve your rankings?
And, lastly, how long ago was this keyword selected? Some things just take time.

hericles 289 Master Poster Featured Poster

Do you mean you don't know how the connection string looks or you don't know the credentials to the database? Because we don't know them either...
If you have SQL Server management Studio or something similar installed you should be able to get the server name easily enough (it'll show in the list of databases).
If you set up the SQL database didn't you set up credentials at the time?

hericles 289 Master Poster Featured Poster

You can use CSS and divs/spans or <ul>/<li> to get a similar effect if the structure isn't too complex but if you intend to display tabular data then a <table> is the best way to go. That is what it is designed for.

hericles 289 Master Poster Featured Poster

The other day I came across
"I came into the world kicking, screaming and covered in somebody else's blood. I have no problem going out the same way."
Not your usual 'Be all you can be' quote but I still like it.

diafol commented: brilliant +0
hericles 289 Master Poster Featured Poster

There are quite a few of us on here that would be willing to help. Is there a test site we can view?
What is the exact nature of the problem?

hericles 289 Master Poster Featured Poster

Hi,
With PHP that is generally done server side. For example, your user would select an option and then submit the form by hitting a button. The server side PHP gets the value of the option out of the $_POST data and then does what it needs to do, query a database, do a calculation, etc.
That requires a round trip as the formhas to be submitted but you can streamline the process by using AJAX to send of the value of the option the minute it is selected. The result will get posted back and the page can be updated.
You should find plenty of tutorials on the net if you look for 'php ajax'.

hericles 289 Master Poster Featured Poster

Access denied means you need to look at your connection string. You're pointing to the wrong database, have the user name wrong or that user doesn't have access to that particular database. Something about your connection attempt is the cause of the error.

hericles 289 Master Poster Featured Poster

That error happens when you try to fit a vaue into a type that can't hold it, like putting a number over 2,147,483,647 into an integer. It won't fit, 'overflowing' and causing an error.
Your question makes it sound like this is a piece of software you are using rather than code you are trying to debug. Is that correct?

hericles 289 Master Poster Featured Poster

Sounds like a permissions issue.You don't have the rights to access the file. You can check this with the is_readable('/location/') function.

hericles 289 Master Poster Featured Poster

Might be time to post up the code for the page. Seeing a completely blank screen means you've got a fatal error in the PHP that causes it to basically crash.

hericles 289 Master Poster Featured Poster

Firewall? What happens if you try to connect to that address via the browser on the phone (or a test html page in the same location)?
If you can hit a test page (or not) then you can start to narrow down what the cause might be.

hericles 289 Master Poster Featured Poster

Are using a web server in your setup?
You can't just rename an html file to have a php extension and have it work. PHP files are compiled by a web server (Apache, IIS, etc) and sent to the browser.
If you have an html ffile just lying around in a directory somewhere and rename to PHP nothing will happen, the page definitely won't present itself correctly in a browser.
If you haven't got an apache/WAMP set up running you'll need to look into that first. There try the CAPTHA thing again.

If you have further issues post up the code and have a look at the error logs from the server. They'll give you a hint as to what is going wrong.

hericles 289 Master Poster Featured Poster

Your question isn't very clear. Are you asking how to insert data into a database in general or are you after more specific?

hericles 289 Master Poster Featured Poster

I'm not failar with that framework but I did notice that on line 6 you include an 'or' in the where condition but not in the one above.
Surely if you need it in the second, its's needed in the first?
Just a thought...

hericles 289 Master Poster Featured Poster

DeviceType isn't showing the list of reserved words for SQL Server but it does seem to be a named enumeration in SQL Server 2012/14. You might want to use a different name for that table in case it is conflicting with SQL Server internal structure.

hericles 289 Master Poster Featured Poster

Remove the <pre> and out the result. It should be XML. Pre formatting is hiding that from you.

hericles 289 Master Poster Featured Poster

Your directory doesn't look right to me:
C:xampphtdocsportaladministrator2adminupdate_image2.php

I'd say you're missing some directory separators.Thats why the image can't be found.

hericles 289 Master Poster Featured Poster

Any error logging available? With not much to go it it would appear that the code that reads the parameter and does the SQL query is failing or can't connect.
Either thing should be putting out a log hopefully. What platform are you using?

hericles 289 Master Poster Featured Poster

Your IF statement checks against maxwidth and maxheight but you output maxheight_bn and maxwidth_bn. How do you know they're the same?
As the code in the loop is firing either the width or the height is greater than maxwidth or maxheight.

hericles 289 Master Poster Featured Poster

IE 11 is out now and lower versions of IE are really bad and quirky. I'd say just let it go. You're looking at less than 1% of all users (and thats without taking your target demographic into account) using IE7.
You have to ask yourself if its worth your time...

hericles 289 Master Poster Featured Poster

We don't do homework. We'll help you when you're stuck but you'll need to show some effort first.
If you are stuck, post up what code you have done and explain the problem you're having.

hericles 289 Master Poster Featured Poster

We'll need more than that to help you out.
What is the CSS that goes with that class? Or are you using something like font-awesome?

hericles 289 Master Poster Featured Poster

Its a little more advanced than your example but you could screen scrape your website page and get the value of the textbox that way and then check it against your project textbox.
But you won't find anything as simple as
if me.textbox1.text=www.mywebsite.com.textbox1.text then

OMER AHMED commented: nice but need more details please +2
hericles 289 Master Poster Featured Poster

What error?

hericles 289 Master Poster Featured Poster

You can use a SMS provider to host a phone number that the SMS's get sent to (like Twilio for example). From there, the contents of the SMS get sent to a webservice at a URL you control, like posting data in a form, and the website can then do what it wants with it. That includes passng back data to Twilio (for example) to et SMS's back to the end user.
Being blank about coding might be a slight problem when dealing with the API.

hericles 289 Master Poster Featured Poster

Simply make sure that for each column you have listed as a target you have a corrsponding value being entered. As a basic SQL example, this won't work:

UPDATE products(col1, col2, col3, col4) VALUES('1','2','3');

because a value is missing for one of the specified columns. In your example I pointed you to the missing $link variable.

hericles 289 Master Poster Featured Poster

A mobile website is a site that has been built using responsive design and can adapt to varying screen sizes and still look good and function correctly.
A website that is not mobile friendly will try to present itself as it appears on a desktop screen to a phone or tablet, the result being either tiny, ugly, or functionally broken.
A website designed to appear on a phone will have a different menu and navigation system for example. Some sections of the page that appear on larger screens may be removed entirely or styled differently on the small screen.

hericles 289 Master Poster Featured Poster

That error means you haven't listed your columns correctly and you're trying to insert more or less fields than you have specified columns.
You list image, thumb, pid and link as columns but have only listed $val, $avl1 and $pid to match them.

hericles 289 Master Poster Featured Poster

That query seems to be saying you only have 6 rows in the database with a value of 'van1'. I would have to say it is correct as the query is pretty straight forward. Have a close look at your data and see whats going on.
Is lower case an issue e.g. van vs Van?
There is no other data in the van column, trailing spaces, etc? You could test that with a LIKE against '%Van1%'

hericles 289 Master Poster Featured Poster

Are you referring to calculating the EAN-13 check digit to check for errors?
If that is what you are after, EAN check digits are calculated by summing the odd position numbers and multiplying by 3 and then by adding the sum of the even position numbers. Numbers are examined going from right to left, so the first odd position is the last digit in the code. The final digit of the result is subtracted from 10 to calculate the check digit (or left as-is if already zero)
(taken from wikipedia).

hericles 289 Master Poster Featured Poster

Sorry Smalls, this doesn't make sense. What are you trying to achieve?

hericles 289 Master Poster Featured Poster

You can read the plist into an NSData object and then convert that into an NSDictionary. This SO question has a couple of examples Click Here

hericles 289 Master Poster Featured Poster

It looks like padding on the view is moving it slightly to the left.
What code do you have specifying where the view is positioned in the main window?

hericles 289 Master Poster Featured Poster

Well, first off you should probably know that asp (active server pages) is pretty out-dated now. The windows modern version is either web forms (.aspx) or MVC (model-view-controller).
Or you could learn PHP, Rails or try out a javascript based option like AngularJS.
But whatever you pick there are plenty of tutorials online for absolute beginners. You can get free ebooks for most programming languages so you can do some self study with dropping any cash.
If you don't know HTML I would suggest heading over to W3C schools and starting there.

hericles 289 Master Poster Featured Poster

Step one would be to design and build the database. Once thats done you will need a webservice for the app to talk to that pushes the data to the database.
Then you can build the app and make sure it can connect to the webservice and store data in the db.
After that you have the final step of building the GUI in whatever language takes your fancy, you're not limited to PHP at all.
Obviously we can't go into very fine detail here but those are the steps I would follow and the order I'd do them in.
If you run into problems with specific parts of the project we can help you.

hericles 289 Master Poster Featured Poster

Do you mean you want to develop a web app (HTML5) without Android code or do you literally want your app to be code free? Because that doesn't make too much sense. It's like trying to write a book without putting in any of those pesky words.