39,323 Topics

Member Avatar for
Member Avatar for bangla

Hi, I have the below code which counts the number of visitors for my webpage. it works fine. <a href="http://csshtmltutorial.com"> <img src="http://csshtmltutorial.com/counter.php?display=uniques&style=12100" alt="total visitors in Job Page" border="0" /> but i want to set a different counter for a particular page. that means when visitor comes to my webpage i …

Member Avatar for almostbob
0
204
Member Avatar for pnKK

[B]I had this error:[/B] [ICODE]Parse error: syntax error, unexpected T_STRING in C:\Program Files\WampServer\www\atestat\admin_add.php on line 14[/ICODE] I can't figure out what's the mistake, so I posted here. I use PHP version 5.3.5. [B]Here is admin_add.php file:[/B] [CODE]<?php include('config.php'); $categorie = $_REQUEST['categorie']; $titlu = $_REQUEST['titlu']; $autor = $_REQUEST['autor']; $descriere = $_REQUEST['descriere']; …

Member Avatar for diafol
0
174
Member Avatar for joejoejoejoe

Hi there, I am after some help... I am new-ish to PHP. I am currently after a script that will enable the following... I have user images in a MYSQL database, all linked to external sites so only have the image URL's. I would like to create a grid of …

Member Avatar for diafol
0
26
Member Avatar for niche1

I need to understand how to positition/float an image created by php. I know how to position/float JPG in PHP, but am unclear of how to position/float an image generated by PHP. This script displays a barcode in the upper left-hand corner of the page. I think the header script …

Member Avatar for diafol
0
230
Member Avatar for davy_yg

HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map. I already installed IIS in windows 7. When I try to browse …

Member Avatar for svilla
0
177
Member Avatar for jacksantho

Hi, I installed Xampp on my server(windows 2003).I am having perl script(i.e cgi program).Inside cgi program, i wants to use HTML HYPERLINK-that should points to my PHP program and plus i wants to pass one parameter to this hyperlink. Is it possible to call PHP script?If is it possible means, …

Member Avatar for jacksantho
0
215
Member Avatar for hawx

I am trying to create a basic a accordian style menu. Im guessing i have done 90% of the code, but a little stuck now. I have three widget and what I am attempting to do is hide all the widgets apart from the one actually clicked. My code so …

Member Avatar for hawx
0
89
Member Avatar for raghujosh

I have a string [B]$initial_string = "<input type = 'checkbox' name = 'cb[]' value = '[a-zA-Z]'>"[/B] In this I want to [B]match the letters 'cb'[/B] and [B]replace it with '1cb'[/B]. The final string should look like this [B]$final_string = "<input type = 'checkbox' name = '1cb[]' value = '[a-zA-Z]'>"[/B] My …

Member Avatar for raghujosh
0
128
Member Avatar for BryantFury

hi ive been working from a few questions etc at college and im really stuck on this particularly one. i am given this code : [CODE] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Prac3 Task 8</title> </head> <body> <h1>Task 8</h1> <!-- …

Member Avatar for BryantFury
0
113
Member Avatar for khr2003

Hi I am implementing a template system using the wrapper class in this example: [url]http://www.php.net/manual/en/stream.streamwrapper.example-1.php[/url] I use this code to get the wrapper output: [CODE] ob_start(); include("template://" . $template_name); $template .= ob_get_contents(); ob_end_clean();[/CODE] However, in some servers this code is not working, all I get is a blank page. I …

Member Avatar for twiss
0
115
Member Avatar for divyakrishnan

Hi, I want to create a group of radio button(2 buttons on a group) by dynamically with different names.After submitting the form I want to retrieve it on PHP. I can create the radio buttons dynamically.But I could not retrieve the values on PHP. There is a problem with radio …

Member Avatar for urtrivedi
0
1K
Member Avatar for Hakoo

Hello Friends, I have checkbox which is generated dynamically. Here the code is : [CODE] <?php $i=0; while($row1 = mysql_fetch_array($result)) {?> <label><?php echo $i++ ?><input type="checkbox" name="chk_list[]" value="<?php echo $row1['Veh_id'];?>" class="txt" onClick=""><?php echo $row1['Veh_nm']; ?></input></label></br> <?php } ?> [/CODE] Now, I want to insert IDs and related information which checkboxes …

Member Avatar for vibhaJ
0
208
Member Avatar for mafhh14

Is there any third party API comes which help to read word file content without using COM.

Member Avatar for vibhaJ
0
84
Member Avatar for muralibobby2015

hello, i am using [URL="http://plugins.jquery.com/project/bssound"]BS sound[/URL] mp3 player for play songs in my website.it is working fine in my website but it is not playing in I-PAD. please give me any suggestions. thanks.

Member Avatar for muralibobby2015
0
72
Member Avatar for niche1

I have a script that supposed to display the barcode for each item in the selection (66 rows in this case). However, it displays the barcode from the last item 66 times. How do I display each item selected? I know all the result of the mysql selection is complete. …

Member Avatar for vibhaJ
0
99
Member Avatar for AboJaD

Hello, i am facing an issue in retrieving data from an array. I have a table called registered_members, the table contain First_name, and Last_name. I also have a table called Friends, it contain Friend_ID, Member_ID, Status. What i did is that in a search box, when someone type a name …

Member Avatar for vibhaJ
0
140
Member Avatar for navi17

[CODE]<form method="POST" action="https://www.thewiseagent.com:443/secure/webcontactAllFields.asp" name="myForm" onSubmit="return chkForm(this);"> <!-- Do not change --> <input type="hidden" name="ID" value="67,176,210,31,93,194,29,70,235"> <!-- These fields can be edited --> <input type="hidden" name="responsePage" value="http://http://www.expertforyou.com/"> <input type="hidden" name="Source" value="website referral"> <input type="hidden" name="Categories" value=""><!-- semicolon;delimited no spaces --> <input type="hidden" name="currentUser" value=""><!-- internal team member --> <input type="hidden" name="ProgramID" …

Member Avatar for Kannan R
0
222
Member Avatar for maxlipman

I need a script that allows users to privately message each other. How can i do this and where can i find an easy script for this? All it needs to be able to do is send messages to a username and then it would have an inbox for the …

Member Avatar for Sorcher
0
140
Member Avatar for niche1

How do I advance the pointer to the next row within a while loop using mysql_fetch_array?[CODE]while ($row = mysql_fetch_array($result)) { $zip11 = $row['postnet ip']; include "postnet2.php"; //SOME MORE PROCESSING //I NEED TO ADVANCE THE POINTER HERE TO THE NEXT ROW //SOME MORE PROCESSING } [/CODE]

Member Avatar for niche1
0
60
Member Avatar for phpDave

Hello. I'm trying to use a wildcard for a $var. in a SELECT statement. Can't seem to get it to work. '$search_Recordset2' is the $var. [CODE]("SELECT * FROM table WHERE col1 LIKE '$search_Recordset2' OR col2 LIKE '$search_Recordset2' OR col3 LIKE '$search_Recordset2'"[/CODE] If I use '%$search_Recordset2%' or %'$search_Recordset2'% I get error.

Member Avatar for phpDave
0
155
Member Avatar for hermanSA

Hi all, Sorry for the long post but i need to describe my problem properly to avoid confusion, i hope I have a table with users, and every user has a specific latitude and longitude coordinate. let say user Test_User is logged in and then he decides he wants to …

Member Avatar for hermanSA
0
187
Member Avatar for Joshua Kidd

I am making a register page and I have one error. [CODE]if ($_POST['submit'])[/CODE] I keep getting Notice: Undefined index: submit in C:\xampp\htdocs\globallypictured\register.php on line 6 NO IDEA WHY. . . Can someone please help...

Member Avatar for Joshua Kidd
0
105
Member Avatar for diafol

Hi all, preg-Replace has stumped me again. I'm just too thick to get it. This is my problem: I have two files. File 'newvalues.php' with an array like so: [CODE].... $lang['this_key'] => 'blah blah blah'; $lang['another_key'] => 'rhubarb rhubarb'; $lang['something_else_key'] => 'twitter twitter'; ....[/CODE] And another file: 'template.php' like so: …

Member Avatar for diafol
0
158
Member Avatar for begueradj

Hi people, I would love to list the table of my database: could you give me a hint to fix this problem using a PHP script ? Thank you very much begueradj

Member Avatar for pritaeas
0
33
Member Avatar for natchattack

Ok i am pretty new to php so i could be missing a simple trick here. I need to be able to read all text files within a given directory and have them appear in a combo box by file name. After searching for what seems like forever, i can …

Member Avatar for esilva002
0
237
Member Avatar for charvie

Is Multiple download files possible using PHP? We did find a code for single download. but we need it for multiple download. can anybody help me? Thank you! :)

Member Avatar for FloridaCI
0
131
Member Avatar for rkayd

I am wondering if this is possible: I have a web page that displays a table which includes Work Order Numbers. I would like to make the numbers into a link that when I click it it automatically brings up an edit form for that particular record. For example, here …

Member Avatar for rkayd
0
187
Member Avatar for davy_yg

Hallo all, I try to install joomla (php based CMS) in my IIS server. When I run the file (index.php): [url]http://localhost/Joomla/[/url] (it only shows me a list of file names in the folder. [url]http://localhost/Joomla/index.php[/url] (it shows me the php codes in IE instead of showing me the running joomla application. …

Member Avatar for almostbob
0
151
Member Avatar for nijicp

Hey.. I am working on a new project and I am using Joomla version 1.5.22. I need to display one horizontal search form in the middle of home page and the same search form in vertical style in all other pages but in left position. So what I did is, …

0
68
Member Avatar for cliffcc

How to rewrite the code so do the loop in this case? [code] <?php require("connect.php"); $banner1 = mysql_query("SELECT * FROM banner WHERE bannerid ='1'"); $row1 = mysql_fetch_assoc($banner1); $bannerpath1 = ($row1['bannerpath']); $bannerheight1 = ($row1['bannerheight']); $bannerwidth1 = ($row1['bannerwidth']); $bannerdescription1 = ($row1['bannerdescription']); $banner2 = mysql_query("SELECT * FROM banner WHERE bannerid ='2'"); $row2 = …

Member Avatar for perfectweb
0
176

The End.