39,402 Topics

Member Avatar for
Member Avatar for weeon
Member Avatar for ptreey

This might be a dumb question, but how do i tell the scanner what url to use for the webform?

Member Avatar for Designer_101
0
42
Member Avatar for griffith

Hi, I was wondering if someone with PHP talent could help me make a PVP script for my game? If you are familiar with PHP, please help! I want something simple, but i don't know how to code this.. like a battle arena where it displays a list of users …

Member Avatar for Ezzaral
0
285
Member Avatar for johndoe444

I see that there is only source that can be downloaded. As I don't have the root privilege, I can't compile and install apache. What alternative is there that would not require compiling and installing apache?

Member Avatar for JRM
0
72
Member Avatar for rutaba

hie.. i am making a hiring website for labours.. where i want to send a text message notification to both the person being hired and the hirer when he hire a person but i have no idea how to send sms usaing php code.. i have surfed alot of web …

Member Avatar for rajeesh_rsn
0
170
Member Avatar for wonderland

Hi, I'm having problems with word press footers site map. at the moment it's displayed like this: [IMG]http://i52.photobucket.com/albums/g9/Rydra/Footer-1.jpg[/IMG] I would like it displayed like this: [IMG]http://i52.photobucket.com/albums/g9/Rydra/Footer2.jpg[/IMG] I've tried looking in footer.php, but there is only this piece of code: [CODE] <ul id="bottomLinks"> <?php wp_list_pages('title_li=') ?> </ul> <ul id="bottomLinks"> <?php wp_list_pages('title_li=') …

Member Avatar for wonderland
0
325
Member Avatar for dandixon

can anyine tell me where i could find a guide to using breadcrumb trail, i need the function to be able to go back to a page of results because when i do a search multiple items pop-up, then you click an item and view the details but then i …

0
68
Member Avatar for wewehalim

Hi, i need to make sudoku games in a website, i have database in mysql about the sudoku, each row contain sufficient information about one game. +-----------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-----------+--------------+------+-----+---------+----------------+ | game_no | mediumint(5) | NO | PRI | …

Member Avatar for wewehalim
0
468
Member Avatar for Mongooseman

Is there a way to handle standard XML entities with the event-driven XML parser in PHP? I'm currently using an XML file to build a collection of objects and display a page based on those objects. I'd like my CData handler to handle text that includes standard entities, but as …

Member Avatar for Mongooseman
0
150
Member Avatar for Roses89

Hey, My login form somehow isnt working and i cant find out why:S I tried shifting around the variables but it still wont work.The code is: [code] <?php $id=$_POST["empid"]; $pass=$_POST["password"]; if(empty($id)|| empty($pass)) { header("location:login.html"); } else { require_once("dbconn.php"); $sql = "SELECT empid,surname,firstname,jobid,jobtitle FROM employee,jobs WHERE empid='$id' AND password='$pass' AND jobs.jobid=employee.jobid"; …

Member Avatar for Roses89
0
143
Member Avatar for astala27

Hi, I need to add link into echo phrase, and the 'Title' that is defined by the uploader, appear on the page. Can anyone help me about that subject. //Outputs the image and other data Echo "< =[COLOR="Red"]./file/".$info['file'][/COLOR] ."> <br>"; Echo "<b>Title :</b> "[COLOR="Green"].$info['title'][/COLOR] . "<br> "; Echo "<b>Description :</b> …

Member Avatar for Virtualbase
0
96
Member Avatar for saranraj.cmr2

Hi to all, I am developing web application in kohana php farmework. I want to do water mark image in this application. There is no library available in kohana php for this issues.. Checked in plain php. Its working well. but that same function not working in kohana framework php. …

Member Avatar for saranraj.cmr2
0
150
Member Avatar for sugikrish

I attached screen shot with this thread. how we display data from database without null values.

Member Avatar for rajarajan2017
0
96
Member Avatar for sugikrish

hi........ I want display data from database. I done it. but some fields have null values. it display empty field . I attached screen shot with this. If you know the solution pls say to me.

Member Avatar for sugikrish
0
51
Member Avatar for niths

[QUOTE]hi all, i had a users page in which the Admin can add users.so while adding a user i am able to restrict the duplicate entries(same names).Those users will be displayed in a table, and there is a edit button, so Admin can edit users account(like active,inactive etc). here is …

Member Avatar for niths
0
366
Member Avatar for sugikrish

hi friends, I used following code for automatically incrementing value and stored in database. This working but it have small problem. when I submit value then only incrementing. ex, i entered details for invoice number 2, but it showing invoice number 1. <?php mysql_connect("localhost","root","") or die(mysql_error()); mysql_select_db("menus") or die(mysql_error()); $query2=mysql_query("select …

Member Avatar for rajarajan2017
0
106
Member Avatar for chitra1

Hi, I am putting an upload function in my project. I need to upload only images that is, .jpeg, .gif. But I am not being able to do this, all types of files are being uploaded. Below is my code: [CODE] include("db_connect.php"); //set where you want to store files //in …

Member Avatar for rajarajan2017
0
165
Member Avatar for GrahamLawton

I keep getting this error when trying to load this page: [B]Parse error: syntax error, unexpected '=' in /home/xxxxxx/public_html/rma/view.php on line 28[/B] I've been trying to check it, but it looks fine to me... [CODE] <?php $username="xxxxxxxx"; $password="xxxxxxxx"; $database="xxxxxxxx"; $con=mysql_connect(localhost,$username,$password); if (!$con) { die('Could not connect: ' . mysql_error()); } …

Member Avatar for rajarajan2017
0
68
Member Avatar for LloydFarrell

Hi everyone, Just a quick question please. Its it possible to MOVE index.php files to a different location ?? if companyA registers to advertise would it be possible to move the index.php i have created to [url]http://websitename.com/companyA/index.php[/url] so the complete URL would read [url]http://websitename.com/companyA[/url] Id like to do the above …

Member Avatar for rajarajan2017
0
89
Member Avatar for php_learner

Hi, I am trying to send html mail() to a number of people at once but it appears as spam in gmail, does not appear in yahoo and appears as jibberish in outlook. I need help in this area as am new to it and am hoping for some correction …

Member Avatar for rajarajan2017
0
149
Member Avatar for rukshilag

i want to create a successful file upload component in a site and i have used and gone thru countless tutorials but it does not seem to work. here is the code i am using [CODE]<html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file" /> <br /> …

Member Avatar for ricmetal
0
268
Member Avatar for OnIIcE

hi guys! a quick question about good coding practice! is it safe/good to break from php and call a js function in the middle of a class? my code kind of looks like this: [CODE]class users{ function login(){ ///other login code ?> <script type="text/javascript"> $.cookie('cookname', '<?php echo $username ?>'); $.cookie('cookpass', …

Member Avatar for rajarajan2017
0
105
Member Avatar for sugikrish

Hi friends, How we check text box data with database data in php. If suppose we entered any one number in text box, it compared with database , this already available means give any error message. how we do this.

Member Avatar for sugikrish
0
70
Member Avatar for Ambislm

am new to php. my question is: i have 5 items in adrop down list box . i have items related to that list in mysql database. i want to list those items in textbox from database when user selects an item from drop down list box. example; i have …

Member Avatar for Ambislm
0
2K
Member Avatar for Utter_iMADNESS

Hello. I've been trying to learn PHP for the past few days so I hope this isn't a silly question. [code=php]<?php $var1 = 'lol'; $var2 = '$var1'; $var3 = eval("\$var2;"); print $var3; ?>[/code] Basically I'm trying to eval the variable name from a string and then return the value of …

Member Avatar for rajarajan2017
0
112
Member Avatar for sachin.quadros

I am using FPDF utility to generate report using Mysql DB i hv to select the entry in DB and print in to columns I am generating PDF files as output. There are two column's in Report and many rows of data which is queried from the DB i.e Title …

Member Avatar for chrishea
0
109
Member Avatar for Taffd

I post this solution to a form validation and redirect as an addition to a comment page written with dreamweaver. Unfortunately Dreamweaver does not provide server-side validation for php. You're expected to purchase an extension. [B]My problem[/B] I have a comments page with a comment form. I wanted the comment …

Member Avatar for Netprof
0
249
Member Avatar for GigsD4X

Hello there, I've been having problems creating a part of my mail system that makes messages look red when they haven't been read, and white when they have been read. This is what I'm using right now [code=php]mysql_query("UPDATE Mail SET Read=1 WHERE ID={$messageID}");[/code] The SQL ID Field is a smallint …

Member Avatar for drjohn
0
332
Member Avatar for jonathan96

HI. Can someone please tell me why this simple operation doesnt work? [CODE]$time1_offset * -1;[/CODE]

Member Avatar for EvolutionFallen
0
178
Member Avatar for nizbit

My PHP account is hosted by the university. I want to send email to my gmail account and not the account tied to my PHP account. Is this possible?

Member Avatar for digital-ether
0
1K
Member Avatar for azegurb

hi there, I have one question here is my code taken from the internet which is about the static function but i dont exactly understand for what reason we use here static function and what does mean self and code which is below can anyone explain it to me [CODE]<?php …

Member Avatar for digital-ether
0
138
Member Avatar for dwlamb_001

Can anyone share a resource (download or a how-to) for parsing a CSV to an associative array based on the first row of the CSV acting as the column names? I found this resource [URL="http://blog.joshuamcginnis.com/2008/12/csv-to-associate-array/"]http://blog.joshuamcginnis.com/2008/12/csv-to-associate-array/[/URL] but can't make heads or tales about the second parameter sent to the function. In …

Member Avatar for diafol
0
249
Member Avatar for cloud09

I have a site that is a single base page that loads content based on get variables. The problem is, is that whenever a form is submitted, the url is cleared of all variables and the form data is never handled. How do you keep the url from reverting back …

Member Avatar for cloud09
0
126
Member Avatar for pbcomput

Hi, I am saving data to text filed i want to display first 50 characters from that text field. I tried it with left() function with my sql query and also tried it with substr() function in php code also.but i am getting a problem it shows first 50 characters …

Member Avatar for pbcomput
0
6K
Member Avatar for EddieC

One might have titled this story "Beware of government bearing gifts." We should be exceedingly wary whenever law makers begin dabbling with something that's been working exceedingly well for decades. Today that thing is the Internet, perhaps the least-regulated industry in the U.S. today. This week the U.S. Federal Communications …

Member Avatar for Usernamex235
0
244
Member Avatar for benk1

Hi Guys I wrote a little web app to integrate with an SQLite database. When the database is on a local PC, there is no problem connecting to it as in: [CODE]$connect = new PDO("sqlite:\path\to\database.db");[/CODE] Now I've been asked if I can adapt it to connect to a linux device …

Member Avatar for digital-ether
0
854
Member Avatar for bmcconkie

Can someone tell me how to concatonate 2 files together in PHP> The UNIX equivalent is: cat file1.txt >> file2.txt

Member Avatar for digital-ether
0
111
Member Avatar for samsons17

Hi.. I'm really new in php.. and cant understand a part from this code below and hope somebody could explain to me : [CODE] while ($subject = mysql_fetch_array($subject_set)) { echo "<li>{$subject["menu_name"]}</li>"; $page_set = mysql_query("SELECT * FROM pages WHERE subject_id = {$subject["id"]}", $connection); if (!$page_set) { die("Database query failed: " . …

Member Avatar for JRM
0
99
Member Avatar for niths

hi all, i am having a page. so wen i select some file and click submit then a message occurs in the next page that the file uploaded and wen i press the back button then only the page should get refresh.because i am displaying the uploaded files in a …

Member Avatar for allincorporated
0
61
Member Avatar for murid

sorry to tell U that I'm very new to this PHP. i'm usng mySQL database. I want to made input using hiragana/katakana/kanji, and an output is from the database. in database, japanese words are using CHAR with collation= utf8_unicode_ci how do I make it ?? <?php input type="text" name="word"?> but …

Member Avatar for allincorporated
0
47
Member Avatar for skinbug

Hi all, I've hit a brick wall trying to validate some array data. I'll dive right in with the code... [code] <form action="process.php" method="post"> <ul> <li><label>Order: <?php echo $form->error("order"); ?></label><input class="order" type="text" name="task[1][order]" maxlength="3" value="<?php echo $form->value("order"); ?>" /></li> <li><label>Task: <?php echo $form->error("task"); ?></label><input type="text" name="task[1][task]" maxlength="50" value="<?php echo $form->value("task"); …

Member Avatar for allincorporated
0
1K
Member Avatar for sachin.quadros

Hi Friends, Kindly help i am using list menu i.e day month year i can get the data using the echo, and how do i insert the data into MySQL in DAY-MONTH-YEAR for example: i want to insert 10-MAY-2010 Regards Sachin

Member Avatar for sachin.quadros
0
121
Member Avatar for sallecpt

hey all. I am trying to do validation via PHP for submitted forms. Below is my own code, please comment if its the correct method or not. However, I tried so many ways to have the /n or /r added, but I cant get to it. Its just to make …

Member Avatar for sallecpt
0
211
Member Avatar for Al Mubarak

Hai., I'm developing drupal 6.15 version. and I'm new for PHP and now i need to develop my web applications with usual databases commands like insert,delete, update,save functions. after at all creted documents make into details invoice report. like PDF format. Is there any possibility to create the above requirements …

Member Avatar for diafol
0
207
Member Avatar for Mujahid158

I'm working on a small social script.. The content will be in Urdu language for which I encoded the files with UTF-8. I'm having problems with the login page. The problem is that I'm unable to execute setcookie() function. I'm getting the following error; Warning: Cannot modify header information - …

Member Avatar for Mujahid158
0
103
Member Avatar for nonshatter

If I have a table sales: sales {sellerid, buyerid} I'm trying to determine the buyers favourite seller... So I need to return the most frequent sellerid. I've used this query to find out the total number of times the buyer has bought something from any seller: [CODE]$countseller = mysql_query("SELECT count(sellerid) …

Member Avatar for nonshatter
0
96
Member Avatar for wxflint

I am looking for a php code to add a url to a text file like this 1- user adds url to a text box 2- user adds site name 3- user hits submit button The url that was entered in to the text box is then added to a …

Member Avatar for tazzz1
0
167
Member Avatar for Richard26

Hi, I would like for images to change automatically on my home page. I have been directed on the internet to the programmes rotate.php. but I cannot get it to work. So I have come here to seek help and guidance for me to get this to work. It would …

Member Avatar for Richard26
0
111
Member Avatar for TexITTech

I am building a website that needs to have a facebook connect, login page, blog page, and a photo page that allows the user to upload photos. This is not my site but I am desinging it and need help with the above. I am using DreamWeaver CS3 as the …

Member Avatar for WoW Me Web Girl
0
155
Member Avatar for GrahamLawton

Hi there, I've been trying to figure out why my update script wont commit changes to the database. I'm building a simple call tracking web app for our technicians. Currently the view, add, and delete functions of the app work fine. The trouble I'm running into is when I want …

Member Avatar for GrahamLawton
0
296

The End.