39,316 Topics
| |
Hi, This is my input data [code] stdClass Object ( [Description] => WINT-2941 [Priority] => High [Name] => WINT-2941 [Requester] => 1 [ItemCrawlList] => Array ( [0] => stdClass Object ( [itemuid] => 4a303c676c7c48d9778f2276dcdf5555da3025ad [itemurl] => http://www.abc.com/R-174772 [id] => 36 ) [1] => stdClass Object ( [itemuid] => 2b47b34055f7adbb028c9a48c9ce35984a6d188f [itemurl] … | |
I have tried this code but its not working....what I want is that when I click on "Available" hyperlink a popup form should be opened. I have copied the code below <? if($GotPro['available']==1) { echo ($GotPro['PropertyName'].":". '<a href="#" ><script type="text/javascript">window.open(<a href="checkavailability.php" ></a>)</script>Available</a>'); } else if($GotPro['available']==0) { echo ($GotPro['PropertyName'].":". '<a href="#" … | |
Hi, I have two tables user and courses.. m trying to insert the data in the table of courses which containing forign key of user table.. as i have checked the syntax but m not able to solve my problem.. Here is the code... [CODE]<?php print_r($_REQUEST); echo $UserID= $_POST['userID']; echo … | |
Hello, I'm new on using PHP language and using SQL for database. and yesterday I stumbled upon using the column ACCOUNT_CODE on one of my table in my database as a reference to check if the user that will about to logged in have a premium membership or not.. my … | |
[url]http://www.w3schools.com/php/php_ajax_rss_reader.asp[/url] I'm using the above tutorial to create an RSS reader. It all seems to work however I would like to be able to see the source code for the content when someone right-clicks and asks to 'view source'. I understand that the work is done server side and the … | |
[TEX]I have a problem in my website.I have a online shopping website.I want some changes in my site.suppose when a non registered user buy a product on my site and go to the paypal for payment.wich funtionality i used between my website and paypal.please tell me how can i send … | |
Hello guyz, I was using sessions on my php code to pass specific variable values such as usernames. Everything goes well when I go straight browsing from page 1 to page 2, 3, 4 etc. but when I press the back button or even clicking the link to another previous … | |
Hi! I wanted to use a datatable in my website and I did it using the jqGrid plugin from this site: [url]http://www.trirand.net/demophp.aspx[/url] However,in my page if I include the js for my accordion menu that I am using the datable disappears from the page! But if I dont include the … | |
Hello guyz, I have this code bellow which is to download stored files on directory. I was using $reload=$_SERVER['PHP_SELF']; for page reload and I was curious if would it be possible to use $_SERVER['PHP_SELF'] and reload php page two or more times?.. cause when I clicked on a link 'song … | |
hello.. I have already join this group. I'm the newbie. I have problem with my code. I wrote in php and I use xml database. I have 3 page in php. first, layout for the list. second, input for the list form third, I want to save in xml. But, … | |
I am a new programmer,my previous programmer creating a website using php(vps server).he completed the 4 pages.but how to add new page under the second page.plz tell me anybody very urdent.help me. | |
Hi frendz In my website somebody changes the content as [B]"hacked by phantom"[/B]. Anybody heard about this word "hacked by phantom" and what is the issue? Any virus? or Hackers? | |
Hi, I am trying to simple php program to read the following xml and with loop foreach wants the book title (judul) to be printed on the screen. books.xml [CODE] <?xml version="1.0" encoding="utf-8"?> <perpustakaan> <buku isbn="01232312312"> <judul>PHP Programming</judul> <pengarang>Whoever he is</pengarang> <penerbit>KomTek Publishing</penerbit> </buku> <buku isbn="01534534"> <judul>Simple Programming</judul> <pengarang>No one … | |
Can anyone tell me how to deal with apostrophes in search fields? I have the following search page: (sorry for the length of code; I thought it best to post the whole page) [CODE]<?PHP session_start(); require_once $_SERVER['DOCUMENT_ROOT'] . "/_dev/_includes/general.php"; require_once $_SERVER['DOCUMENT_ROOT'] . "/_dev/_includes/case.php"; require_once $_SERVER['DOCUMENT_ROOT'] . '/_dev/_includes/court.php'; require_once $_SERVER['DOCUMENT_ROOT'] . … | |
I received the below website but for some reason the email button is not working properly. I'm not getting emails at sales@buykona.com I even try sending one myself, it didn't work. Can anyone help on this? Thanks, Julio <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta … | |
i'm trying to upload file using php. i want to restrict the file extensions to .jpg and jpeg. this is the code i have [CODE] $upload_errors = array( UPLOAD_ERR_OK => "No errors.", UPLOAD_ERR_INI_SIZE => "Larger than upload_max_filesize.", UPLOAD_ERR_FORM_SIZE => "Larger than form MAX_FILE_SIZE.", UPLOAD_ERR_PARTIAL => "Partial upload.", UPLOAD_ERR_NO_FILE => "No … | |
when a user pays for purchasing our product then how we can know that which user paid through information sended by paypal to our ipn. | |
I know it is possible to do so ... But I'm wondering how it can be done... is there any direct php source or html source code for words plugin or whatsoever? From the sources that I've been wandering around google so far is only viewing .... Or maybe theoretically … | |
wich functionality i use when a user buy a product on my website who is not registered and buy a product on my website and pay the payment with paypal.how can i redirect him on thank you page.and how can i identify the user who done the payment on his … | |
hi there i need some help for integrating php-openid to login process of my site. has somebody work around it?? | |
hi there.....I have been working with PHP for a few years now, but i am not a professional developer. I would like to know if you have some tips about the PHP best practice. For instance, i have been working on mysql but i know we have Mysqli..which one is … | |
Hi I'm having problems with putting an image - outofstock.gif into a table cell but only if prod_status == 'Sold' An empty image place holder shows - but without the actual image in it. Ideally I also wanted this whole table column to be a background to another table cell … | |
Hello guys, [CODE] <?php include 'dbconnect.php'; echo 'under profile.php'; $username=$_SESSION['username']; //I think i have to put a query here like "SELECT username FROM accntinfos WHERE username='$username'". But confused since if I do there would be two queries $query="SELECT userprofile.profpic FROM userprofile INNER JOIN accntinfos ON accntinfos.accntnum=userprofile.accntnum"; $result=mysql_query($query, $DBconnect); $numrows=mysql_num_rows($result); ?> … | |
Hi everyone, im just new in php and mysql. I have a form where i add list of member details then submit it to my db and redirect it back to the same page and echo the the list of data at the bottom. but the problem is after redirect … | |
Keep getting these errors: Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\Projeto\all.php on line 71 Notice: Use of undefined constant total2 - assumed 'total2' in C:\xampp\htdocs\Projeto\all.php on line 72 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\Projeto\all.php on line 124 Notice: Undefined … | |
Hi :) I'm haveing a little trouble working with a string which I need to insert a substring on certain positions. Basically I'm trying to create a pagination for a wordpress site by inserting <!--nextpage--> on certain point in a content string. The content string is of various size from … | |
Hello everyone, I'm working on adding checkboxes to the edit_profile section where members should be able choose with checkboxes the multiple options of massage techniques offered... When I checked only one, either, option 1, or option 2 or option 3 I'm able to see it in the column in the … | |
[B]Pagination[/B] It shows following messages Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\Paging\111\test\index.php on line 55 Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\wamp\www\Paging\111\test\index.php on line 154 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\Paging\111\test\index.php on line 167 … | |
keep getting this error: Undefined index: id in C:\xampp\htdocs\Projeto\edit.php on line 5 But i checked phpmyadmin and i have a index for id, it's in the table. Why do I get this? Never happened before. [CODE] <?php require 'conf/connection.php'; $id = $_GET['id']; $choose_user = mysql_query("SELECT * FROM users WHERE id … | |
I keeep getting this error: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\Projeto\search.php on line 7 How do I fix? [CODE] if (isset($_POST['action']) == 'Search') { $search = $_POST['search']; require 'conf/connection.php'; $selection = mysql_query("SELECT * FROM users WHERE name '%$search%'"); $number = mysql_num_rows(mysql_query("SELECT * FROM users WHERE … |
The End.