39,323 Topics
| |
Hey everyone. So for example sake I have this: [CODE] <title>index.php</title> <form name="form1"> <select name="useraccounts" id="" value="" onChange=""> <option id="" value="">cant login</option> <option id="" value="">forgot password/option> </select> </form> <form name="form2"> <select name="computers" id="" value="" onChange=""> <option id="" value="">physically broken</option> <option id="" value="">needs repair</option> </select> </form> ////////////////////////////////////////// <title>popup.php</title> <form name="form"> <select … | |
Hello, i have a question about mod_rewrite. I have the following url: [url]www.example.com/listen.php?title=U2_with_or_without_you&youtube_video_id=hTgnDLWeeaM[/url] Now, i want to rewrite it like this: www.example.com/U2_with_or_without_you->hTgnDLWeeaM Now, my question is, since i can't use the caracters - or _ as separators between the get parameters, it is "safe" to use -> ? Is it … | |
Hello I am working on php website. Now here im working on sending orders. So once it is ordered the confirmation e-mail goes to one who ordered(he enters his e-mail id manually) and the head of the department(e-mail ids written in code). But now I have put a checkbox that … | |
Here is what I am trying to accomplish: I have a form, reschedule requests. I have gotten it to autofill the logged in user and email using the site's global variables. In other database tables, I have info on who they're scheduled with, and their scheduled time. I need to … | |
Hello All! This is my first post, as I just joined this forum after finding lots of information about my problem, but no actual solutions... Same basic issue as most, but I've tried everything, and nothing is working! 1. User Logs in - upon authentication, user is taken to "member's … | |
Dear Friends, I am a web designer hence i only know very little of PHP programming. I need help on the PHP script for me to post data from other server to my server. Due to my lack of knowledge in PHP so i'm using JetForm.com as a third party … | |
Hey friends, I have a page that I've been working on for HOURS and finally almost have it perfect except for TWO things: 1. Every time I load the page it automatically inserts a blank row of data into my MySQL database. (Submitting it after filling out the for works … | |
hello! question, i want to unset all the session that i created on my script except for 1-3 sessions, can i use [B]session_destroy[/B] to unset those sessions and exempt the 1-3 session that i dont want to be unset? thanks! | |
Hi, I am having a problem with my file upload. I have a folder with my fileform.html and upload_file.php and a folder "upload" where my uploaded file stored. This is the body of my fileform.php: [CODE]<form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file" /> <br /> <input type="submit" … | |
hi i want to learn php but am confused at the first step itself. i donno hw to start. i hav installed wamp server on my pc, is it the right beginning? i dont know where to type the <?php </? codes and all please help me should i install … | |
Hello I installed MYSQL and Apache via XAMPP. And I am trying some codes from a textbook while Apace and MYSQL are running. I am trying to connect MYSQL with this code :[CODE]<?php //connect to MySQL; note we’ve used our own parameters- you should use //your own for hostname, user, … | |
I am on a godaddy server now and trying this mod-rewrite stuff and it is still not working. I have been searching google now for hours looking for the answer and cannot find it. Here is my entire .htaccess file: #Rewrite Rules Options -MultiViews Options +FollowSymLinks +Indexes RewriteEngine on RewriteBase … | |
Can u help me guys im a newbie in php...i want u 2 check my Update code because they not function. is there something wrong in my code? [CODE] <?php $con = mysql_connect("localhost","root",""); $sql = mysql_select_db("luweegee",$con); ?> <html> <body> <table border=1 align='center' width=800 cellpadding=20 cellspacing=0> <tr><td colspan=2><h1>Edit Record</h1></td></tr> <tr> <td … | |
Hi ppl, I am trying to save the details of a form on clicking submit into a database. the details entered in text box get saved, but the options chosen from drop down are not getting saved. I noticed that, if the option has space (Eg: Tom Hanks) it doesnt … | |
Hi, I am new to this forum and my question is this. I have installed swoopo and some of the links work on the pages and some links go back to the root directory which is not where my pages are stored. There must be multiple places the paths for … | |
hello! i'm a super newbie at php i'm trying to learn some scripts, what im trying to do now is a simple shop system. i have a table that contains item_id , item_name, price, quantity what i want to do is that a customer will choose an item, how many … | |
hi guys l wanted to know that it is it possible generated diagrams in php....what l mean is that l am doing an online exam project and some of the exam questions must have graphs or diagrams on them so how can this be done to output these diagrams....... the … | |
i've generated dynamic pdf files from php script with mysql which suppose to have 25000 files. The problem is after the loop i only have 24978 files and 22 files is missing. I couldn't find the problem and which record did not process. i was thinking of the solution reverse … | |
I am thinking of setting up a link shortener for myself, and I want to know how to track unique and total clicks. Well, the total clicks are easy to do. I think the unique clicks are more challenging. Also, how do you do 301 and 307 redirection? Is this … | |
The function of delete record is working, but you need to double click the Delete Button to successfuly delete the record...can anyone help me pls [CODE] <?php $con = mysql_connect("localhost","root",""); $sql = mysql_select_db("luweegee",$con); $sel = mysql_query("SELECT * FROM resume"); ?> <html> <body> <table border=1 align='center' width=800 cellpadding=20 cellspacing=0> <tr> <td … | |
[CODE] Create table Cameras (CameraID varchar (35), CheckOutDate varchar(10), ReturnDate varchar(10), primary key(CameraID), foreign key(CameraId) references History(CameraID)); Create table Borrowers (PsuID int not null, BorrowerName varchar(30), Email varchar(50), Telephone varchar(12), ReasonUse varchar(200), primary key(PsuID), foreign key(PsuID) references History(PsuID)); Create table History (PsuID int not null, CameraID varchar (35), BorrowedFrequency int, … | |
How to save twitter followers and number of tweets in a database.(php) | |
Hi I am using the following join query to get a list of stores that have sold policies during the day. But I need it to be distinct [CODE] $Query = mysql_query("SELECT tblpolicies.StoreId , tblpolicies.DateReceived , DailyGroup.GroupName , DailyGroup.StoreName , DailyGroup.PortfolioName FROM tblpolicies LEFT OUTER JOIN (SELECT StoreId , GroupName, … | |
hello! im trying to study how checkbox work, this is i want to do i array a list of items (item name, price, etc) from my database i would like to put a checkbox beside each item, all the items that are checked will be posted on a next form … | |
i am writing something in php and i keep getting the error: mysql_fetch_array not a valid sql argument. here is the code: [CODE=php] <?php if ($_GET['goto']=='requests'){ ?> <table> <?php $query = "SELECT * FROM friends WHERE toid='$id'"; $result = mysql_query($query); while($row = mysql_fetch_array($result)){ $query = "SELECT * FROM members WHERE … | |
Hello, I was wondering if someone could help me. I am new to mysql/php and I was wondering if there is a way that I can have php create pages for me. What I want is that I no longer need to create new page, so I will have a … | |
I have a database, that has a type_code in it. There are 3 types of products and certain numbers and costs associated with each type. The type codes are not present in sequential order in the database. they are random and i have a csv file with only 2 columns … | |
I am a web designer and specialize more in front end design and graphic work. I need help developing the code for a interface for a client to upload text and PDF file descriptions to a MySQL database. The interface would also facilitate PDF file uploads to a directory plus … | |
Hi all, i am very new to php, this is my first post and the first project that i am working on. i have searched for my problem but i cant find a solution, i suppose i dont even know what im looking for so here goes! i have a … | |
I have the following code which displays something like this; William Science Monday William Math Tuesday William English Thursday but I want it to display without repeating the name William in the lines after the first line. [CODE] <?php $query = mysql_query("SELECT userId, quizTitle, addDate FROM quiz WHERE managerId='".$userid."' AND … |
The End.