- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 15
- Posts with Upvotes
- 12
- Upvoting Members
- 11
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
47 Posted Topics
Re: I haven't used pycharm. But, you can try sublime text.It's great.You can also try vim editor. | |
Re: what are the errors you get Kindly check error log for the same. | |
Re: It is a framework Take a look at below link for short description http://book.cakephp.org/1.3/en/The-Manual/Beginning-With-CakePHP/What-is-CakePHP-Why-Use-it.html | |
Re: You can use it in connection string like $dbh = new PDO('mysql:host=$db_host;dbname=blogproject1;charset=utf8','root',''); instead of $dbh->exec('SET NAMES "utf8"'); OR else you can use the same but you are having a syntax error $dbh->exec('SET NAMES "utf8"'); should be $dbh->exec("set names utf8"); | |
Re: what are the error messages your are getting.. action="./Update_Fess.php" should be action="../Update_Fess.php" as pointed by @pzuurveen you have not set $id, $ISPID, $Aug2013 and $Sep2013 values you will not get $id as your form doesn't have any input for id Start using mysqli or PDO ![]() | |
I am using IIS for php. I want to confirm whether it uses fastcgi or cgi I used php_sapi_name() and it gives "cgi-fcgi" I don't know what does it mean Is there any other way to find the same | |
Below is my code.. $stmt->execute($params) is not getting executed $name = $_REQUEST['name2']; $surname = $_REQUEST['surname2']; $add = $_REQUEST['add2']; $pdo = new PDO( "mysql:host = localhost;dbname = employee", "xxx", ""); $stmt = $pdo->prepare( 'INSERT INTO test_differ VALUES( :name2 , :surname2 , :add2 )' ); $params = array( ':name2' => $name, ':surname2' … | |
Hi, I have imported a csv file but for some reason in some values the data after . is missing for e.g. If my value in csv is 0.5 it displays 0. and 5 went missing but in my csv file i have value as 0.5 I don't what step … | |
Hi, I have imported .csv file and column is appearing as Col 1, Col 2... and the data I want as a column name is appearing as a first row. How do I convert my first row into column name in phpmyadmin. Thanks in advance | |
Re: Change your script tag to $("input[type='radio']").change(function (){ if ($('#item1zest1:checked').val() == 'on') { ccc=1 }else{ccc=11} document.DIAGNOSTICS.VARIABLES.value=(ccc) }); Here is the link http://jsfiddle.net/code_rum/aYfbU/ | |
![]() | Re: There's nothing wrong with this array The array assigns key or index ch to the chester and rest with 0,1 Here 0 is assinged to mike and 1 to joe The chester is accessed using $name['ch'] ,mike with $name['0'] and joe with $name['1'] you can see what key is assigned … ![]() |
Re: It may not be possible as spell check works with editable content div only  May be this can be used http://www.javascriptspellcheck.com/JQuery_SpellCheck_Plugin | |
Re: The query have projname = '$valu12' it should be projname = '$value12' You can use a unique id to delete a row | |
Re: You are missing mysql_select_db('dbname') and in insert query string values should be in double inverted comma "" $con not required in mysql_query mysql_connect should not have dbname | |
Re: Try this <input type="checkbox" class="active" name = "active" id="active" value="1" <?php if ($active == '1') echo 'checked'; ?>> | |
Re: Have a look at this link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/min?redirectlocale=en-US&redirectslug=JavaScript%2FReference%2FGlobal_Objects%2FMath%2Fmin | |
Re: First of all What are you trying to do?? found some error mysql_select_db($dbname,$con); Should be before query. Update query is having a syntax error. I may be wrong but sprintf doesn't work this way . $val_one = sprintf('%s', $candownload);//This assigns value to $val_one . According to me there's no need … | |
Re: Another way Take a look at this http://jsfiddle.net/kquqf/ | |
I have some div's one after another. When i click anywhere the first div hides and other div's shifts to fill the empty space. But the movement of other div which aren't hidden are not satisfying as it takes the place but not smoothly. I have no idea as how … | |
Re: What are you trying to do? Can you please elaborate.. | |
Re: If file contains a name on every new line then this will work Try this one hi.txt contains name like xia aix $nm = "xia"; $name = file("hi.txt"); //$name is an array of name print_r $name to see what it contains foreach ($name as $test) { if (strcasecmp(trim($test),$nm) == 0) … ![]() | |
Re: Add this above session_start() ob_start(); | |
Re: Try this RewriteEngine On RewriteBase / RewriteRule ^(.*)free(.*)$ notfound.php [R] | |
Re: Change following things mysql_query($query) to mysqli_query($con, $query) and mysql_fetch_assoc($result) to mysqli_fetch_assoc($result) | |
Re: It looks like you are using WORDPRESS I may be wrong I copied your code and added link directly using (<a href="">) and it showed me a link <?php $options = array( 'title' => __('Donate to the theme developers', 'default'), 'desc' => __('Note :Donate to the Developers of this theme, … ![]() | |
Re: Check require("conn.php") It may be having a php error or the file is not getting included properly. Check path of conn.php | |
Re: Maybe this could help or else could you please elaborate your requirement search_url(array("xxx" => "name")); function search_url($air){ if ( empty($air) ) { echo "Empty"; } else if( $air['sPattern'] ) { echo $result1; } else if( $air['sRegion'] ) { echo $result2; } else if( $air['sNname'] ) { echo $result3; } } ![]() | |
Re: Write this code in .htaccess RewriteEngine on RewriteCond %{HTTP_HOST} !^http://subdomain\.domainB\.com$ [NC] RewriteRule .? http://subdomain.domainA.com%{REQUEST_URI} [R=301,L] Maybe this could help | |
Hi, I have following code and I want to remove first seperator using css here's the code <div id="sub_nav"> | <a href="#">Fashion Insider</a> | <a href="#">Leasing</a> </div> | |
Re: Go to your browser Enter url **www.google.com** Copy your question and paste it in google search box and press enter. The result is right in front of you. ![]() | |
Re: <a href="manage-products-2.php?prod_id ='.$row[0].'">'.$row[1].'</a> Above code have space after prod_id. remove space "//it says undefined index 'prod_id'" gets eliminated For undefined index 'edit' add session_start() On both the pages But $_SESSION['edit'] will always give you last value which it encounters in while loop Hence will always give you last row[1] value. | |
Re: This can be done without extra code you are using <?php $sql = "SELECT username ,addedby FROM users ORDER BY addedby DESC LIMIT 0, 20"; $run = mysql_query($sql); if (mysql_num_rows($run) > 0 ) { while ($data = mysql_fetch_assoc($run)) { echo $data['username']." uploaded : ". $data['addedby']." files"; echo "<br/>"; } } … | |
Re: Hey I have Done some modification hope this will work <?php /* Plugin Name:new plugin Description: A simple hello world wordpress plugin Version: 1.0 Author: arti shrivas Author URI: http://yourdomain.com License: GPL */ /* This calls hello_world() function when wordpress initializes.*/ //Note that the hello_world doesnt have brackets. add_action('admin_menu', 'your_menu'); … | |
I have posted a wrong answer and now i want to delete it. how is it possible? I cannot edit my answer, maybe edit link is only available for certain time | |
Re: Check if $getID has some value or not by if (!$getID) { echo "Could not successfully run query" . mysql_error(); exit; } May be your query is having some error | |
Re: slideDown works on hidden elements remove top:-900px; from css and add display:none; Change slidedown() function to slideDown() (D capital) | |
Re: For Windows: Open Cmd set a path using:- set PATH = %PATH%;c:\xampp\php //temporary setting a path OR Control Panel > System > Advanced System Settings > Environment Variables > look for and highlight the Path variable and click Edit.Append the PHP folder path //permanent setting a path After setting a … | |
Re: In you html page you have header, body and footer into main div. But in php page your footer is out of main div. Make your php page structure same as the other html pages. | |
Hi, I am using timepicker. Onclick of textbox, timepicker open up with time mentioning 12am by default. but when I click on ok 12.00 am doesn't comes up in the textbox. The only way it comes up is when I slide it to certain time and back to 12.00 am. … | |
| |
Hi, I am working on a tooltip which shows the content in tooltip if present. But the code I am using shows the empty tooltip even the content returned is empty. I don't want to show tooltip or qtip when the content is empty.. :( Here's my code HTML echo … | |
Hi, I am struggling with this..I have multiple images and data with same class. As I click on a link with class single_image it should pop up the corresponding div. but its not working every time i click it shows me the same image. I have tried using $("a.single_image").each( function … | |
Here is my code: $(document).ready(function () { $(".submit-text").click(function () { var startdate = $("#startdate").val(); /*This line returns mm/dd/yyyy */ var starttime = $("#starttime").val(); /*This line retruns hr:min AM/PM */ var dtstart = new Date("startdate" + starttime); alert(dtstart); }); }); ****On alert it displays invalid date... but if I use.. var … | |
Re: Instead of "str_replace("↵","[ENTER]",$name_clean);" use nl2br($name_clean). ![]() | |
Hi, Below is my ajax code along with html and php code. I am getting an error "title is not defined".. Ajax ------ function callAjax() { $.ajax ({ type: "POST", url: "get.php", data: "title=" + title, success: function(msg) { alert(msg); }, error: function(msg){ alert(msg); }, }); } HTML ------ <form … |
The End.