Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
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
~21.0K People Reached
Favorite Tags
Member Avatar for frankie198

I only started learning Python a few days ago, so as a beginner, what IDE should I be using? Should I just start with IDLE, then move on to something else when I'm more advanced? I've been using Pycharm for the past few days, I didn't know if that's an …

Member Avatar for Jack_9
0
844
Member Avatar for itisnot_me

I have having a hard time with this problem and anything that I try seems not to work. This is the code that I am working with if (strpos($content,'{blog:blogtitle}') !== false) { echo 'true'; } echo $blogname; if($blogname != ""){ $replaced_content = str_replace('{blog:blogtitle}', $blogname, $content); }else{ $replaced_content = str_replace("{blog:blogtitle}", '', …

Member Avatar for itisnot_me
0
1K
Member Avatar for noahwilson

Hello friends, Do you know what is Cake PHP?Is it a tool or a framework? Please let me know your views..... Thanks

Member Avatar for Indians
-2
261
Member Avatar for terryds

First, take a look at my code <?php try { $dbh = new PDO('mysql:host=$db_host;dbname=blogproject1','root',''); $dbh->setAttribute(PDO::ATTR_ERRMODE,PDO::ERRMODE_EXCEPTION); $dbh->exec('SET NAMES "utf8"'); } catch (PDOException $e) { die('Error: ' . $e->getMessage()); } if(!defined('GUEST')) { define('BASEPATH', dirname(dirname(__FILE__)); header('Location: ' . BASEPATH); exit(); } When it executed it gives me an error.. Looks like, the error …

Member Avatar for code_rum
0
159
Member Avatar for spluskhan

Gyz i have some serious prob my code. if you find any error plz correct me . My code for Pay Fees (Update) <div id="wb_Form1" style="position:absolute;width:365px;height:270px;"> <form name="update" method="post" action="./Update_Fess.php" id="Form1"> <div id="wb_Text7" style="position:absolute;left:10px;top:15px;width:104px;height:16px;z-index:1;text-align:left;"> <span style="color:#000000;font-family:Arial;font-size:13px;">ISPID#:</span></div> <input type="text" id="Editbox1" style="position:absolute;left:124px;top:15px;width:198px;height:23px;line-height:23px;z-index:2;" name="ISPID" value=""> <div id="wb_Text9" style="position:absolute;left:10px;top:45px;width:104px;height:16px;z-index:3;text-align:left;"> <span style="color:#000000;font-family:Arial;font-size:13px;">August 2013:</span></div> <input type="text" …

Member Avatar for diafol
0
372
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
218
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
169
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
308
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

http://jsfiddle.net/tearex/AXQx4/ regardless of which button is pressed, the returned value is the same. How to correct the condition?

Member Avatar for code_rum
0
86
Member Avatar for Rahul47

What is wrong with this type of assignment ? $name=array('ch' => 'chester' , 'mike', 'joe'); foreach( $name as $value) { echo $value; echo "<br>"; } Thanks.

Member Avatar for diafol
0
140
Member Avatar for Dani

I understand that the HTML 5 spellcheck attribute works on any input, textareas, and editable divs. I want to get spellcheck to work with our wysiwyg editor, which uses a non-editable div with a hidden input field (for backwards compatability). Is there any trick to get the spellcheck attribute to …

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

hi all! i have here a code to delete a record <?php define ('DB_NAME', 'vincegac_vince'); define ('DB_USER', 'root'); define ('DB_PASSWORD', ''); define ('DB_HOST', 'localhost'); $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); if (!$link) { die('Could not connect: ' . mysql_error()); } $db_selected = mysql_select_db(DB_NAME, $link); if (!$db_selected) { die('Can't use ' . …

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

<html> <body> <?php $username = 'root'; $password = ''; $hostname = 'localhost'; //connection to the database $con = mysql_connect($hostname, $username, $password,'contactmanager') or die('Unable to connect to MySQL'); echo 'Connected to MySQL<br>'.'<p>'; mysql_query($con,'INSERT INTO Personalinformation(Name, YearOfBirth, Email,Location,PhoneNumber) VALUES(Peter,2008-03-05,peter@hotmail.com,kasland,0269015748)'); mysql_close($con); ?> </body> </html>

Member Avatar for SirMahlon
0
5K
Member Avatar for davidjennings

Hi All - I am trying to find a solution to the following I am trying to update a form with checkboxes and to compare the value of the data variable $active from the db and if the value =1 then make the checked value as checked if = to …

Member Avatar for davidjennings
0
184
Member Avatar for jenny1975

I have two array's Array1[1,3,5,7,4,0,8] Array2[1,5,8,3,4,2,9] What I would like to achieve is an output count = 3( three of the numbers 3,5,8 from Array2 are in Array1 but in the wrong place) using Math.min. Can someone explain this process to me please. Thank you

Member Avatar for dilan91
0
169
Member Avatar for fheppell

This php code updates a database entry. The form consists of a checkbox (name = download) and a hidden field so I can check it has actually been sumbitted(name = updated). When I run this code it gives me the success message but the database remains unchanged. Why is this? …

Member Avatar for fheppell
0
159
Member Avatar for seju

hello...help me rapidly.. query is that.. when we select the mail from the select tag and then automatically display the two text box like user name and contact no.. how i do this...? but remeber it that without use button....i hope as soon as i vl get my perfect ans...

Member Avatar for arundhati dalal
0
225
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
292
Member Avatar for andi.andiiimintoyouu

html <div class="example2"> <p>This is some text This is some textThis is some textThis is some textThis is some text This is some textThis is some textThis is some textThis is some textThis is some text</p> </div> Css .button{ -moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px; -moz-box-shadow:0 1px 1px rgba(0, 0, 0, 0.2);-webkit-box-shadow:0 1px 1px rgba(0, …

Member Avatar for code_rum
0
254
Member Avatar for xianamersu

How to I check for existing username without using mysql in php? I tried something like this but it isnt working. Please help. Thanks. Strictly no SQL... $name=$nme; $name = file("datatext/users.txt"); $ic=file("datatext/users.txt"); if (this.$nme== $name) { echo "this user exits, please log in"; }

Member Avatar for diafol
0
342
Member Avatar for lloyd.farrell.7

Hi everyone, got really strange issue with a template I have started to build. I am continually getting the follwing error message Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent Even though the only code I have on my page is <?php session_start(); ?> <!DOCTYPE html> …

Member Avatar for minitauros
0
379
Member Avatar for 4fridi

I have script which has search engine to find mp3 songs, i need that if someone search the site with free mp3 songs or mp3 free songs both keywords has free keyword. i have redirected with header(); function through my coding in php but what about previously indexed urls with …

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

Hey all, Been trying to work this out. But I'm stumped! Got a database running on Moodle. Want to create an external script which uses the usernames and passwords from the table moodle_user and the db Profiled_Moodle. Here is my page so far: <?php include 'header/config.php';?> <div id="Container"> <?php if …

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

` $options[] = array( 'title' => __('Donate to the theme developers', 'default'), 'desc' => __('Note :Donate to the Developers of this theme, Donate any amount to keep the themes free ' , 'default'), 'id' => '', 'std' => '', 'type' => 'sep' ); How do I add a link to …

Member Avatar for diafol
0
221
Member Avatar for dina85

what's wrong with my code at line 6, it's give blank page, the output can't display. $kp = $_POST['kp']; $kp2 = $_POST['kp2']; $kp3 = $_POST['kp3']; require("conn.php"); $sql = "select * from pemohon where kp_baru='$kp' AND kp_baru2='$kp2' AND kp_baru3='$kp3'";

Member Avatar for pritaeas
0
137
Member Avatar for mjsmitten

I have some functions that returns nothing or some value (obvious), and also having a little trouble with the if and closing, is there a good way to do this? I want to return the value after checking if any of the strings are not empty. Actually it is a …

Member Avatar for diafol
0
163
Member Avatar for bsewell

Hi, I would have a subdomain on domain A. Basicly I want to forward this to a particular page on domain B. But it's slightly complicated- I want to mask this so it looks like domain A hosts the actual page than domain B. Eg. Domain A http://something.domainA.com Domain B …

Member Avatar for bsewell
0
782
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
113