39,323 Topics
| |
hi, i have a inputbox that have a hour in this format: 12:00:00 what i want to do is change the hour,secunds,minuts by pressing only the keys up and down. i have seen some web forms that do that but i canĀ“t figure out how do that. any one know … | |
How would i make a 3 page website in 1 script using php? Example. There are sections that are fun, boring, and evil. And i want to be able to edit and create the website all in one page. I know its possible but i do not know how. Please … | |
Env : Php 5.3, Ubuntu 10.10, apache 2.2.16 In fact IE8 blocks cookies avoiding the php session cookies to be saved in the client environment. Configure ssl on your webserver an do a http redirect at the very top of your source script from http to https layer. | |
hello there :) this is my first time to join a forum. i just want to ask how can i make a window (actually like a pop screen for "help") in PHP. by the way i am using code igniter. thanks :) | |
hello people . i am writing a login system for administers , so i made the login page with this code : [CODE] <?php ##################################################### # created by : Awah Mohammed # # date : 23/12/2010 at 23:15 pm # # haha , i like writing such stuff in my … | |
Hi, I am having an issue saving images to a MYSQL database as a BLOB, I have been for a few days now, I have used several different tutorials and even though the code works with no errors returned, nothing actually get put in my database. Here is my form … | |
Hi I am pretty new to all this so bear with me. I have created some forms on dreamweaver which I want to populate mysql database when completed. I have created a table using phpmyAdmin through godaddy. I have created a record set which links to each form field. I … | |
Hello every one! I'm developing one simple site, and I need to make an "archive" script. My MySQL Table looks like: [CODE] | id | title | content | is_deleted | pub_date | [/CODE] *pub_date is in PHP time() format. Example: 1258150430 So, what I want to make is an … | |
can any plzzzzzzzzz help me out !!!!!!!1111 i need to add print button in my page that will print the hole page with imags and txt everything. but the code should be simple plzzzzzzzzzzzz help meeee | |
Hello everyone. I am pretty new to oop, so this might be a simple question. I need to get data from my database and I need it in several different places on my site. So I decided to create a class to get the data instead of writing it over … | |
whats worng in this code??????? it give this errroe Parse error: syntax error, unexpected T_VARIABLE in D:\xampp\htdocs\soomrof\a_task_2_1.php on line 8 [code] <? include("connection.php"); mysql_query("update doctor_schedule_information set monday='"$_POST['m']"',tuesday='" $_POST['t']"',wednesday='"$_POST['w']"',thursday='" $_POST['th']"',friday='" $_POST['f']"',saturday='" $_POST['st']"',sunday='"$_POST['su']"' where doctor_ID='"$_POST['d_id']"'")or die(mysql_error()); header("location:admin.php"); ?> [/code] | |
Here is my code it is built to create an html form. It works but when you go to the next question it says $_SESSION['q1'] doesn't exist? But I don't think I deleted it? What is wrong? [CODE]<?php session_start(); $connect = mysql_connect("127.0.0.1","root",""); if (!$connect) { die("MySQL could not connect!"); } … | |
CAN can someoneone assist me...can you send an email using xampp when you dont have an email server install on your PC. ls it possible? | |
hi, i want to make an editable drop down list the user will enter the value and it will be saved in the drop down list and the value will be submitted in the database and when the user opens the drop down list again the edited value will be … | |
Hi Im new to this forum and new to php and currently working on a php for dummies book for my project I need to by March. I show you the problems [CODE]<?php /* Program name: displayForm * Descrption: Script displays a form that asks for * the customer phone … | |
php url and pagination i have a problem in my code, when i click on page number the page is opening correctly but there are only 6 pages but there is no 7th page but when i am replacing the page number in the url to '7' the page is … | |
Hi, I'm trying to fix something on my site so that a user can only kill when a certain rank. I currently have this code [CODE]if ($rank < "Boss, Supreme Boss, Kingpin, Don, Godfather"){ echo "You have to be ranked atleast Boss to kill"; } [/CODE] It does return the … | |
Hi There I've been hammering my head with this for quite a while, and every solution I've tried didn't work, so I was wandering if you could help me with this. I've got a small div that is displayed for each record existing in the database, in order that, later, … | |
i need to Build a form textarea where someone enters a list of books (comma seperated). Use explode to populate an array of the book titles. Loop through and show the book titles on new lines. any help will be gladly appriacated ! | |
Hi! I use a paginate feature on my website, it works great on the front page, but when I use it in the comment section I get this: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/content/56/6296656/html/comments.php on line 77 code: [CODE] $query = "SELECT where … | |
I am having troubles finding out how to make my url from [url]http://example.com/index.php?page=images[/url] to [url]http://example.com/images[/url]. None of the htaccess tutorials i read today could make me understand it. I would give you a big wet kiss if you could lead me / give me a snippet or your awesomeness so … | |
I have installed Wampp Server. Now what I want is, if I open [url]http://localhost.com/run.php[/url] it opens Notepad I tried, all these three .. none of them executed notepad. [CODE]<?php exec("notepad.exe"); ?> <?php shell_exec("notepad.exe"); ?> <?php system("notepad.exe"); ?>[/CODE] What is the solution? Please help! | |
My file layout is as follows: Index.php: (URL = domain/index.php) [code] <?php session_start(); ?> <!-- BUNCH OF HTML --> <?php if($_GET['page'] == 'portfolio') include('pages/portfolio.php'); ?> <!-- BUNCH OF HTML --> [/code] Portfolio.php: (URL = domain/index.php?page=portfolio) [code] session_start(); if($_GET['view'] == 0){ // URL would be domain/index.php?page=portfolio&view=0 $_SESSION['catImages'] = array(); $_SESSION['catImages'][0] = … | |
hello to all. can you give me a code for enabling the submit button after checking the checkbox. i want to disable the submit button and if they don't check the checkbox it will not enable. can you help me with this guys.. thanks in advance. happy new year.. | |
Im not even sure if these are called variables. But I am trying to call information from the database a different way than I usually do. This is what is not working: [CODE]$id = mysql_real_escape_string($_GET['id'], $con); /* once the file is imported, the variables set above will become available to … | |
Hi All: I have 2 php files feeding one MySql record. I have an INSERT query in file1.php working fine, it then sends me to a highly animated form file2.php that calls a processor.php file. The processor.php file needs to update the mySql record. I have [U]tested[/U] the processor file … | |
Hi, I am not sure if my problem belong to this forum. However I am using PHP and hence I will post it here. I have a secondary database that is MS Access.Curently I have managed to export it to another database of mine in which I can delete and … | |
Hi there, I am trying to have a PHP variable in my link, so that my final link would look like: example.com/eformat/[B]variable-goes-here[/B].rtf I've managed to get example.com/variable-goes-here but no more than that. I really don't know PHP very well, so help would be greatly appreciated. Please excuse my beginner level. … | |
Hello I am a asp newbie trying to send an notification email and update an access database at the same time. My database is being updated but the email portion is not working- the email portion is in php- Can I call it from my asp page and if so … | |
1. i cant login my login page while i use the encrypted password using md5(). 2. session is not working in my pages. 3. logout button is not working. Main_Login.php --------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Expires" content="Wed, … |
The End.