39,320 Topics

Member Avatar for
Member Avatar for giovannitao

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?

Member Avatar for B1ts
0
3K
Member Avatar for HelloJarvis

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 …

Member Avatar for HelloJarvis
0
305
Member Avatar for Tinnin

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 …

Member Avatar for Tinnin
0
143
Member Avatar for rikkitikkitavi

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(); …

Member Avatar for jkon
0
678
Member Avatar for james.woods.50115161

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>

Member Avatar for pritaeas
0
689
Member Avatar for bimaljr

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 …

Member Avatar for bimaljr
0
123
Member Avatar for cussel

>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', ), …

Member Avatar for diafol
0
384
Member Avatar for johndohmen1963

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 …

Member Avatar for johndohmen1963
0
165
Member Avatar for jsbaldw2

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, …

Member Avatar for LastMitch
0
237
Member Avatar for a.abhishek1229

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 …

Member Avatar for LastMitch
-1
305
Member Avatar for KRUX17

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 …

Member Avatar for LastMitch
0
160
Member Avatar for Novice-in-php

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.

Member Avatar for Novice-in-php
0
136
Member Avatar for RLS0812_1

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 …

Member Avatar for diafol
0
3K
Member Avatar for Nicejattz

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

Member Avatar for diafol
0
117
Member Avatar for bahamutz

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"> …

Member Avatar for diafol
0
416
Member Avatar for abcd777

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>&nbsp;</label> </tr><select id="first" name="first" size="1" style='width:127px;'><option value="">--</option></select> </td> <tr><td> <select …

Member Avatar for urtrivedi
0
194
Member Avatar for ehpratah

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}"; …

Member Avatar for ehpratah
0
172
Member Avatar for moha_1990

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 …

Member Avatar for diafol
0
309
Member Avatar for FlashCreations

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 …

Member Avatar for erikqs
0
301
Member Avatar for hwoarang69

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"; …

Member Avatar for radow
0
186
Member Avatar for eman neercs

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 …

Member Avatar for urtrivedi
0
157
Member Avatar for Tamizharasi
Member Avatar for diafol
0
22
Member Avatar for stephen_UK

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 …

Member Avatar for stephen_UK
0
250
Member Avatar for KillerbawX

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 …

Member Avatar for diafol
0
82
Member Avatar for sri.

how to print a web page using php code only ?is it possible are not ? i am using **php5.3.8 **version

Member Avatar for rajengg
0
452
Member Avatar for davy_yg

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?

Member Avatar for davy_yg
0
240
Member Avatar for geneh23

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 …

Member Avatar for LastMitch
0
345
Member Avatar for LastMitch

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 …

Member Avatar for LastMitch
4
305
Member Avatar for tiekwebstar

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;

Member Avatar for AleMonteiro
0
924
Member Avatar for hwoarang69

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 …

Member Avatar for diafol
0
124

The End.