39,316 Topics

Member Avatar for
Member Avatar for pbcomput

Hi, I want to open user's uploaded .doc,.docx,.txt or .pdf as html (open in browser) I can open pdf without doing any extra coding. but i can't open other formates. I want to open files when user click on the link "Show File" at that time file will be open …

Member Avatar for lavanyac
0
847
Member Avatar for khushhappy

Hi,Pagination Problem : It shows the pages i.e 1,2,3 as number of records, but further records are not shown when clicked on page 2 further 3 and soo on.. [B]Database Connectivity:[/B] [CODE]$query = "SELECT * FROM photos ORDER BY id DESC limit 1,2"; $result = mysql_query($query) or die(mysql_error()); while($row = …

Member Avatar for diafol
0
129
Member Avatar for morteza_ipo

Hi everybody! Please help me very fast!!!! I am programming with php in linux platform. When I create a file (example index.php) , that is UTF8 as default. Now I want to set cookie or session , but I cannot! I get an error about sending headers! Please help me …

Member Avatar for diafol
0
133
Member Avatar for tryphy

HI, I have a form that has more than one checkbox. I need to store the checkbox value in mysql. I am using php code.I am not sure of the code of storing the checkbox value to the database. Your help will be much appreciated. Thanks Tryphy

Member Avatar for vivekdizzal
0
5K
Member Avatar for dan1992

I have a code for adding information on the site post page [CODE]<?php if (isset($_POST['photo'])) {$photo = $_POST['photo']; if ($photo == ''){unset($photo);}} if (isset($_POST['id_photo'])) {$id_photo = $_POST['id_photo']; if ($id_photo == ''){unset($id_photo);}} $cat = $_GET['cat'];?> <script type="text/javascript"> function MM_jumpMenu(targ,selObj,restore){ //v3.0 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0; } </script> <script src='style/jquery.js' type="text/javascript"></script> <script src='style/documentation.js' …

Member Avatar for madCoder
0
96
Member Avatar for Electricfan

I have made a php page that allows someone to send out an email to one of our representative with a sample text that they approve wind power. It's just a form that when submitted it sends out to whomever they checked and also sends me an email saying that …

Member Avatar for Electricfan
0
227
Member Avatar for lf.gene

Hi all, by using form and post method in my program. It seems like my values of calendar are not able to insert into my database. I'm using jquery's datepicker and php to code. Please advice. Thanks

Member Avatar for lf.gene
0
850
Member Avatar for arsala khan

give php code for dropdwon list : when we select database value in dropdwon list i.e username and there password show the fornt of dropdown list

Member Avatar for almostbob
-1
65
Member Avatar for Binary

I recently started working with PHP, and MySQL. And I have come with a little problem, I have tried a couple of things to solve it and they are not working. Well, basically I am trying to put a link on a page, but that page requires me to pass …

Member Avatar for almostbob
0
21K
Member Avatar for MooGeek

Hi guys! Im kinda new here and lately I'm developing a[B] PHP MySQL Module Generator[/B] that will help us to easily manipulate the database. since I want to make thing fast and I know lots of you agree with me that doing data manipulation stuffs like MySQL is boring so …

Member Avatar for MooGeek
0
280
Member Avatar for dschuett

I am still fairly new to PHP, so I will do the best at explaining what I am trying to do here... I have a database table where I store a bunch of invoices. I am now trying to make a front end to run queries. I don't know how …

0
71
Member Avatar for AliHurworth

Hi, I'm trying to create a drop down menu with dynamically populated options. So, within a typical HTML form I have: [CODE] $conn = mysql_connect ("localhost", "xxxx", "xxxx"); mysql_select_db ("wkho_TTX", $conn); $query = "SELECT * FROM venues"; $result = mysql_query($query) or die(mysql_error()); $num=mysql_numrows($result); $i=0; while ($i < $num) { $option …

Member Avatar for lyrico
0
111
Member Avatar for dottomm

Hello and Thanks in advance to anyone who can help me with this noob php query. I am trying to create a "share this record" tool in which a User can send another User a link to a record by displaying all the users in the User Table with a …

Member Avatar for dottomm
0
161
Member Avatar for ofir0803

Hi, i have this string: [CODE]$link = "http://www.first-link.comhttp://www.second-link.comhttp://www.third-link.com"[/CODE] i want to exract it to an array like this: [CODE]array[0] = http://www.first-link.com array[1] = http://www.second-link.com array[2] = http://www.third-link.com[/CODE] i wrote: [CODE]print_r (explode("href",$link));[/CODE] but now all the string is in array[0] only. i keep getting [CODE]Array ( [0] => http://www.first-link.com ) Array …

Member Avatar for diafol
0
130
Member Avatar for youlichika

Hi everyone, I'm new study Facebook api. I use this code, but the resault is empty. Can anyone help me? Thanks. ps: i have replaced my api id, url ,secrect in it. [CODE]<form action ="index.php" method ="post"> <input type="text" value="what is?" name="search" style="color:#999;text-align:center;" onfocus="if (value =='what is?'){value =''}" onblur="if (value …

0
120
Member Avatar for cossay

I'm trying to install jpgraph on AppServ 2.6 which comes php6. Anytime I try using the library I get the following error: The installed PHP version is (6.0.0-dev)is not compatible with this release of the library. The library requires at least PHP version 5.1.0. The version I'm using is jpgraph-3.0.7.

Member Avatar for mschroeder
0
92
Member Avatar for Shankye

Hello friends .. I wanted a feedback form for my small site... Its pure HTML and i dont know anything about PHP .. I got a script which mails the form contents to the admin.. Here is the code [CODE] mail( "$webmaster_email", "Feedback Form Results", $comments, "From: $email_address" ); [/CODE] …

Member Avatar for Shankye
0
109
Member Avatar for noliasoulja

syntax error, unexpected T_STRING can anyone help? here id my code. and I'm using 000webhost if that helps [code]</script></span></td></tr></table><span id="content"><table width="100%" class="uportal-background-content" cellspacing="0" cellpadding="0" border="0"><tr><td width="33%"><img height="3" width="10" title="" alt="" src="/media/org/jasig/portal/layout/dlm/skins/xp_style/skin/transparent.gif"></td><td><img height="3" width="1" title="" alt="" src="/media/org/jasig/portal/layout/dlm/skins/xp_style/skin/transparent.gif"></td><td width="34%"><img height="3" width="10" title="" alt="" src="/media/org/jasig/portal/layout/dlm/skins/xp_style/skin/transparent.gif"></td><td><img height="3" width="1" title="" alt="" src="/media/org/jasig/portal/layout/dlm/skins/xp_style/skin/transparent.gif"></td><td width="33%"><img height="3" width="10" …

Member Avatar for mschroeder
0
264
Member Avatar for muralibobby2015

hello... i am doing mail concepts. in this i want to send a dynamic attachments with email. actually user gets email with attachment. this attachment will be dynamic. how to create dynamic attachment for email.i tried this. but no use. anybody help. i have 'attachments.txt'file with content [CODE]User Name: <<name>> …

Member Avatar for muralibobby2015
0
122
Member Avatar for ofir0803

i want to find all occurrence of a string: "coords"" within another, but i only can found the first and the last ( stripos() and strripos() ) [CODE]<body> <img src="page.jpg" border="0" usemap="#fghf" /> <map name="fghf" id="fghf"> <area shape="rect" coords="10,71,258,236" href="#" alt="some_alt" title="some_title" /> <area shape="rect" coords="258,72,506,237" href="#" alt="some_alt" title="some_title" /> …

Member Avatar for ofir0803
0
186
Member Avatar for rakibtg

how to make a email form that can send one email to 20 email address, or from which website i can get a free copy of this types of emil form php script

Member Avatar for MooGeek
0
40
Member Avatar for shafeequeom

I am starting a small download site.I want a best CMS software were i can choose my template or were i make atemplate acoording to my choice with out scripting

Member Avatar for Shanti C
0
45
Member Avatar for sedalnas

Hi, i have a problem in downloading pdf files that is when i click the download button it just download a text file contains unreadable and unrecognizable words and numbers , so can any one help me to solve this problem my code to download a pdf file is : …

Member Avatar for sedalnas
0
128
Member Avatar for lancevo3

I am working on a small program to hopefully use for my work and what I have so far is there is a home page where the user can select the number of forms they desire, which will then lead them to a page where the forms are. I want …

Member Avatar for lancevo3
0
100
Member Avatar for ivanichi

I want to make layout like this...(in attachment) please some one help me, the problem in [B]z-index[/B]...i can't edit [B]input text[/B]. thanks all.

Member Avatar for ivanichi
0
66
Member Avatar for iroyal

Hey im new around here so if i get something wrong tell me :D I have this code [CODE]$txt = str_replace("#", "<a href=user.php?user=$txt></a>", $txt); [/CODE] I want it to when a user tags someone using # it goes to the user.php?user=WHATEVER#WAS. Its just like twitter is this possible and simple?

Member Avatar for iroyal
1
141
Member Avatar for rajesh1158

echo '<a href="javascript:void(0)" onClick="javascript:chatWith('.$result[3].')">'.$result[3].'</a>'; only the $result[3] between the <a> and </a> gets displayed....i want to display also the $result[3] within the javascript function call....is thr any error in it??

Member Avatar for dcdruck
0
59
Member Avatar for etftw

Hello, I am currently passing some HTML through to preg_match and I want to access all the HTML between two tags, however as the same tags may be repeated afterwards my current expression isn't working. For example, my expression at the moment is [code]<li>(.*)</li>[/code] But as the HTML is like …

Member Avatar for pritaeas
0
92
Member Avatar for samaniac

Hey guys, I have been trying to create a registration page for a while now, and I just can't seem to get it right. Could any of you help me? I currently have 3 php pages. The first is the homepage, which also includes a sign up form: [code] <form …

Member Avatar for drjohn
0
155
Member Avatar for j2dao2dae

Hi, I am after some advice, any would be very much appreciated. I want to create a members area, members login and their information is displayed. I have created the login and register pages and now I am at the stage of having a MYSQL database with information in relevant …

Member Avatar for mrcniceguy
0
101

The End.