8,966 Posted Topics

Member Avatar for DanielAus
Member Avatar for hanan-kh

Your method: function addnews($t2, $t1, $f1, $date) { mysql_query("insert into news (title, content, pic, date) values ('$t1', '$t2', '$f1', '$time') "); } Two things with this: 1. You use `$date` as parameter, yet use `$time` in the query. 2. Add error logging (at least while testing) to see if/what goes …

Member Avatar for hanan-kh
0
284
Member Avatar for varunsara

One thing I notice is `$message` is undefined (line 19). Am not so sure though, that `curl` raises exceptions on errors.

Member Avatar for pritaeas
0
425
Member Avatar for Rahul47

Technically the code is correct. I assume it's not doing what you want. What do you want to happen, and what is it doing instead?

Member Avatar for pritaeas
0
45
Member Avatar for riahc3

Have you tried the domain without the leading dot? It should be ignored, but I don't know how strict browsers are with this.

Member Avatar for riahc3
0
137
Member Avatar for alfiechiong

From what [I've read](http://www.html5rocks.com/en/tutorials/workers/basics/) this is because the worker is running in a separate thread. The whole purpose of these workers is that they run separate, without DOM interaction.

Member Avatar for alfiechiong
0
120
Member Avatar for asifalizaman

Install a local webserver (WAMP/XAMPP). You can use a text editor, but a good IDE to help you write code and debug is recommended. Use php.net as your main reference, decide on an application to build, then find a tutorial on that specific subject to get you started.

Member Avatar for diafol
2
293
Member Avatar for aisha.edris1

> i have problem my login it's not running plzzz help me Describe your problem, what you have tried and any other relevant info. "It's not running" is just vague.

Member Avatar for aisha.edris1
0
204
Member Avatar for daniel.ngugi.980
Member Avatar for silvercats
Member Avatar for skliz

Tutorial on [Open Redirection Attacks](http://www.asp.net/mvc/tutorials/security/preventing-open-redirection-attacks).

Member Avatar for skliz
0
154
Member Avatar for RvSon
Member Avatar for Rasool Ahmed

Perhaps [this thread](http://www.daniweb.com/web-development/php/threads/234868/error-commands-out-of-sync-you-cant-run-this-command-now) can help.

Member Avatar for Rasool Ahmed
0
431
Member Avatar for lewashby
Member Avatar for shihab2555
Member Avatar for abhi10kumar

http://framework.zend.com/learn/ http://framework.zend.com/manual/2.1/en/index.html

Member Avatar for pritaeas
0
40
Member Avatar for Violet_82

You selector is `div:hidden:first` and they work in that order. `div` will list all divs in your DOM. `:hidden` will filter that list so it only contains hidden divs. Lastly `:first` will return the first of those, so the first hidden div it encounters.

Member Avatar for Violet_82
0
413
Member Avatar for mirchi.mike

If you mean it's still visible when you do "View Source" then yes. That only shows the initial downloaded page. If you inspect the page with the developer tool, you see what's in the DOM. Your element should not be shown there.

Member Avatar for pritaeas
0
47
Member Avatar for thetwig

Your "submit" is a link tag, which does not submit automatically. You either need to use Javascript code to trigger the submit, or use `<input type="submit"/>`

Member Avatar for thetwig
0
329
Member Avatar for techyworld

If you control what is returned from the database, then you can decide to return the total number of records with every call. What I would do is an Ajax call that has the current page as parameter, and the number of items you want to show. What I would …

Member Avatar for lambing
0
201
Member Avatar for paku_dnj

Like so in MySQL, but you need to add the column type again. ALTER TABLE table_name CHANGE COLUMN course_name course_title VARCHAR(64) In SQL Server you can do this: sp_rename 'table_name.course_name', 'course_title' , 'COLUMN'

Member Avatar for paku_dnj
0
119
Member Avatar for aneeqtariq_143

Why not leave the "section_to" value `NULL` (meaning no value). In your queries, you can then use `IFNULL(section_to, NOW())`. Once you know the correct end date, you can always fill it correctly.

Member Avatar for pritaeas
0
205
Member Avatar for Kniggles

Line 17 should be directly after line 11, so you'll need to remove the semi-colon at the end of 11.

Member Avatar for Kniggles
0
480
Member Avatar for tamil.arivu.18
Member Avatar for turpentyne
Member Avatar for pritaeas
0
178
Member Avatar for korathualex

Check your database to see how the foreign key is setup. It's possible you are not allowed to delete if there is still a reference to that particular FK.

Member Avatar for pritaeas
0
76
Member Avatar for deepak.fugo

The problem with your query is that `MATCH()` has column names as parameters, and not the values from those columns. That's why the `REPLACE()` is not allowed. It is very difficult to determine, if the user inputs "toothbrush", that you should also look for "tooth" and "brush". The only way …

Member Avatar for pritaeas
0
908
Member Avatar for Vijaysurya

Read [this example](http://www.globalguideline.com/JavaScript_Guide/Java_Script_Conditions.php) first.

Member Avatar for Troy III
-1
157
Member Avatar for lttleastig
Member Avatar for riahc3

[This page](http://www.webreference.com/programming/javascript-keyboard-shortcuts/2.html) has a zip showing how to do it.

Member Avatar for Troy III
-1
192
Member Avatar for cssweb
Member Avatar for harinath_2007

Both are possible. It depends on what you are planning to do with them, that should guide you to the right choice.

Member Avatar for harinath_2007
0
203
Member Avatar for nirav2611

Something like [this](http://www.codeproject.com/Articles/17048/Examples-to-create-your-Conferencing-System-in-NET) perhaps?

Member Avatar for geniusvishal
0
59
Member Avatar for winbala5

For starters you can create a tool that analyzes your Apache log file. That already contains a lot of information you can use.

Member Avatar for winbala5
0
171
Member Avatar for uknown2

I'm unsure what you have and what you are trying to accomplish. Can you give a better example?

Member Avatar for pritaeas
0
113
Member Avatar for Neethaa
Member Avatar for pritaeas
0
139
Member Avatar for Shodow

> when i added some design the validation is not working anymore What exactly is no longer working, and how did it work before?

Member Avatar for pritaeas
0
236
Member Avatar for Shodow

`mysql_query` does not support executing multiple queries, so you'll have to split them into to separate ones.

Member Avatar for pritaeas
0
235
Member Avatar for sarathsshanker
Member Avatar for pritaeas
0
76
Member Avatar for SeePlusPlus2

Companies use a CMS. Either they are specialized in a third party one (free/paid), or they have built their own and are using that.

Member Avatar for pritaeas
0
46
Member Avatar for pooja.shinde

Have you tried connecting to the external IP address of your machine? You may need to set up port forwarding on your router.

Member Avatar for pooja.shinde
0
248
Member Avatar for techyworld
Member Avatar for Violet_82

`this` points to the current dom element. For example if you do: $('p').each(function(){ alert(this.id); }); It loops over every paragraph, and within each loop `this` is the paragraph which is the current one in that loop. The alert will show the paragraph's id attribute.

Member Avatar for Violet_82
0
157
Member Avatar for Violet_82

1. The script is called as soon as the browser interpreter gets to line 20. 2. `index` is the position of the current `div`, `currentClass` get the value of that div's class attribute (zero, or more space separated classes). 3. What is returned is **added** to the current class(es) of …

Member Avatar for Violet_82
0
230
Member Avatar for twofel
Member Avatar for bombay1982

None of your images show a diagram, just a table layout. It's hard to guess how far you want to take this, but I'd suggest never to create columns named "artist1_ID, artist2_ID, artist3_ID, artist4_ID". This indicates that you need an intermediate table, because what do you do when you need …

Member Avatar for bombay1982
0
179
Member Avatar for Counterpartz

> return variance / (Values.Count - 1); Division by zero possibility.

Member Avatar for Counterpartz
0
310
Member Avatar for siddiqui_1985

I see you generate a random post id. What type of column is this in the database? You should remove the single quotes around `curdate()`, as it is a MySQL function.

Member Avatar for broj1
0
5K
Member Avatar for jasonmark238

http://www.w3.org/ It's a standards organization. Technically, it has nothing to do with building websites.

Member Avatar for smithjohn1
-2
181
Member Avatar for shaumic
Member Avatar for shaumic
0
343

The End.