- Strength to Increase Rep
- +10
- Strength to Decrease Rep
- -2
- Upvotes Received
- 70
- Posts with Upvotes
- 63
- Upvoting Members
- 50
- Downvotes Received
- 8
- Posts with Downvotes
- 6
- Downvoting Members
- 7
PHP and WordPress developer. Lover of Javascript and front-end coding.
- Interests
- Passionate about web technologies, programming, sharing and contribution on the internet. Love to read…
- PC Specs
- Windows is my most favorite OS and most of works done on it. Ubuntu is my favorite one on Linux platform.
Re: Hi all I have uncountered a problem which has me totally confused. The problem is I have created a website with a login form. Everything so far has been working fine. but then when I try to login all of a sudden I’m hit with a "Object not found! The … | |
Re: Hi, I got this error. Please help. Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in $result_1= mysqli_query($link, "SELECT $criteria FROM table ORDER BY '".$crieria."' ASC); $array1 = array(); while($row = mysqli_fetch_array($result_1)){ array_push($array1, "$row[0]->$criteria", "$row[5]->$criteria" , "$row[10]->$criteria"); } | |
Re: Hi Friends, I have some dynamic text box in my screen, i have entered only one text field of the screen, after submitting the form all the values of the dynamic text box field is getting added in the database as 0 except the value i entered. i have used … | |
Re: hello all; scratching my head because I have no clue why this query doesn't work. php5, mysql 5.1 [code]INSERT INTO cats (title,type,cat_parent,cat_descr) VALUES ('Category Name', '0','0','Category Description')[/code] BASIC insert query. and the error I get ad infinitum is this: [CODE]Error: You have an error in your SQL syntax; check the … | |
Re: i have a simple php login script with session but all i get is just a white blank page after running my login,php script. Here is the login,php page <?php error_reporting( E_ALL ); ini_set( 'display_errors', 1 ); include('connect.php'); session_start(); if (isset ($_POST['submit'])) { $UserName=$_POST['uname']; $Password=$_POST['pswd']; $result=mysql_query("select * from bizness_profile where … | |
Re: Hello, Can anyone help me find the logic behind this program? input_berita_static.php <?php include('../includes/koneksi.php'); $post_id = isset($_POST['post_id']) ? $_POST['post_id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; $news = isset($_POST['news']) ? $_POST['news'] : ''; $judul = isset($_POST['judul']) ? $_POST['judul'] : ''; $page … | |
Re: Hai, I had a main div and two child divs inside that .. I need to arrange as follows .. ------------------------------------------------- | | | | child div 1 | child div 2 | | | | | | | ------------------------------------------------- the height of the child div is dynamic. I had … | |
Re: Hello PHP fanatics, The browser shows Warning: mysql_numrows() expects parameter 1 to be resource, array given in C:\xampp\htdocs\a\Student_Home.php on line 13 here is the line 13... the LINE 5 is the LINE 13. include 'Connect.php'; $student_id = htmlentities($_REQUEST['id'], ENT_QUOTES); $result = mysql_query("SELECT * FROM student_information where student_id='$_GET[id]'"); $data = mysql_fetch_array($result); … | |
Re: hi i am working in a project it is about online ordering of food .. I have problem in createing the cart. I have these tables Member-will have the username and password, member id. Fooddetails- will have foodid,foodname,fooddescrtion,foodimage,price. Cartdetails-cart id ,quantity ,price,total,member id, Orderdetails-order id,total,member id. cart details has the … | |
| Re: Ok, so here is the problem. Below is a fairly simple code that will count the number of members registered to a site. The html works just fine but the php doesn't display anything unless I do something like `if($result>0)`--- then it will display everything to the right of the … |
Re: Hi, Having a bit of trouble with breadcrumbs in Wordpress, the theme has the breadcrumbs feature enabled but only includes the object page and the homepage, I want to add the parent page into the breadcrumbs. Here is the code: <div id="breadcrumbs"> <?php if(function_exists('bcn_display')) { bcn_display(); } else { ?> … | |
Re: Hello, I am definitely a beginner. I need some help with this application. I need to be able to have an alert box pop up and as the user 'Enter degrees in Fahrenheit\n Or enter 999 to end entries'. I am not sure what I am doing wrong. Thank you … | |
Re: hello world, myself kishan kumar, iam new to web developing...my task is interrelated to edit,save & cancel....which is similar to edit button in shine.com...Iam doing in php language.the work is when user clicks on edit button he must be able to edit and after on editing he can save it … | |
Re: My code is like this below HTML Code : <select multiple="multiple" size="5" name="religion[]" id="religion" class="txtareamultifield" ondblclick="moveOptions(document.MatriForm.religion,document.MatriForm.RIGHTRELIGION,1);fnAnyChk(document.MatriForm.religion,document.MatriForm.RIGHTRELIGION);fnGothraChk();fnModifySubCasteChk(this.value);otherreligion();" style="width:355px; height:90px; font-size:13px;"> <option value="" selected>Any</option> <option value="Hindu">Hindu</option> <option value="Muslim-Shia">Muslim - Shia</option> <option value="Muslim-Sunni">Muslim - Sunni</option> <option value="Muslim-Others">Muslim - Others</option> <option value="Christian-Catholic">Christian - Catholic</option> <option value="Christian-Orthodox">Christian - Orthodox</option> <option value="Christian-Protestant">Christian - Protestant</option> <option value="Christian-Others … | |
Re: I'm trying to make a quick filter like this site with PHP and MySQL, but do not know how start? http://www.mysmartprice.com/mobile/pricelist/mobile-price-list-in-india.html#subcategory=mobile&property=|200088-200485&startinr=799&endinr=1999 Who can teach me how to do this are not? | |
Re: I am trying to setup virtual wamp localhost. Localhost root folder: c:\wamp\www mysite.local root folder: c:\wamp\site2 Steps of every kind is already taken: removing # from file "httpd.conf" #Include conf/extra/httpd-vhosts.conf addition in httpd-vhosts.conf: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot "c:/wamp/www" ServerName localhost ErrorLog "logs/localhost-error.log" CustomLog "logs/localhost-access.log" common </VirtualHost> <VirtualHost *:80> DocumentRoot … | |
Re: I'm really hoping someone can help and I should warn you I am javascript novice. I have a login script for my members website that uses Ajax. It works just fine but I now want to be able to redirect the user to a different page depending whether their account … | |
Re: I have two table data as: - table Classifieds id | title | body | city | district| - table Locations id | label Relationship City of table Classifieds is Id two Locations Now I want using Fulltext Search when users enter keyword (title, body, label(USA, Canada...)) then it will … | |
Re: i have a pagination code but that one is for single page,becaz in that url was changed. so if i add 2 or 3 pagination in single page that url was not changed. someone help me | |
Re: Dear team, I am facing difficulties to validate the below format. I want regular expression needs to be satisfied with the below condtion. $pattern = '/^\w[\w\s\.\%\-\(\)\[\]]*$/u'; $file_name = "(00)filename.jpg"; if(preg_match($pattern,$file_name)){ echo "Pattern matched"; }else { echo "Pattern not matched"; } I have tried several ways. But, the main problem is … | |
Re: I need light-weight AJAX pop-up form submit, where I can submit details into an email, I searched, but I cant find. | |
Re: I have a problem with php. I was trying to change my homepage on theme twentyeleven. Its a beginning of my functions.php script. Syntax error, unexpected T_IF is on line 1. Could you help me to find out whats the problem? <?php/** * Twenty Eleven functions and definitions * * … | |
| Re: I get this message quite often and it has popped up again here, any ideas as to why? Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\.... on line 76 line 76 is this line in bold. [CODE] $productlist = ""; $sql = mysql_query("SELECT * FROM products … |
Re: <html> <head> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function() { //$(".box:contains(latin)").wrap("<div></div>"); // $("div:contains('roots')").css("text-decoration", "underline"); //$("div:contains('John')").css("text-decoration", "underline"); $("div:contains('John')").addClass('test'); }); </script> <style type="text/css"> .test{color:red;} .list{float:left; width:80px;} .list li{list-style-type:none;} input{text-transform:uppercase;} </style> </head> <body> <div> Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in John a piece of classical … | |
Re: I have hosting and domain with https://www.znetlive.in (with Apache version 2.2.21) suppose www.abc.com I want to rewrite urls.(Which is not working in anyways) http://www.abc.com/index.php for this http://www.abc.com http://www.abc.com/about.php for this http://www.abc.com/about http://www.abc.com/portfolio.php for this http://www.abc.com/portfolio http://www.abc.com/contact.php for this http://www.abc.com/contact I have tried all possible ways but it is not working. … | |
Re: Hi all I m using following code.. [code] <?php session_start(); if(!isset($_SESSION['captcha'])){session_register('captcha');} $PHP_SELF = $_SERVER['PHP_SELF']; $stringa = ''; $cifre = 5; for($i=1;$i<=$cifre;$i++){ $letteraOnumero = rand(1,2); if($letteraOnumero == 1){ // lettera $lettere = 'ABEFHKMNRVWX'; $x = rand(1,11); $lettera = substr($lettere,$x,1); $stringa .= $lettera; } else { $numero = rand(3,7); $stringa .= $numero; … | |
Re: There is a list urls like "http://books.rediff.com/categories/travel/general/2288" I wish to find out whether they start from "http:/" or are relative urls starting from "/", if true store them in an array ! ... if (strpos($html->href, 'http://') <= 0) { array_push($urlarray, $link->href); } ... This does not work .... How should … | |
Re: I have a php web service returning json data. My problem is that when i call the json data from url returns nothing but when a call a local file with exactly the same data (copy from the url) works fine. The json data i receive are for example {"ResponseData":[{"Code":"91010001","Description":"ISADORA … | |
Re: I have one menu toggle div manu which is slide up and down. For that I used jquery.Cookie plugin but still it's not working. here is my problem : http://jsfiddle.net/wasimkazi/fauNg/10/ please help me... $(document).ready(function() { $(".widget2").hide(); var $widget2 = $(".widget2"); readCookie('widget2') === 'open' ? $widget2.show() : $widget2.hide(); $(".box2").toggle(function() { $(this).next(".widget2").slideDown(200); … | |
Re: i tried everything to get the slider working @ http://din3shie.x10.mx/IndEnt/ index.html file : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- Design by Free CSS Templates http://www.freecsstemplates.org Released for free under a Creative Commons Attribution 2.5 License Name : Rifle Description: A two-column, fixed-width design with simple color scheme. … |