39,316 Topics

Member Avatar for
Member Avatar for Aamit

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

Member Avatar for cereal
0
97
Member Avatar for akhtar.ali803

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="#" …

Member Avatar for reganstar
0
188
Member Avatar for emannoor455

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 …

Member Avatar for sufyan2011
0
42
Member Avatar for marcus03

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 …

Member Avatar for marcus03
0
674
Member Avatar for asif49

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

Member Avatar for asif49
0
172
Member Avatar for sthakre624

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

Member Avatar for simplypixie
0
99
Member Avatar for bflack

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 …

Member Avatar for simplypixie
0
191
Member Avatar for emilakia

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 …

0
56
Member Avatar for bflack

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 …

Member Avatar for bflack
0
279
Member Avatar for abe08

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

Member Avatar for abe08
0
155
Member Avatar for vijayram

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.

Member Avatar for StephNicolaou
0
126
Member Avatar for karthik_ppts

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?

Member Avatar for karthik_ppts
0
229
Member Avatar for davy_yg

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 …

Member Avatar for cereal
0
107
Member Avatar for cobberas

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

Member Avatar for pritaeas
0
245
Member Avatar for buykona

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 …

Member Avatar for pritaeas
0
125
Member Avatar for dinhunzvi

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 …

Member Avatar for kamili
0
174
Member Avatar for daniel36

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.

Member Avatar for kamili
0
108
Member Avatar for trektrak

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 …

Member Avatar for maba001
0
325
Member Avatar for sthakre624

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 …

0
72
Member Avatar for fumnimda

hi there i need some help for integrating php-openid to login process of my site. has somebody work around it??

Member Avatar for loginradius1
0
111
Member Avatar for extjac

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 …

Member Avatar for TySkby
0
161
Member Avatar for ebanbury

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 …

Member Avatar for simplypixie
0
627
Member Avatar for bflack

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

Member Avatar for bflack
0
147
Member Avatar for chuck_dezmond

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 …

Member Avatar for chuck_dezmond
0
111
Member Avatar for richaell

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 …

Member Avatar for mikulucky
0
621
Member Avatar for Aksel

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 …

Member Avatar for mikulucky
0
795
Member Avatar for intelgy

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 …

Member Avatar for HasNor
-1
173
Member Avatar for sajithfx

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

Member Avatar for diafol
0
107
Member Avatar for richaell

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 …

Member Avatar for richaell
0
651
Member Avatar for richaell

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 …

Member Avatar for richaell
0
111

The End.