Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
13
Posts with Upvotes
13
Upvoting Members
8
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
4 Commented Posts
2 Endorsements
Ranked #621
Ranked #686
~50.3K People Reached

50 Posted Topics

Member Avatar for TheFearful

Hi. I nothing understand from your schems. Can you to write more details, that you will want to do.

Member Avatar for TheFearful
0
343
Member Avatar for ramsiva

Hi. If you use object for source, this object have to have properties **value** and **label** jq('.project').each(function(i, el) { jq(el).data('ui-autocomplete')._renderItem = function(ul, item) { return jq( "<li>" ) .append( "<div class='emp-name'><a style='font-size:18px'>" + item.resources['emp_name'] + "</a><a style='font-size:13px'>" + item.resources['department_name'] + "</a></div><div id='clear'/>" ) .appendTo( ul ); }; this code is …

Member Avatar for radow
0
713
Member Avatar for AntonyRayan
Member Avatar for radow
0
190
Member Avatar for anupamjamatia
Member Avatar for amith_ami

Did you analyze your html in a browser after worked script? There are elements "option" with attribute "selected="selected"" Maybe condition "if($loc_con1[$j] == $loc_con[$i])" never don't cause.

Member Avatar for rayearth_1
0
10K
Member Avatar for naithsleeray
Member Avatar for CreatorZeus

This variable "$testuser" have to be inside quotes. $sql = "SELECT * FROM accounts WHERE username = '$testuser'";

Member Avatar for radow
0
172
Member Avatar for kcrazy
Member Avatar for hanan-kh

I use NetBeans it is better crossplatform and free solution. NotPad++, gedit and etc. it is text editor. For writting quality code you must use proffesional IDE.

Member Avatar for pritaeas
0
357
Member Avatar for AARTI SHRIVAS
Member Avatar for LastMitch
0
246
Member Avatar for vijayram

Why do you for the variable $planbook to assign the variable $i(the row 10)? The variable $i it is integer, and you access the variable $planbook as an array.

Member Avatar for radow
0
218
Member Avatar for New-Reign

This query select all numbers avaible from $date1 to date2 SELECT distinct r.roomID FROM Rooms as r INNER JOIN Bookings as b ON r.roomID = b.roomID WHERE ('2013-03-20' NOT BETWEEN dateFrom AND dateTo) AND ('2013-03-21' NOT BETWEEN dateFrom AND dateTo)

Member Avatar for New-Reign
0
4K
Member Avatar for Tko_1
Member Avatar for davy_yg

You will be able to use function pathinfo(), If want get filename without it extension. For example: echo pathinfo("test.jpeg", PATHINFO_FILENAME);// show test

Member Avatar for radow
0
90
Member Avatar for shashanknaik1

If you have to add row in database, you can use following code $dsn = 'mysql:dbname=testdb;host=127.0.0.1'; $user = 'dbuser'; $password = 'dbpass'; try { $dbh = new PDO($dsn, $user, $password); /* Add new row in table FRUIT */ $count = $dbh->exec("INSERT INTO fruit (id,name) VALUES(1,'banana')"); /* Show count add rows …

Member Avatar for Szabi Zsoldos
0
96
Member Avatar for pol.bala

You must will implement php script, which be get data and send on mail. For send mail you may use function mail http://www.php.net/manual/en/function.mail.php or PHPMailer http://phpmailer.worxware.com/index.php?pg=tutorial.

Member Avatar for Webville312
0
748
Member Avatar for jLamp

There are many tools testing web sites. For example you can use w3af for testing xss attack, sqlmap for testing sql injection.

Member Avatar for jLamp
0
155
Member Avatar for deepak.fugo

Hi. If you try send data with some domain on to another domain, then this can't do in JavaScript. You must to use JSONP or iframe, for crossdomain requests.

Member Avatar for radow
0
199
Member Avatar for amith_ami
Member Avatar for radow
0
81
Member Avatar for deepak.fugo
Member Avatar for Squidge
0
217
Member Avatar for tokick4

In 15 line your code, you assigned attribute "on" the function by name "cal_electic_permit"? What is this attribute? Maybe, you keep in mind event "onload".

Member Avatar for tokick4
0
186
Member Avatar for thing2
Member Avatar for hwoarang69

If on your site enabled smtp port, this method send will be work. if no you must use other method of send email.

Member Avatar for radow
0
188
Member Avatar for rotten69

In 3 line you have error. You wrong get current element. now var button = $($(this)).text(); replace on var button = $(this).text();

Member Avatar for AleMonteiro
0
329
Member Avatar for shahai.ali

Hi. You can use jQuery plagin http://jqueryui.com/autocomplete/ it supports work with AJAX.

Member Avatar for JorgeM
0
202
Member Avatar for OsaMasw

For download files not necessarily to use AJAX. You can this does without use AJAX. <a href="download.php?file_id=123456" target="_blank">Download File</a> download.php //execute any actions //get $file_name by file_id if(file_exists($file_name)) { $ext = pathinfo($file_name, PATHINFO_EXTENSION); switch($ext) { case "pdf": $ctype="application/pdf"; break; case "zip": $ctype="application/zip"; break; case "doc": $ctype="application/msword"; break; case "xls": $ctype="application/vnd.ms-excel"; …

Member Avatar for OsaMasw
0
235
Member Avatar for hwoarang69

In the file login.php to the top file you must will cause function session_start()

Member Avatar for diafol
0
343
Member Avatar for laklaker

For cancel the default event in our a functions use "return false;" in end your the functions.

Member Avatar for radow
0
318
Member Avatar for SMode55
Member Avatar for AleMonteiro
0
971
Member Avatar for Asan23

For change a image hover use following code $(document).ready(function(){ $("dsd").hover( function() { $(this).attr("src","on.jpeg"); }, function() { $(this).attr("src","off.jpeg"); } ); })

Member Avatar for radow
1
783
Member Avatar for Eggstraordinary

Try execute this code. You wrong wrote a bracket for function ready() and click() $(document).ready(function() { $('#toggle').click(function() { var value = $('#toggle').attr('value'); $('#paragraph').toggle('fast'); if (value == 'hide'){ $('#toggle').attr('value', 'show'); } else if (value == 'show') { $('#toggle').attr('value', 'hide'); } }); });

Member Avatar for Eggstraordinary
0
205
Member Avatar for designershiv
Member Avatar for designershiv
0
193
Member Avatar for davidp994
Member Avatar for watonca

Hi. Good start))). In 5 line you must not show data and must write their in array. $lines[] = array($part[0], $part[1], $part[2]); Then you must in a loop to go through the array and will show all elements. if(!empty($lines)) { echo "<select name=\"$parts\">\n"; foreach($lines as $line) { echo "<option id=\"$id\">$value</option>"; …

Member Avatar for diafol
0
823
Member Avatar for mmcdonald
Member Avatar for webline
Member Avatar for HelloJarvis

You have error on first line. Method popover() as a parameter to takes object. You forget to added braces. $("#test").popover({selector:$("#test")}); I hope this help.

Member Avatar for HelloJarvis
0
391
Member Avatar for flynismo

For get data you can use following script: <head> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> </head> <body> <script> $(document).ready(function() { $("#state").change(function() { var state = $(thia).val();//get select value $.ajax( { url:"get_city.php", data:{s:state}, success:function(responce) { $("#city").html(responce); } }); }); }); </script> <select id="state"> <option id="423">Alabama</option> <option id="424">Alaska</option> <option id="425">Arizona</option> </select> <select id="city"></select> <select id="zip"></select> </body> …

Member Avatar for flynismo
0
3K
Member Avatar for hiyatran

you would like add new fields in out your the form or create new form with fields described above?

Member Avatar for Bachu
0
118
Member Avatar for Vijaysurya
Member Avatar for Vijaysurya
0
268
Member Avatar for randomkid73

function fetch_all() return array. Try this $(".edit").click(function(event) { var id = $(this).parents("tr").attr("id"); alert(id); //Shows the correct id that matches the DB entry $.ajax({ type: 'POST', url: 'editevent.php', data: "eventID=" + id, dataType: 'json', success: function(data) { if(data.length > 0) { for(key in data) { var tmp = data[key]; console.log(tmp.title); } …

Member Avatar for GliderPilot
0
12K
Member Avatar for LastMitch
Member Avatar for pawan768
Member Avatar for harsha.netpem
Member Avatar for pritaeas
0
162
Member Avatar for kumar.papneja
Member Avatar for simplypixie
0
5K
Member Avatar for Sanchixx

What do you want as a result "hello world" or "<?php echo "hello world!"?>"?

Member Avatar for Sanchixx
0
569
Member Avatar for dancks

I think what variable $_GET['id'] empty. Before will execute query, add check if(!empty($_GET[id])) { //execute MySQL query } and to bring this variable to an "int" ((int)$_GET['id'])

Member Avatar for radow
0
375
Member Avatar for mmcdonald
Member Avatar for reemasmartin

You should in your table "book" will add new field type "timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP". And when you will update value this field was to change

Member Avatar for radow
0
212
Member Avatar for code739

You could use jqueri plugin [Autocomplete](http://jqueryui.com/autocomplete/). Only you will have to generate values for the avtocomplate manually.

Member Avatar for radow
0
64

The End.