39,320 Topics
| |
Ok, so I am creating an uploader for uploading files such as .udk or .upk as well as other basic files such as txt and html. But I have been tinkering with the code I found (i'm a noob) and I can't get it to accept those extra extensions. Here … | |
Hi All Im developing a website here's my situation. Im using one template and using template to link it to every page and using str_replace to replace parts of my site template for what is needed for each page. Any way my problem is this I have sidebar and in … | |
Please code upload swf to database"phpmyadmin"?? | |
This might be a dumb question, but how do i tell the scanner what url to use for the webform? | |
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 … | |
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? | |
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 … | |
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=') … | |
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 … | |
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 | … | |
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 … | |
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"; … | |
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> … | |
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. … | |
I attached screen shot with this thread. how we display data from database without null values. | |
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. | |
[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 … | |
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 … | |
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 … | |
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()); } … | |
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 … | |
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 … | |
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 /> … | |
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', … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.