39,326 Topics

Member Avatar for
Member Avatar for cali_dotcom

i have a php application where users can apply for a bonus. but there is a confirmation page before the bonus redemption code runs. the issue is that in IE, if you hit f5 right after you click the continue button, the confirmation page refreshes while the bonus redemption code …

Member Avatar for pritaeas
0
754
Member Avatar for vedel.bajic

Basicly I try to send values to a PHP Server and read out returned information I get from the Server. The PHP code is not the problem. My Problem is I don't know how I can send values with C++. I don't have any code yet because I don't know …

Member Avatar for Gonbe
0
220
Member Avatar for leviathan185

I am delving into trying to understanding how the MVC structure works. I am following a [tutorial](http://anantgarg.com/2009/03/13/write-your-own-php-mvc-framework-part-1/) and a little bit down the page where is is explaining the Controller class and how it initiates the Model and View there is some code there that does not quite look right …

Member Avatar for leviathan185
0
94
Member Avatar for Shodow

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/a1039476/public_html/getdetails.php on line 69 help <form action="getdetails.php" method="post"> Search Within: <select name="searchtype"> <option value="CustomerID">Customer ID</option> <option value="CustomerName">Customer Name</option> </select> Search Record: <input name="searchterm" type=”"text" size="20"/> <input type="submit" name="submit" value="Search"/> </form> <?PHP echo "<title> *********** </title>"; $searchtype=$_POST['searchtype']; $searchterm=trim($_POST['searchterm']); if …

Member Avatar for pritaeas
0
250
Member Avatar for mystycs

Below i made a MySQL Table in my phpmyadmin. [Click Here for a screenshot of my phpmyadmin table](http://i.stack.imgur.com/7gl77.jpg) I want to print on my php page the cat_name of a cat_id of my choosing. What code would i use exactly for that? I am looking at this guide here But …

Member Avatar for diafol
0
191
Member Avatar for cigoL..:)

Hi guys! I don't know if i post it in the right forum page, but I would like to ask if it's possible to put color on the last row of your table (LAST ROW ONLY). the data is from SQL. I would appericiate any references or links, snippets, anything! …

Member Avatar for diafol
0
106
Member Avatar for Shodow

onload mysql 'query' will be executed then if the visitor will hit search the mysql 'querysearch' will be executed how to do that? <form action="default.php" method="post"> Search Within: <select name="searchtype"> <option value="CustomerID">Customer ID</option> <option value="CustomerName">Customer Name</option> </select> Search Record: <input name="searchterm" type=”"text" size="20"/> <input type="submit" name="submit" value="Search"/> </form> $searchtype=$_POST['searchtype']; $searchterm=trim($_POST['searchterm']); …

Member Avatar for LastMitch
0
214
Member Avatar for <M/>

I have a form and a csv file. The inputs go into the csv quite well but for some odd reason, they display in one row... why is that? I want multiple rows per submission... PHP: <?php $fn = $_POST['fn']; $name = $_POST['name']; $email = $_POST['email']; $phone = $_POST['phone']; $comments …

Member Avatar for LastMitch
0
108
Member Avatar for rotten69

Hey everyone, I'm having trouble to get this code to work as I wanted. My application is running on the top jQuery for mobile framework. The message I'm getting is this "undefined". I enter the right username and password but don't know what is undefined. <?php include('funcs/connector.php'); $port = new …

Member Avatar for rotten69
0
121
Member Avatar for benjamin.agumba2

Hello All, I will really appreciate it if someone can help me out with this. I am currently designing this website www.tasktigers.co.uk. The site seats well on my computer screen but not others or the site owner device. When you view it with a mobile device like the iPhone and …

Member Avatar for roscoesteib
0
102
Member Avatar for pranay1995

hi all below is my profile.php <?php $host="localhost"; $username="root"; $password=""; $db_name="spl"; $tbl_name="registration"; mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $Username = $_SESSION['Username']; $result3 = mysql_query("SELECT * FROM registration where Username='$Username'"); while($row3 = mysql_fetch_array($result3)) { $Name=$row3['Name']; $Age=$row3['Age']; $Mobilenumber=$row3['Mobilenumber']; $Address=$row3['Address']; $Username=$row3['Username']; $Password=$row3['Password']; } ?> <table width="398" border="0" align="center" cellpadding="0"> <tr> …

Member Avatar for Zagga
0
123
Member Avatar for asif49

I'm developing a website, so when a user hits a button the following sample sql code is run. This is for registeration and basically meant to take information entered in a form and save it. BEGIN TRAN *sql code* *sql code* COMMITT TRAN BEGIN TRAN *sql code* COMMITT TRAN IF …

Member Avatar for LastMitch
0
121
Member Avatar for anu013

I need to send newsletters say to 20,000 email IDs, but in batches and I am very new to this mail sending process so I got stuck at the beginning only. I have my mail server is a shared server, so I have the limit say 100 emails per hour, …

Member Avatar for chrishea
0
143
Member Avatar for OsaMasw

Hello there, I need help to create simple rank system 1st thing I need is how to number the players in my database from 1 to ...... so if I create multipage in each page there is the actual rank for them 2nd : I need to create change indecator …

Member Avatar for OsaMasw
0
160
Member Avatar for karlcunanan

Hello PHP geniuses! I am a beginner in php and would like to seek your expert advices and knowledge. When I display the result to a table, it always loop at the bottom, I want to display the another table at the right side of the first table. When I …

Member Avatar for LastMitch
0
203
Member Avatar for wastedkill

How to do a if logged in show logout link/profile link and if not show the login link, in php code I have tried but failed I have gotten the username to post but that is about it I am also still learning php. I have spent the last 4 …

Member Avatar for wastedkill
0
155
Member Avatar for Farhad.idrees

HI friends... i m making website which has menu bar and several pages... i want to fix menu bar on all pages because menu bar is same for all the pages.. how to do it any suggetion? Regards..

Member Avatar for diafol
0
127
Member Avatar for arcticM

on the screen there's a button, when user clicks it, a function is called. this function is creating a pdf file, in the end of the function a pdf file is created and saved in tmp folder. I want to add some code at the end of that function that …

Member Avatar for adam.adamski.96155
0
329
Member Avatar for dannybarh

this my script.When i do this,it works fine ` $query = "select * FROM aboutusx order by title desc"; ` but when i do this `$query = "select * FROM aboutusx WHERE myaccountid='$myid' order by title desc";` then i get this `Notice: Undefined variable: start in D:\xampp\htdocs\kwa\admin\userindex\inc\ps_pagination.php on line 176` …

Member Avatar for pritaeas
0
487
Member Avatar for rajilakshmi

I am creating a web application using php. I want to create a sitemap for my application. I dont know how to create that xml file and how to include in php. And also I want to know that, is it possible to check that in my localhost before upload …

Member Avatar for rajilakshmi
0
639
Member Avatar for gws75

Hello, I have a form with two fields as Subject(textbox) & Message(textarea), & using tinyMCE editor for Message field (textarea). On clickof Submit mail is sent to some users with the entered subject & message in the form fields. It is working well if I use to send a link …

Member Avatar for pritaeas
0
228
Member Avatar for Eggstraordinary

How do i put div tag in my example echo here? if ($_SESSION['username']) { echo "you are logged in as: ".$_SESSION['username']; } I want to put style(css)on that $_SESSION(username) whoever logins. For example, you are logged in as: Sam I want to style the name Sam.

Member Avatar for Eggstraordinary
0
314
Member Avatar for AndreRet

I need to add an image (saved path in mysql - image from file on server returned from $image_id) to my page according to 4 rows returned. There will always be 4 rows returned from db. My problem is that it shows the same image (main with 3 thumbnails) in …

Member Avatar for AndreRet
0
231
Member Avatar for DrChocolate

Dear Everyone, I have a functional instant search (in draft at [Click Here](http://www.woofwoofwoof.org/is08/search.htm)). I want the search to function very similarly to Google. This will help sighted people figure it out, and bring me much more in compliance with accessibility standards. Unfortunately, I'm missing two "Google-oid" features: . 1) **How …

Member Avatar for Airshow
0
346
Member Avatar for ratanji

hi daniens i want to send the attachments through authenticated mail in php. so can anyone help me ?? thanks in advance :)

Member Avatar for pritaeas
0
186
Member Avatar for pranay1995

hi all; i have a reg.php where the user can register if user registration is success then he/or she is redirected to the login in 3 secs with a message saying **"you have successfully registered you will be redirected to the login page shortly"** but if the registration fails i …

Member Avatar for pritaeas
0
149
Member Avatar for javedsai

Hi everyone, When I'm typing url for e.g. www.mydomain.com then, it is not redirecting to www.mydomain.com/index.php. It is displaying error message on browser as **Server Error. 403 - Forbidden: Access is denied. You do not have permission to view this directory or page using the credentials that you supplied.** If …

Member Avatar for pranay1995
0
293
Member Avatar for Anonymous123

I have created a website with two webpages. One webpage has an html form that allows a potential employee to submit their name, phone number, preferred job, college major, and preferred hours (part time or full time). The information is appended and saved into a text file called applications.txt. The …

Member Avatar for leviathan185
0
163
Member Avatar for jacob21

I want a Jquery Popup Form which will appear on Page Load but only one time (for newsletter purpose). After filling form.. I want to store values into a table.

Member Avatar for dean8710
0
85
Member Avatar for havish999

I have a table attendance which contains id(int), attendance(char), and date(date datatype) columns. Values get stored in this table through a php file. In the below code I have given two textbox for the user to select date range. eg. from 2012-10-15 to 2012-10-17.. when the user selects date range …

Member Avatar for havish999
0
256

The End.