39,320 Topics
| |
Hello, I'm developing script php about cell phone specific, now I want to insert an uploader for image of cell phone. I want to upload image to a fecific folder and save url to mysql table. Can you help me to create form and how to do this? | |
So I'm using an Ajax request and processing input of sentence(s) in my program that will be looked up using a thesaurus API. The processing works fine, but I am trying to get it so that it will strip bad input such as semicolons in order for the API to … | |
Hi all! I'm putting a contact form together to receive emails. It is giving the appearance of sending the form data through to my email address (i.e the "thank you" message appears) but nothing is coming through. I'm not sure if I have incorrect html in my form or if … | |
Hi, I need help please. i spent the last 6 hours looking EVERYWHERE for help about using PHP session across web pages. The $_SESSION variable is supposed to be global, right? but I can only access it on the page it was declared. like: //PAGE 1 this works <?php session_start(); … | |
Hello I keep getting one error every now and again: Warning: date() expects parameter 2 to be long, string given in /home/web/public_html/set.php on line 727 Below you can see that like ( 727) Any soluctions how to deal with this problem? <div class="bb"><?= date("d.m.y h:i:s",$full_list[ssctime]) ?><input type=hidden id="ssctime" value="<?=$full_list[ssctime]?>"></div> | |
Hello, I have a website in Wordpress. Example: http://www.mysite.com Than I developed a new theme for the website and I have created a new directory on server for developement and testing only. The URL is http://www.mysite.com/newsite/ Now Google scanned my this testing website and added URL from it. So google … | |
>hi guys, how to get first and last (key and value) array multidimesional below? $data1 = array( array( '0'=>array( '7'=>'chelsea', '8'=>'everton', '9'=>'villa', '10'=>'liverpool' ), array( '23'=>'milan', '24'=>'inter', '25'=>'juventus', ), ), '1'=>array( array( '53'=>'madrid', '54'=>'barcelona', '55'=>'altetico', '56'=>'everton', ), array( '243'=>'milan', '244'=>'inter', '245'=>'juventus', ), ), '2'=>array( array( '523'=>'madrid', '524'=>'barcelona', '525'=>'altetico', '526'=>'everton', ), … | |
Hi hope someone can help me with the following $query3 ="SELECT * FROM narr_turnier_bambini_garde UNION SELECT * FROM narr_turnier_bambini_garde_ster WHERE id_turnier_jaar = ".$idturnierjaar." order by rang, meestepunten DESC"; The WHERE clause dosn't work what i want because it give me all the rows from both tables and column id_turnier_jaar is … | |
Hi! I am new to PHP and am trying to build a library management website that will return the results of querying a mySQL database for a search query entered by the user. For instance, the user may wish to search for items in the library by title, author, subject, … | |
I am getting an error..Need help.. " Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\test2.php on line 24"; line 24 is --"header("Content-Type: application/xls");"-- <?php $DB_Server = "localhost"; //MySQL Server $DB_Username = "root"; //MySQL Username $DB_Password = ""; //MySQL Password $DB_DBName = "test"; //MySQL Database Name $DB_TBLName = "sample"; //MySQL Table … | |
Hi, I'm having trouble with my session variable. When I add this code in the while loop it doesn't add the product in, but when I put it outside it adds the product to the cart. Can anyone tell me what's wrong with my code? It would save me a … | |
Hi guys, I have decided to learn php, can some one help me to give a good start. Is it mandatory to know any language before i start learning Php. I have no knowledge in any programming langauge. Any help would be much appreciated. Thanks in advance guys. | |
I am trying to see if a directory exists, but have not found anything that is working the way is I would like it to. The PHP script is in the same directory as the folders I am checking for ( www ), but will not detect the folders unless … | |
HEllo Friends i want help to add a watermark on video. but i dont know about full about ffmpeg can anyone give me full code and explanation of this topic | |
hi, i'm new in programming PHP. I have this task to be done. the first page which is category.php show the list of category that I retrieve from the database name 'event' with table 'category' here is the code: //the connect_db already done in single php file <table border=1 bgcolor="blue"> … | |
I am facing problem with search module for real estate property search . m placing my code .. i am new 4 php... please help me with the correction of code... // index.html <form action="refinesearch.php" method="post"> <td> <td><tr> <label> <span class="h"><b>Category:</b></span> </label> </tr><select id="first" name="first" size="1" style='width:127px;'><option value="">--</option></select> </td> <tr><td> <select … | |
Hi All Just have a question I'm having difficulties in displaying my data in Desc..cant find where i need to put the DESC in my query this is the code function.php <?php function pagination($query, $per_page = 10,$page = 1, $url = '?'){ $query = "SELECT COUNT(*) as `timestamp` FROM {$query}"; … | |
| I'm doing a registration page. it require the name, password, email, gender, nationality, date of birth and other things. I did the registration and it was good. but I need to add the validation and this is what I could do so far, so please if you could help me … |
Here's how this one works. I'll start by posting one line of PHP script. The next person to post will add another line and copy the script into their post. You will simply add a line of PHP code to the script everyone wrote above you. Also don't forget to … | |
here is the way iam send email. this does work fine in localhost. if i put my website online will this method still work? or do i have to use different method of send email. $mail = new PHPMailer(); $mail->IsSMTP(); $mail->SMTPAuth = true; // enable SMTP authentication $mail->SMTPSecure = "ssl"; … | |
This is the second part of a script. It gets the EAN from the form in the first part. Where there are sales, it will show total number but if not I want to show a message to say "none" or "No Sales". Don't quite get the else/if errors. Could … | |
| For reason I won't bore you with, I need to update an archive database periodically with typically blocks of 100-300 records. Each record has 6 visible fields in the database. Frequently 4 of the 6 fields have the same information in them for the whole block of data. For a … |
| I want to make a web page so people can put in there information ( Espically there first 3 digits of postal code ) and based on the first 3 digits it would tell them the days that there are pickups for there area then they chose the day and … |
how to print a web page using php code only ?is it possible are not ? i am using **php5.3.8 **version | |
Hello, I am looking for a free ads management script. Basically, every time someone click on the ads, in the website backend there is a daily and monthly graphic and table statistic that record the ads click. Any idea? | |
Hey everyone, Sorry if I seem a bit annoying to some people on here as well as posting something that seemed to have been solved in another post, but I cannot seem to figure out why I am getting all these error message that I've written into the processing of … | |
| Hi I'm having issue of understand how to **echo** a variable when the `class` is `extended`. I have **2** files. This is my **index.php** file: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>OOP Example</title> <?php include("class.php"); ?> </head> <body> <?php $mitch = new person("Mitch Last"); echo "Mitch's full … |
i am facing another issue. i want to delete row via ajax and fadeout. i have write below code. this is successfully deleted the row but do not fadeout. var parent = $(this).parent().parent(); $.ajax({ type: "POST", url: "delete_order.php", data: "id="+id, success: function(){ row.find("td").fadeOut(1000, function(){ $(this).parent().remove();}); } }); return false; | |
error:Notice: Undefined index: username in C:\xampp\htdocs\E_COMMERCE\INCLUDE\header.php on line 20 login in information: so i have a checkbox called "$remember_p". if check box is on than i want to set cookies but if its not on than i want to set session. if($remember_p == "on") { //cookies doesnt get destory when … |
The End.