Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
15
Posts with Upvotes
12
Upvoting Members
11
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
7 Endorsements
Ranked #260
Ranked #818

47 Posted Topics

Member Avatar for frankie198

I haven't used pycharm. But, you can try sublime text.It's great.You can also try vim editor.

Member Avatar for Jack_9
0
853
Member Avatar for itisnot_me
Member Avatar for itisnot_me
0
1K
Member Avatar for noahwilson

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

Member Avatar for Indians
-2
269
Member Avatar for terryds

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");

Member Avatar for code_rum
0
162
Member Avatar for spluskhan

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

Member Avatar for diafol
0
375
Member Avatar for code_rum

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

Member Avatar for code_rum
0
323
Member Avatar for sushants
Member Avatar for code_rum

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

Member Avatar for code_rum
0
176
Member Avatar for code_rum

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 …

Member Avatar for code_rum
0
312
Member Avatar for code_rum

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

Member Avatar for code_rum
0
1K
Member Avatar for heftor

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/

Member Avatar for code_rum
0
89
Member Avatar for Rahul47

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 …

Member Avatar for diafol
0
145
Member Avatar for Dani

It may not be possible as spell check works with editable content div only ![56ae7b5342a6742148a358b4bcb42467](/attachments/large/4/56ae7b5342a6742148a358b4bcb42467.JPG "56ae7b5342a6742148a358b4bcb42467") May be this can be used http://www.javascriptspellcheck.com/JQuery_SpellCheck_Plugin

Member Avatar for Troy III
0
195
Member Avatar for mallows.yum

The query have projname = '$valu12' it should be projname = '$value12' You can use a unique id to delete a row

Member Avatar for mallows.yum
0
133
Member Avatar for SirMahlon

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

Member Avatar for SirMahlon
0
5K
Member Avatar for davidjennings

Try this <input type="checkbox" class="active" name = "active" id="active" value="1" <?php if ($active == '1') echo 'checked'; ?>>

Member Avatar for davidjennings
0
188
Member Avatar for jenny1975

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

Member Avatar for dilan91
0
173
Member Avatar for fheppell

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 …

Member Avatar for fheppell
0
164
Member Avatar for seju
Member Avatar for code_rum

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 …

Member Avatar for code_rum
0
296
Member Avatar for andi.andiiimintoyouu
Member Avatar for xianamersu

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

Member Avatar for diafol
0
344
Member Avatar for lloyd.farrell.7
Member Avatar for 4fridi

Try this RewriteEngine On RewriteBase / RewriteRule ^(.*)free(.*)$ notfound.php [R]

Member Avatar for 4fridi
0
294
Member Avatar for bradly.spicer

Change following things mysql_query($query) to mysqli_query($con, $query) and mysql_fetch_assoc($result) to mysqli_fetch_assoc($result)

Member Avatar for bradly.spicer
0
196
Member Avatar for sambulo.senda

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

Member Avatar for diafol
0
223
Member Avatar for dina85

Check require("conn.php") It may be having a php error or the file is not getting included properly. Check path of conn.php

Member Avatar for pritaeas
0
140
Member Avatar for mjsmitten

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; } }

Member Avatar for diafol
0
167
Member Avatar for bsewell

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

Member Avatar for bsewell
0
788
Member Avatar for code_rum

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>

Member Avatar for code_rum
0
114
Member Avatar for sushants

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.

Member Avatar for diafol
-2
145
Member Avatar for dhani09

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

Member Avatar for minitauros
0
1K
Member Avatar for OsaMasw

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/>"; } } …

Member Avatar for OsaMasw
-1
173
Member Avatar for AARTI SHRIVAS

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'); …

Member Avatar for AARTI SHRIVAS
0
287
Member Avatar for code_rum

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

Member Avatar for code_rum
0
149
Member Avatar for while(!success)

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

Member Avatar for while(!success)
0
403
Member Avatar for turpentyne

slideDown works on hidden elements remove top:-900px; from css and add display:none; Change slidedown() function to slideDown() (D capital)

Member Avatar for code_rum
0
181
Member Avatar for sushants

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 …

Member Avatar for NardCake
0
187
Member Avatar for @Swathi
Member Avatar for saucy6969

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.

Member Avatar for saucy6969
0
291
Member Avatar for code_rum

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

Member Avatar for pixelsoul
0
264
Member Avatar for davy_yg
Member Avatar for charlijoseph
0
153
Member Avatar for code_rum

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 …

Member Avatar for Troy III
0
387
Member Avatar for code_rum

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 …

Member Avatar for code_rum
0
159
Member Avatar for code_rum

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 …

Member Avatar for code_rum
2
176
Member Avatar for eiramana06

Instead of "str_replace("↵","[ENTER]",$name_clean);" use nl2br($name_clean).

Member Avatar for diafol
0
2K
Member Avatar for code_rum

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 …

Member Avatar for radhakrishna.p
0
402

The End.