39,320 Topics
| |
I have tried to get my php scrip to work but it doesn't. can someone maybe help me to get it working please. Here is my script: [code=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=iso-8859-1" /> <title>Untitled Document</title> </head> <?php if(isset($_POST['mail'])) { $email_to … | |
Hello! I was wondering if I could get some assistance with something that is probably easy for even an amateur javascript coder, but, I just can't seem to get after trying every iteration of code I can imagine. The deal is, is that I'm trying to put together a PHP … | |
Hi, I want to show running time. i dont want to show present time. Time should be running on php page. Please Please help me. | |
Is there anyone who can write a javascript/php code for refreshing the contents of only one DIV container on one page? | |
Hello, I am trying to work out a PHP page which establishes a sequenced rotation of ADS. Here is the code so far. There are some elements missing that need help with. [CODE]<?php include("core.php"); session_start(); $type = $_GET['type']; $category = $_GET['category']; $User = $_SESSION['MEMEBER_ID']; $Type = "image_imp"; // Get Initial … | |
Can someone help me please! I have 2 tables one memberlist and the other results, a user makes a selection and it's entered into the memberlist and saved, the results table in then update (after a race event). I would like to compare the values in both table against each, … | |
Hi everybody, here is my update query ..there is no error but the record is not updated. anybody know of what should I edit? Many thanks [code=php] mysql_query("UPDATE lesson SET(`subject`= '{$ins_subject}',`year`='{$ins_year}',`noofstudents`='{$ins_noofstudents}', `minutes`='{$ins_minutes}',`ability`='{$ins_ability}',`learningArea`='{$ins_learningArea}',`objectives`='{$ins_objectives}', `LO`='{$ins_LO}',`skills`='{$ins_skills}',`prerequisite`='{$ins_prerequisite}',`resources`='{$ins_resources}',`introduction`='{$ins_introduction}', `activity`='{$ins_activity}',`step2`='{$ins_step2}',`step3`='{$ins_step3}',`step4`='{$ins_step4}',`assessment`='{$ins_assessment}', `reflection`='{$ins_reflection}',`closure`='{$ins_closure}',`extension`='{$ins_extension}',`author`='{$ins_author}') WHERE lessonID='$id'") ; [/code] | |
I am trying to use this script to enter data into my database from an html form. this code is not working. plz tell me where the error is form is [code=html]<html> <head> <title> Review, Ratings, Opinions Site </title> </head> <body text="green" > <form action="register processing.php" method="post" > First name: … | |
hello, i have a mysql database which i use a php script to search and display results with fields make, model, price, year and would like to add extra functionality with presumably javascript to add a drop down form field as when a particular make is selected from the list … | |
I think I have read the answer reading through several forums and many posts, but I am not getting it. Please help... I am a novice. I have a page that displays some info for all the records in a database. It's for real estate listings, so the page displays … | |
Hi.. I'm newbie here.. I have a problem with my login and logout script.. Here is the login script: [CODE]<?php $q = "SELECT * FROM members WHERE username='%s' AND password='%s'"; $q = sprintf($q, $username, $password); $q = mysql_query($q); if (mysql_num_rows($q) > 0) { $_SESSION['id'] = $q[0]['id']; $IS_LOGGED_IN = true; } … | |
Hi! I have a question that probably has a really simple answer :D. I have a regex that validates names: [CODE]elseif (!preg_match('#^[a-z0-9' -]{1,35}$#i',$lastname )) { include('includes/error.php'); }[/CODE] Only if the name I enter has an apostrophe, it gives me my error message. Can someone please help me modify this regex … | |
I have a registration page where a user will upload his/her resume. On clicking "register" button the form will sent all the data to admin. It also sends a link called "download" containing the path of the word file that the user has uploaded .On clicking download the admin is … | |
Hello, I want the ability for my clients to authorize the payment at the signup and pay when they will confirm their account. I have Googled about it and found the Paypal Authorize and Capture for this purpose. I was unable to found tutorial for A&C. Please tell me if … | |
Hi! thr, I am uploading a file in to server. At the time of downloading, it should show "view as html" as google does. thanx in advance. Manoj | |
I have a cookie script that creates a cookie from a session variable, the only problem is when the session is destroyed the cookie is deleted even though I set the expiration to a year. What can I do to prevent this? | |
Hello, I found a php function that utlizes smtp authentication to send emails. However, when I tried it, no errors are echoed to the browser, but when I check my inbox, there is no mail from that site. I don't think anybody else is getting them either because I asked … | |
Dear all, I encountered the following error while trying to generate PDF file in my HTML site. It is same report while creating it in PHP. Warning: main(fpdf.php) [function.main]: failed to open stream: No such file or directory in c:\wamp\www\projectcode2\pdtest.php on line 3 Fatal error: main() [function.require]: Failed opening required … | |
Hi All, I am making a web directory in which i have one field of url of website which is i am taking form a form. Now i want to do this when i will show this url on my site then this will fetch screenshot of that url on … | |
Can someone tell me how to do the watermark on posting part of the forums please? Like on DANIWEBS! :) If you cant, could you please point me in the write direction by linking me or telling me what the feature is called. Thanks! | |
Hello, I have the same software installed on two servers: works: [URL="http://developdesign.com/samples/modelagency/index.php"]http://developdesign.com/samples/modelagency/index.php[/URL] not working: [URL="http://killertalent.com/index.php"]http://killertalent.com/index.php[/URL] 1 example - login as 'mat / matt' One developdesign.com page you get directed to 'members.php' page if logged in, but one killertalent.com page you get error ( or if using Firefox you go to … | |
It's been a long night and maybe I'm so tired I'm overlooking something simple, but this has me dumbfounded. I know for a fact - 100% that these variables contain a value : $receiver_id $myid $receiver_username I defined them at the top of the page and echoed them and they … | |
Im looking for a membership area script that allows control over each members, members area. So when they log in they see their products or services and no one else can see these things. So if someone else orders the same thing they would get their own area for download … | |
hey all - I'm more of a self-taught programmer but am going to school for programming as well. I'm quickly finding out that my favorite languages are the ones that school doesn't teach. figures, doesn't it? anyways, I've been playing with php/mysql for around a year now, and have been … | |
Hi Basically when I try to insert the work links into an a mysql database through a php script the word changes to 'li<x>nks'. Does anyone know why? I tried to make the insert on a single page (so other functions or scripts would not affect it) but with same … | |
i already have a database .gz format, now i want to export it to linux using lamp, how could i do that? tnx ^^ | |
| |
hello guyes ..i dont know what is the problem with this code ..it was working with me before but now it just store nothing ... when i submite the data every thing shows in the database ecept that image nothing shows there ..i attached the code here so every can … | |
Can any one help me on this I want to upload Mp3 file to a Directory but normal file uploading system is not Working can you help me.......... thanx | |
hello everyone ! , I am creating a form with various check boxes in it. The check boxes represent various type of workshop the person wants to attend. i just dont know how to process the data in check boxes. check.html The html code is : [code] <html> <head> <title>Untitled … |
The End.