39,402 Topics
![]() | |
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 … | |
I am seeking help to create a html search form that has a drop down box listing tables within a mysql database that contain parts for different makes of buses. The idea is that the drop down list would select the table and the part would be found within the … | |
Hello everyone. I have a webserver that I would like to implement a file upload program on. I have been looking all over the internet for something that visually uploads files. I tried Megaupload 1.35 ([URL="http://sourceforge.net/projects/megaupload/files/"]SourceForge page[/URL]), and it gave me error messages. The server has the latest versions of … | |
I have tables already. How do I search for a given keyword? Thanks | |
Can anyone please help me as i am receiving the email from the email address is "linxinquiry@linxinternational.org" but i want that the from email address should be the one who is filling the webform, second in the email i am getting <b> <br> tags with the values. though i have … | |
Hi All, I have recently finished a CMS with a static layout, and I have to say i couldnt have done with without this forum, i have learnt so much!!!!! what im aiming to do next is to take it to the mext level, where users can add/edit/remove sections which … | |
hi all,.. how to display recommended items from my site to the products available How to display recommended item for a product to my customer... I have downloaded history_rec and recommender modules.. please help me with this issue... I have attached a screenshot for how i am expecting my site … | |
Hi all I am new in php, I want to block the user to return on the previous page? suppose I have page1 when he/she goto page2 he/she cannot return to page1 (session of page1 expired) thanks to all. | |
[CODE=PHP]<body> <form method="post" action="script name"><font color= white> <b>Check Your Favorite Pass Times:</b><br> <input type="checkbox" value="TV" onClick="validate(this)"name = 'n1'>Watching TV<br> <input type="checkbox" value="Hiking" onClick="validate(this)" name='n2'>Hiking<br> <input type="checkbox" value="Surfing" onClick="validate(this)" name='n3'>Surfing the net.<br> <input type="checkbox" value="Building" onClick="validate(this)"name='n4'>Building Web Pages.<br> <input type="checkbox" value="Reading" onClick="validate(this)"name='n5'>Reading a book.<br> <input type="reset" value="Reset"><br> <input type="submit" value="compute"><br> <?php … | |
Hi, I am showing my output using this. It shows all the records on web page where month is July(07) But I want it show all the records like: there are 29 records found, I also need 3 records per page, How I will do paging for these. please guide … | |
I have cron to run every day 12 am I have set that page but I get error message to my mail address /bin/sh: /home/myre1378/public_html/expired.php: Permission denied and /bin/sh: /home/myre1378/www/expired.php: Permission denied I have checked by setting both the paths in public_html as well as www but still same issue. … | |
![]() | Is there any way to ensure that a particular code is executed when a session ends e.g to remove temporary files og database entries ? similar to the Session_OnEnd in the global.asa file in an asp application ? |
I have MySQL running such that I can open a client command line and log on and make databases, tables, etc. I wanted to do some AJAX. Doing AJAX with ASP, SQL Server, etc is not advisable since both places where I am hosting my websites do not use the … | |
This is the script code i used for getting a slideshow of pictures.. can u help me with simple codes so that all these pictures can be retrieved from the database??? or let me know if i m getting wrong?? [code=JavaScript]<SCRIPT LANGUAGE="JavaScript"> <!-- Original: Mike Canonigo (mike@canonigo.com) --> <!-- Web … | |
Hi everyone, I am trying to create a system that will allow me to update the browsers of each client (person) currently viewing a webpage. Don't worry so much about why I am wanting to do this, but please critique my 2 solutions, and tell me which one is the … | |
read: \"you fail at life =]\" yuh is being put into the database from a form submit obviously i dont want the backslashes. how do i get the backslashes rom being inserted into the mysql db table? my code is `$code = mysql+real_escape_string($_POST[code]);` then insert it with mysql query. how … | |
Hi i have this login script which works. it will work for passwords that i have directly entered into the database through phpmyadmin but wont login for the passwords that i have entered through the registeration script for which i have used md5. Understandable ! But as soon as i … | |
I have one major module left to accomplish to finish my basic website. I have a table of taverns, players at those taverns and of points for each player. I need to total the points for each player then print out a list of all the players at one tavern … | |
[code=php]<?php require_once("Actions/config.php"); if(isset($_POST['email_address']) && $_POST['password']){ $sql = "SELECT * FROM $tbl_name WHERE email_address ='$email_address' and password ='$password'"; $result = @mysql_query($sql); // Mysql_num_row is counting table row $count = @mysql_num_rows($result); // If result matched $myusername and $mypassword, table row must be 1 row if($count==1){ // Register $myusername, $mypassword and redirect to … | |
Hello, I'm a Java developer and i have created a forum in InvisionFree, that uses a Invision Power Board, but i want to index my forum to Google, how i can do this, remember that my account is free, then i can't upload files for the root of my forum. … | |
Hi, I had this working but after a few code revisions it has stopped. I am trying to set a variable; lets say I have [ICODE]$var[/ICODE] and am trying to set it to [ICODE]$_SERVER['REMOTE_ADDR'][/ICODE] with the code: [CODE]$var = $_SERVER['REMOTE_ADDR'];[/CODE] When I do this I receive a fatal error in … | |
hellllloooo again does anyone know how i can tweak my files so that when someone has completed an email form, it stays on the same page and says Thank you - your message has been received etc? at the moment i have my form in my contact us html file, … |
The End.