39,393 Topics

Member Avatar for
Member Avatar for chunguy

Hi all, How can we gain control of printer using php? I mean gain control as in, choosing the right printer from our php page and send the document directly to printer. I want to bypass the print dialog box that will appear when we print from web browser. By …

Member Avatar for eagoweb
1
10K
Member Avatar for masocha

l want to add products to cart from the browse page. However when l add a product with attributes l get the following message [B]Info: To add this product into your cart you have to select a product variant on the details page.[/B] Can someone please tell me how l …

0
85
Member Avatar for Senvan

I am doing a project on php and sql and it involves posting of quetions by various persons and replying to those questions(which is a dicussion forum). Can i add text boxes for posting a question and displaying answers to those questions from a database. can u help me out …

Member Avatar for Lsmjudoka
0
63
Member Avatar for tristanhall

Hey guys! I am working on creating a website that offers resources and calculators for a lot of algebraic and geometric equations. One thing that I want it to do is factor polynomial equations. For example, x^2-x-2=f(x) would become f(x)=(x+1)(x-2). WolframAlpha.com does this for all polynomials so I know that …

Member Avatar for tristanhall
0
546
Member Avatar for Awah Mohamed

hey everyone i have sugested to create a new club in my school called programmers , so they told me that i have to bring a list of the club aims and they xheck if the aims are good or bad then they accept the club or no , so …

Member Avatar for budalverson
0
83
Member Avatar for itisnot_me

i dont know what is the issue and it is not giving me a error in the error_log. i have a variable that collects from the url to be put into the query were the DB field would go. i know that is is the part that is not working …

Member Avatar for itisnot_me
0
106
Member Avatar for lwaterfo

Hi all, Newbie question;.... I have a database and a table within called 'data'.. I also have a login script that allows users to access it. My question is..how do I make only the user's record viewable/accessible after login. Specifically, how do I access, the a specific record in the …

Member Avatar for lwaterfo
0
114
Member Avatar for cjay175

Hi all, I am having an issue with a php script that has worked fine in php 5.2.0 but with an upgrade to php 5.3 it is only prtly working. From what I understand ereg has been depreciated so I have tried many variations of trim() and preg_match() to remove …

0
50
Member Avatar for mulevad

I have an IIS7.5 server installed on my laptop. I'm learning C#, XML, XSLT, .NET, Visual Studio 2005, 2008, 2010 and Microsoft Expression Web. I am the webmaster on a simple PHP website that I inherited. I figure I ought to learn PHP, but figure I also need to install …

Member Avatar for mulevad
0
138
Member Avatar for qazplm114477

Is there a particular reason as to why some people use .inc and some just use plain .php for include files? Does actually do anything performance wise or does it just make it easier to distinguish between files?

Member Avatar for digital-ether
0
109
Member Avatar for Traicey

Hi All Im not sure if this is possible but here is the thing I have thankyou.html page that should be opened in the lightbox when a submit button is clicked and the email is sent, I have a contact.php that send an email to the person with the details …

Member Avatar for diafol
0
110
Member Avatar for BzzBee

hello, I had a fckeditor at my php page, i want to put some data in fck editor when user click a button. How can i do that using javascript. Please help

Member Avatar for dennishall
0
419
Member Avatar for s2xi

Hey guys, I was making a form that is um... quite large and all inputs consist of the form looking like [CODE]<input type="text" id="first_name" name="first_name" />[/CODE] so instead of having to do [CODE]$first_name = $_POST['first_name'];[/CODE] and so on for every input, is there a way to grab every 'name' or …

Member Avatar for SolidSolutions
0
152
Member Avatar for dennishall

Hi All: I have been working very hard and long at understanding this situation. I have tried many different sample scripts, to check my work and find find my solution. I have created a job board for a client, the user applies for a job in application form.php which then …

Member Avatar for dennishall
0
345
Member Avatar for mpc123

I have a news feature on a website and have a page that shows all of the news and a link to the actual page of each individual news. On first page that lists all the news i would like to limit the amount of Characters that is echoed from …

Member Avatar for P0lT10n
0
152
Member Avatar for hmhb.in
Member Avatar for P0lT10n
0
81
Member Avatar for julianmoors

Hello, I am building a search filter, but I don't have much experience using AJAX. What I want to do is select a subject from an initial list then return a list of tutors which I have already done. Then I would like to return a list of centres, year, …

Member Avatar for P0lT10n
0
633
Member Avatar for shaikh_mshariq

I have written some code to fetch details from database according to the given id. I am using ajax to help the ui. I can see the responseText in alert box but when i use it as reponseXML than it doesnt give me any child node my server side and …

Member Avatar for gecata83
0
153
Member Avatar for iammirko

Yesterday, I had started a thread with a problem, am trying to execute the script below, but each time it is failing and returning "Unable to record form details". Note: "Unable to record form details" is the response returned when isset($_POST) is not working, refer the code for more details. …

Member Avatar for iammirko
0
100
Member Avatar for g4george

Why dose this not work? When I submit a emty form [CODE] if((!isset($uname)) || (!isset($passw))) { header("Location: ../pub-login.php"); $_SESSION[validate] = "Entry not recognized"; exit(); } [/CODE]

Member Avatar for swilliamrobert
0
93
Member Avatar for swilliamrobert

Hi, I have some problem posting data to other page. Now i am explain. One page (called A.php) is refershing and checking database whether status 1 or 0. If sataus finds 1, A.php page posting values to B.php automatically. Then i need to confim whether B.php page getting values or …

Member Avatar for swilliamrobert
0
136
Member Avatar for kavykav

[CODE]<?php class Application_Model_YearBook_Mapper { protected $appId = "assOvWMver34QkcaaNYdUc"; protected $collectionId = "chDkpaVkWr36J-caaNYdUc"; public function add($course, $year, $userId) { $body = "$course#$year#$userId"; $entryMapper = new Application_Model_Appdata_Collection_Entry($data); $data = array("content_type" => "text/plain", "body" => $body); $entry = $entryMapper->create($this->appId, $this->collectionId, $data); } public function fetchAll() { $collectionMapper = new Application_Model_Appdata_Collection_Mapper(); $collection = $collectionMapper->fetch($this->appId, …

0
42
Member Avatar for pjh1985

Hi, I am trying to design a dynamic website with a content management system and i was wondering what would be the best way to add content such as a photo gallery etc to the dynamic pages. This is a general question but i will explain the problem i am …

Member Avatar for pjh1985
0
142
Member Avatar for hmhb.in

i have the student record .excel file. how can i display the student detial one by one(when next buuton is pressed)

0
56
Member Avatar for mangel.murti

hi guys,,, deep trouble,,,, i don't know where to put this question ... when i am seeing my webpages onevery page this script comming .. i have no idea how to deal with this thing.. i search google did some thing for related to cpanel. changning all my account password,,,, …

Member Avatar for vaibhav1983
0
118
Member Avatar for qazplm114477

I was just wondering if there was a more optimal way to add dates to mysql if I had a drop down for each field. This is the code I use to format the dates [CODE]$date_hired = format_date($_POST['month_datehired'], trim($_POST['date_datehired']), $_POST['year_datehired']); //I have 3 dropdowns in my form, 1 for months, …

0
100
Member Avatar for flamer_x86

Hi, I'm newbie in IIS and MSSQL using php. I got problem connecting to my host and selecting database. Could you please help me how to connect using php. Mar,

Member Avatar for flamer_x86
0
130
Member Avatar for muralibobby2015

hello i am working on google map,streetview. i am using below code.[CODE]<!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Google Map and Street View</title> <script src="http://maps.google.com/maps?file=api&v=2&key=INSERT_API_KEY_HERE" type="text/javascript"></script> <script type="text/javascript"> //<![CDATA[ function load() { if (GBrowserIsCompatible()) { var lat = -33.867141; var lng …

Member Avatar for muralibobby2015
0
161
Member Avatar for muralibobby2015

hello... i am getting problem with this regex....what is the exact format of this pattern only 000-000-0000. exact this pattern only not other U.S phone number format. why because i am using below javascript for this validation. [CODE]if(window.document.UserDetails.phone.value=="") { alert("Please Enter The Phone Number") window.document.UserDetails.phone.focus(); return false; } var pattern …

Member Avatar for muralibobby2015
0
185
Member Avatar for Smudly

Hi, I'm trying to type in a name of a song into an input field, for example: I'll Be Missing you This field is captured through $_POST and set to a variable $title I then update the table with this new title. Once it is updated, all that is shown …

Member Avatar for Lsmjudoka
0
96

The End.