39,320 Topics
| |
Hi There, For some reason the following is not working - Inside the text field it displays nothing: [CODE]<?php include 'dbc.php'; page_protect(); $rs_settings = mysql_query("select * from users where id='$_SESSION[id]'"); $row_settings = mysql_fetch_array($rs_settings); ?> <html> <head> </head> <body> <form action="index.php" method="post" name="regForm" id="regForm" > <input name="first_name" type="text" class="updateusersmall" id="first_name" value="<? … | |
Hi There, I've set up a profile page where people can enter the address and then it displays all the information. However the URL doesn't seem grab the MySQL information for the certain ID. How do I do it? Example URL: [url]http://www.website.com/profile.php?id=[/url][B]1[/B] so when you go to that URL it … | |
So I'm having a heck of a time getting this to work- JavaScript isn't exactly my specialty and I realize that's a big part of the issue, but I'm at my wit's end... I'm developing a PHP application that deals with scheduling music lessons. In my application, I have these … | |
Hi I have a multiple-query issue I'd like some advice and help with. I am trying to create a website, in which users can upload their own images to the site. I am a beginning in PHP (and only solid in html and some sql querying) What I think I … | |
hi i need some help with a project i am working on. i basically have a back end site php/mysql with clients addresses etc, i need to be able to send that data to another site where they have login and passord for and it pre populate the forms in … | |
Im looking email members from a database where the emails are stored but also in a seperate table would be the information I want to send to them . I have this code of which i could use manually but 1. how do i get the multiple recipients to go … | |
Hello, I have the code below and I'm having a problem checking the returned values from the query i send,i really would like to know how to check each and every row the query return if it contains null values.And if it does contain the null values to update another … | |
Hi there, I am using CKEditor, a rich text editor. I am using PHP validation. I am trying to display the text area value provided by the user input into the new text area once submitted. The problem is I am getting an output with "\r\n" rather than it actually … | |
I am using PHP and iam not understanding the concept of inheritance,I need to access the method in the base class from the inherited class,I created a base class object and called the method using the object,The method was declared in protected mode but now i am not even able … | |
I have this very easy form to store info in a database table but i would like to be emailed once somebody has entered the details, how would i do this please? Form [code=php]<form action="insert.php" method="post"> <div align="center">Firstname: <input type="text" name="firstname" /> Lastname: <input type="text" name="lastname" /> Email: <input type="text" … | |
I am reading XML and PHP. I have to import a xml file in mysql database using PHP script. I tried using 'simplexml_load_string()' and 'simplexml_load_file()' functions. It worked. But how the xml parser is used to import XML files into Mysql Database. Please tell me about this, I tried the … | |
Hi there, I'm having a bit of a problem passing a variable from a form to a php script and could use some help. I hope this makes sense: The problem occurs when the script doesn't recognise the name of the text-area (which is a unique name that changes each … | |
This is for a tool I have that receives a lot commercial emails and it would only apply to that. It is not for emails that I receive from individuals with yahoo.com, gmail.com, or business accounts. I'm familiar with retrieving and parsing email headers using imap_headerinfo. I found that imap_header … | |
i am programming a web site for a store and the manager of shop want to display onlinw show via their camera on the store. how can i do it in a php site? what are the requirements for doing this job? should i have a dedicated server for that … | |
Hello I have searched and tried to implement this without any success. I have written a code to update several records using a checkbox. This works perfectly. However, I wanmt to add the pagination functionality to it, but this is proving a nightmare. Please can some one help me? Below … | |
PHP: If go to upload an image exist already and sometimes want replacement what code? if this is the default, please tell me for: if[B] not [/B]want replacement what code? | |
Hi, My mysql_error is No Database Selected. errno 1046 I am connected to the database and it has worked fine before so I was wondering what I am doing wrong. The code is from a tutorial I am using. [CODE]<?php require_once('Connections/connAdmin.php'); ?> <?php //file properties $file = $_FILES['content']['tmp_name']; if (!isset($file)) … | |
How to automatically setfocus on text input in a and go back to same page after data has been entered.. Just like after you enter a data in input box, the form will refresh and the focus will go in the textbox again.. thanks in advance.. | |
Hello. I am trying to get the correct code in order to get specific content shown according to the current site the visitor is on. I have done two tests: [CODE=php] <!--START TEST 1--> <?php class address { function curPageURL() { $pageURL = 'http'; if ($_SERVER["HTTPS"] == "on") {$pageURL .= … | |
hi all, anyone knows whats wrong with this ipn lister? its exact same paypal ipn with only few changes in sql query, i get 500 internal server error however when i use the original paypal ipn script i don't get any error, any help please [QUOTE] <?php include ('config.php'); ///////////////////////////////////////////////// … | |
I am having a weird problem setting a session variable. I use a session array ($_SESSION['message']) to display messages. $_SESSION['message']['type'] = error/success; $_SESSION['message']['message'] = $message; Here is the function for displaying the message: [code=php] function displayMessage(){ if(isset($_SESSION['message'])){ echo" <div class=\"notification " . $_SESSION['message']['type'] . " png_bg\"> <div> " . $_SESSION['message']['message'] … | |
Is there an easy way to display records in a database? I have the query set up but I don't know how to output the result to the user.. Here is my php: [CODE]<?php session_start(); if (!isset($_SESSION['memberusername'])){ header("location:contractorlogin.php"); exit(); } $user = $_SESSION['memberusername']; $sql = "SELECT Username FROM contractors WHERE … | |
Hi. Im making a web based automatic email generator using php and a form. I've got all it working, apart from the email addresses. Its for works intranet and they use outlook 2003 on exchange. basically.. I have this [code] echo "<meta http-equiv=\"refresh\" target=\"_NEW\" content=\"0;URL=mailto:smith, james;beckham, david; minouge, danni; cole, … | |
here's the process: 1. i display the mysql data in rows with checkboxes on each row 2. i want to add the checked values into another table under the specific field employee here's the problem: i can't seem to insert the checked value to the specified project table. what if … | |
Hi, I'm having two issues with my Search engine for my website. It is created to search through my database (it doesn't crawl through pages). The first problem I'm having is when I type in for example: Super Mario Bros and there is a row in my table with a … | |
Hello. I have a search engine, and I was wondering how to have certain checkbox forms appear depending on what the person searches for. And would it be easy to make the checkbox filter out the search results I have? I tried looking for it online but I can't find … | |
Does anybody know how I would use sockets to tap into the SMS protocol for sending+receiving SMS messages. Basically, all I want to be able to do is setup a php script that will be able to act as the SMS server and send+receive the SMS's directly through the SMS … | |
hi frnds, i am doing one tv channel website.I want to add tv(live) to the webpage. please give me some suggestions. if possible give some code. eg : SNIP Thanks Saritha K. | |
Hello world. Im having problems with my companys intranet and can't work it out. Basically, I've got a html form text field, which I want to be able to search. I don't want to make a search engine, its already there, I just need the query typed in the field, … | |
when I try to access my phpMyAdmin. It occurs this error message. [QUOTE]MySQL said: #1045 - Access denied for user 'root'@'localhost' (using password: NO) phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and … |
The End.