39,316 Topics

Member Avatar for
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
278
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
70
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
153
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
322
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
66
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
462
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
147
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
136
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
92
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
148
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
95
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
48
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
305
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
104
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
163
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
66
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
86
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
146
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
260
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
101
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
67
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
110
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
107
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
229
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
329
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
176
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
134
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
240

The End.