39,388 Topics

Member Avatar for
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
306
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
417
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
310
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
252
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
470
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
241
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
346
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
125
Member Avatar for hwoarang69

i am trying to store image in folder and 2nd part is store image name in database. this works fine but the problem is that no matter how many images u upload, there is only one image in folder name 0.jpg. $sql = mysql_query("SELECT * FROM item WHERE image_user_name = …

Member Avatar for diafol
0
176
Member Avatar for doha786

i'v 1 multidimensional array from where i just want to print where (parent==0) by counting. It suppose to provide me 2 value but when i write return method on line-32 it show me d 1st one & whn write on line-35 , it show me the last one. how can …

Member Avatar for rotten69
0
157
Member Avatar for Its.Captain.Kirk

Hi everyone, I'm having eerors with my php code and here's the errror code that i'm recieving: > Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /home/w0638385/public_html/blog/index.php on line 9 > > Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/w0638385/public_html/blog/index.php on line 22 …

Member Avatar for bops
0
371
Member Avatar for nnehadixit

hi friends, here is my problem i'm designing a page with no. of checkboxes but not able to insert its value in mysql... here is my php code: **<?php $host="host"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="packtest"; // Database name $tbl_name="test"; // Table name // …

Member Avatar for nnehadixit
0
306
Member Avatar for sawmya

I am using this soap call function to get values from wsdl .I got response ,but not any data from the server. here is my code please help. $client = new SoapClient("http://www.alphamax3.com/AM3WebApp/services/PropertySearchServiceSoap?wsdl", array('trace' => 1)); $result = $client->searchInstrument( array('instrumentSearchRequest' =>array('searchInstrument'=>array('number'=>1)) )); //$property = $client->searchMap(); //$property = $client->searchInstrument(); //echo "REQUEST:\n" . …

Member Avatar for sais
0
784
Member Avatar for anithamarath

I need to pass parameters to my xml nodes like <NewsService FormalName="Feed" link-url="http://www.tv.com/">http://www.tv.com/img/UTv.jpg</NewsService> here newsservice is my node and FormalName and link-url are my parameters. Below specified is my code .There i have read a rss feed and converted that data to xml besides i have added some information from …

Member Avatar for anithamarath
0
213
Member Avatar for joeyliew7

![photo](/attachments/large/4/photo.PNG "photo") how can i build a calendar like this? Year View and can choose a day to view the event? i just need a simplest version. any help will be appreciate. thanks in advance.

Member Avatar for LastMitch
0
118
Member Avatar for bikertz

I am reading data from a mysql database and displaying it on a web page for the user to make changes. One of the values that I am getting from the database is to be displayed in a Select tag: Manufacturer: <select name="Manufacturer" tabindex="1" > <option></option> <option>Aprilia</option> <option>BMW</option> <option>Moto Guzzi</option> …

Member Avatar for bikertz
0
631

The End.