39,402 Topics
![]() | |
I have a script that checks so see if a range websites so see if it has some a sample of code in it. Is it possible to repeat the script once every 24hours? (CRON?) If so is it possible to post the website and the result it got in … | |
I have been trying to fix this code for my feedback form, but its not working i dont know what else to do now, Is there any settings i need to do? I am using an EasyPHP 2.0 [CODE] <?php // Contact subject $subject ="$subject"; // Details $message="$detail"; // Mail … | |
Hello, I'm building an ecommerce site with php and I'm trying to build an account page so users can manage their credit card info, shipping info, orders, etc... I wanted to design my own Manage Payment options on my site and not have to redirect the user to like paypal … | |
hi friends, my database names are like that: --name surname date account--- i want to send 5 or more user info send database with form. form.php <input type="text" name="name" size="8" class="auto-style5" style="height: 20px"> <input type="text" name="surname" size="8" class="auto-style5" style="height: 20px"> <input type="text" name="account" size="8" class="auto-style5" style="height: 20px"> <input type="text" name="date" … | |
| |
Hello, I am sending a mail on localhost but getting error given below. Please suggest me solution for that. Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\project\contact2.php on line 261 | |
hi, I am working on job site in which i have to put most rated(clicked) job in one column named populer jobs. should i use counter for that. Please suggest any idea. thanks | |
hi all, can anyone please help me out, i am trying to display some items from my database (image items), i want to display them on a page by displaying three items at a time (e.g the first three items would display on the first row, and the next three … | |
Hi Is it possible to have a different search criteria on each tab in a spry tabbed panel table? I have 5 different tabs along the top. In the first tab I have a form which brings back various fields of data and based on the following: [CODE]WHERE property_details.prop_type = … | |
Dear All, Hi, i am new to php, and i will like to create a Multiple Page Form, the issue is that i dont know how to save the variables from the first form all through to the last form, so that i can save all the form fields into … | |
Hi, I am working on data entry form using PHP. I have 5 fields, on the 1st field I will entry some data, and a ajax code will populate a list matching the data, on select, next two fields will be automatically field with some data from mysql database. Now … | |
Hi everyone, I have pulled data from mysql into an select list in my admin area. [CODE] $query="SELECT id, linklabel FROM pages ORDER BY id ASC"; [I]//I am not sure if the form should be like this...?[/I] '<form name=test id=test action=edit_page.php method=post>'; $result = mysqli_query ($myConnection, $query); echo "<select class=\"boxstyles\" … | |
I searched and did not found enough information on session_name() method. I am using session_name() on some pages but not on all. I am getting problem, if I omit the session_name() method from my code, it will work fine, but if include, it wont work. I have around 100 pages, … | |
normally to get my items from mysql to an array i use this code [CODE]while($row=mysqli_fetch_array($result)) { $array[] = array('id' => $row['id'] ect...) }[/CODE] anyway I am using some OOP in my code so now I don't know what the row names from mysql are named to use in the while … ![]() | |
hi please help me, there is example "thsi is paragraph A 20 .thsi in another paragraph A 40 and end now" how can i get the value of A from paragraph it may be 1-> many in a paragraph i want to get value of A either it may 1,2 … | |
Hi bro, this is my frame work of the simple login script. now i want a send the id input to the display.php, without changing this frame work coz i only know this way of making a simple login. [CODE] <?php if (isset($_SESSION['basic_is_logged_in'])) { unset($_SESSION['basic_is_logged_in']); } session_start(); $errorMessage = ''; … | |
Greetings everyone i'm working on small project on php and MySQL and i just start to learn them i write a code that allow me to add new field in my table with default value but i wanted to ask can i make the field added to the table with … ![]() | |
Hi, I am trying to generate an sql query to insert several pieces of data, most of which comes from another table, however I have one variable that comes from PHP variables as below: [CODE]insert into scores (AuditID, question_id, available_score, question, question_number, question_section) values ($auditvalue, (SELECT questions.quid, questions.question_value, questions.question, questions.question_number, … ![]() | |
![]() | What I have: a. I have a contact.htm page with a form on it. I have a drop down menu in which I have several options the user can choose to select a subject matter. b. a footer (which acts as a site map) on the bottom of all web … ![]() |
We already have a well-established web based application that runs on php and mysql. Recently, we thought of moving it to desktop application because we need the application to access newly bought scanners. we need to take scan of documents and associate them their respective data/record. before it is moved … | |
Hello all! I have set up a multidimensional array, and I was wondering how would I update a value within the array? Like how if you update a value in mysql, u use mysql_query("UPDATE.... Simply the same thing I want to achieve in an array. I just wanted to update … | |
Hey I can print choice in loop but how do I print Question ID for the choices. For example: Question ID= 2 choice 1= whatever choice 2= whatever choice 3= whatever choice 4= whatever Question ID= 3 choice 1= whatever choice 2= whatever choice 3= whatever choice 4= whatever for … ![]() | |
Hi what i want to do is pass a php variable in a script i've already got a drop down list now what i want to do is as soon as you click on any province in the drop down menu the cities appear in the text area. what is … ![]() | |
hey all i have to integrate paypal subscription to my website and i need help for that i need to store data in database and show it to user after he came back to my website...plz help me | |
Hi everyone. I'm trying to develop a little blog by my self. and I'm gonna write in it as you guess but I want to give link, show picture, show video and also I want to make bold some letters. Im gonna do video and bold replace with bbcode. thats … | |
I have a linux shared hosting account on godaddy and I want to use mysqli instead of the standard mysql. I'm not sure how to set it up though. I've picked up pieces of information around, but can't seem to find enough information that is specific enough to the situation. … | |
i have ID numbers that i want to enter it into my database using filling form by user. so i need to validate this number format. number format should be like this. first 9 numbers and after nine numbers it must have a letter V. (123456789V) i need to validate … | |
hi can somebody help me out i have form that the user need to fill and at the end of the form the use have to make a payment via alert pay which they will be taken to the page buy clicking on the alert pay button but haw can … | |
Hi I am trying to concatinate anchor tag and it is giving me this error Parse error: syntax error, unexpected T_STRING My code is [CODE]$link.="a href=".test.php/verify_email/$vcode." target=_blank>".Verify email address."</a>"; [/CODE] Can anybody help Thanks in advance | |
Dear All, I have two .php page. In my main php I call the other via the require_once method. Then in the main .php I declare and assigne variable and I tried to read the value in the require_once php I am not able to see the value. How can … | |
Hello I am trying a code from a book, When I run it at local host and enter a number on the box I get this error : Have requested is not allowed to access the directory. Directory, or to read protected, or can not be read by the server. … | |
I have this login ,and if I put the password Denver1999 it logs in the user and does not care about the real password. Help. | |
Hi, I am new to php and I am totally lost on what steps I need to take in order to create a website that will allow a user to login with an email address and password or subscribe or unsubscribe. if they choose to subscribe then they should be … | |
Hi, I have searched for this for a long time, but cannot find the answer... sorry if it's simple or is on here already, I did look! Anyway - I'm trying to overlay text from a database on an image using php for use in banner ads for a client. … | |
I have a DB table that has a member ID field and a level field... There can be duplicate member IDs because they can have multiple steps There can be duplicate step numbers because multiple members can be on the same step But there should NEVER be a duplicate combination … ![]() | |
Good Afternoon, I have been struggling with a minor issue for the past several hours, I need help. ok I know I can use date('Y-m-d', strtotime($date . '+4 day')); for specific days but I need to be able to x amount of days adding to a specific date. Any help … | |
First, wasn't sure where to put this so I stuck it here because of the PHP files involved. Any way, what would need to be written into my sites .htaccess file to "ping" a php file when an image is called ? So if I type mysite.com/image.jpg into my browser, … | |
hi, i have a form with a few fields including 3 image fields: the problem that i am having is that on the 3rd images upload it just does nothing. i can upload using any 2 of the image inputs and it will work fine but as soon as i … | |
Good Morning, I'm not really sure where to go with this line of thought, so decided to bring it here where the logical thought processes reside... ;) What I have is this... A new membership program that has multiple levels that members can be paid on. Each level is tracked … | |
I am creating a visitor messages system on a member's profile, here is my code so far.. I am using it as an include in the profile page, here is the error I get: [CODE]Error: You have an error in your SQL syntax; check the manual that corresponds to your … ![]() | |
Hey, this is my first post here, so greetings lol. Back to the topic, Is it possible to make a text box that can put the text into html code and if so how? Sort of like the box you type your post's with on forums or blogs. ![]() | |
If I have an event which consist of 100 tasks, how to rewrite the below code,so i can show all the dealine of each task into <table>? Thanks! [CODE] <?php require("connect.php"); $deadline = mysql_query("SELECT * FROM events WHERE taskid='1001'"); $row= mysql_fetch_assoc($deadline); $deadline2 = ($row['deadline']); //dealine for this task(1001) is 2011-3-10-5-45// … ![]() | |
Hi, i would like to send data from a C++ application to a php script i am creating that will then put it into a mysql database after manipuating it a bit. If you don't get what i mean then think of it like this. An HTML form can be … | |
![]() | Hi, I'm trying to somehow download all pictures on a website FIRST before anything else happens... the problem I'm experiencing is that when a user comes to the site - none of the images are loading, sometimes they show, sometimes they don't... I believe that if the client downloads all … |
Hi all I want to create following payment gateways with only php paypal visa bank transfer master card but the problem is I only want to use simple php in other words without frameworks like magento. How can I do this.that would be really nice if you can provide me … | |
well I am having a problem with my class I made to connect to my DB ok here is the class[CODE]class database { private $db_host = 'localhost'; private $db_user = 'root'; private $db_pass = 'McSteel8'; private $db_database = 'cmte'; public function connect() { $this->link = mysqli_connect($this->db_host, $this->db_user, $this->db_pass); mysqli_select_db($this->link, $this->db_database … | |
i have a form on submit.php, with method post to the same page($PHP_SELF). If i made a mistake i want to be able to press 'Go Back' to the previous page(same page) and have the values in their textfields. [code] if(isset($_POST['new'])) { <a href='#' onClick='history.go(-1)'>Go Back</a> } else { // … | |
I'm doing a project and would like to hear your opinions. I want to make Integrated library system and I want to have these folders 1. classes - where all classes will be stored 2. templates - where all templates will be stored 3. admin - where admin files will … | |
Hi, I was reading a few articles about secure login systems without SSL, as it looks a bit difficult to set up a server to accept HTTPS connections, create a certificate etc. Anyway, the main problem would normally be that when a user logs in, the password is sent to … |
The End.