39,316 Topics
| |
Hi I have a function 'checkfile'within my 'add a record'form which checks to ensure that the images which users are uploading with the form are within a certain size...in this case 32kb, which is specified within GW_MAXFILESIZE. What would actually be much more useful and user friendly is if when … | |
Hi. I'd like to add time (and no date, and not a timestamp) data to a field in MySQL through a PHP form. I've been having problems, as the date is also included. But I only want the time (I want to be able to sort the data by the … | |
i am using this code and want to include one get variable in url which will be used in database query to show result.How it is possible .please solve my problem. i[CODE]<?php // database connection info $conn = mysql_connect('localhost','dbusername','dbpass') or trigger_error("SQL", E_USER_ERROR); $db = mysql_select_db('dbname',$conn) or trigger_error("SQL", E_USER_ERROR); // find … | |
Hey guys im blind here... Im sending data to the controller to be processed... It works... except when a send two types of words... they are <script> and <scripting> Example: Input 1: <javascript> Input 2: <js> click SUBMIT (retuns no problem) [code] Array ( [answers] => Array ( [0] => … | |
hi guys, well.. i run my php program and the page just displays the following: [CODE]Parse error: syntax error, unexpected ';' in C:\xampp\htdocs\Azone\Azone\profile.php on line 160[/CODE] i checked line 160 more than 1,000,000 times and i got nothing to change! here is the whole code of the page, please help … | |
Hi,morning guys. I want to ask anybody know to write javascript to deal with the authentication API key of the php. My condition is like that: 1. i will provide the key to other site owner which already registed at my website. 2. then i want to write a javascript … | |
Hi there, I need a bit of help with redisplaying a form. Basically, currently a user will fill out my contact form, the form and it's contents are passed to my verification page, and if the recaptcha was entered correctly it goes to a Thank You page. When the recaptcha … | |
Hi, complete newbie and having a syntax error: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in xxx on line 7 This is line 7: [CODE]fputs($fp, "$_POST['Fullname'],$_POST['Jobtitle'],$_POST['email'],$_POST['file'],\n");[/CODE] Like i say im a complete newbie to this and from what i gather brackets might be missing etcetc. … | |
I ALWAYS hear that Wordpress is the best for blogging and even building other sites. I'm currently in favor of Joomla as it does everything I need it too out the box with very little extras and configurations. I'm totally happy to switch to Wordpress if you can convince me … | |
Hello. I'm wondering if someone could help me. I have a simple like/dislike voting voting system. Everything works fine but a user is able to click both up and down freely without checking if they have voted. So what I'm going for is 'Php sessions' because I dont want to … | |
I need pagination in basic php or simple i have a get variable in link.thanks and reply me that how i see old post posted by me thanks. | |
Hi, i am new to PHP but i have some common knowledge to recognizing commands and such. in my page i have code like this [CODE]<div class="page_column page_column_first" id="page_column_1" style="width: 499px;"><div class="page_block_container" id="page_block_759"><div class="disignBoxFirst"> <div class="boxFirstHeader"><div class="dbTitle">Up and Coming</div></div> <div class="boxContent"><div class="dbContentHtml"><p>This is a placeholder for up and coming news … | |
Hi, I'm getting this error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 576 bytes) in 'path' on line 207 what I'm doing is getting an excel file with about 8000+ rows and trying to move them into a table in my DB. a FOR loop … | |
Can you please tell us, free gold and silver rate service provider for RSS . And also give whether casting service provider RSS feed.. need java script above mentioned or XML file. | |
I am a web developer and i have been asked to create a website using google maps with search results like this: [url]http://www.hotelsneargolfcourses.co.uk/hotels-near/mid-kent-golf-club[/url] Where do i start? Thanks | |
I'm an old Access programmer trying to get something I use there frequently to work in PHP/MySQL. I want to look up data in a database and then have that appear as the value in a select statement on an update form. The issue is selecting a new supervisor for … | |
can somebody help me in dealing with this project... I am making a quiz that a user can input their own set of questions..after doing a quiz other users can take it..and I don't know how to check if the user answers were right.. can you please help me? thanks! … | |
How can I get this check box to work? the id='item' will always be the same per item no matter which I check. It always grabs the last one checked. query [CODE] $result10 = mysql_query("SELECT * FROM todo WHERE complete='0' AND day='$today' ORDER BY whenby ASC LIMIT 3"); [/CODE] [CODE] … | |
Hey guys, I am making a bot for a link sharing site. I am using the request external curl class and i have a dilemma that i think you guys could help with. Query Variables appended on the end of a url such as ?something=234 I do not know how … | |
I want to use jQuery tooltip in a table which is created with php doing a while loop. I want that when i hover over a row, the tooltip fills up with data according to that row. I found something similar using asp.net, but i dont know how to implement … | |
Hi All, Newline`(\n)` is not inserting a new line on the browser. Can some body help me how can I insert a new line on the browser. I know the html tag` <br />` will help. But is there any other way ? Here is the snippet of the code … | |
hre is my code for deleting a file, wats missing? $getFields($fields); $infoFile = $doc->getFileInfo($file); $title = _l("Delete a document"); if ($action == "dodelete" && $file) { if ($doc->hasRight($_SESSION["Sid_user"], "d", $dir)) { if (!$doc->deleteFile($file)) $error = $doc->errstr(); else $error = _l("Document successfully deleted !"); } else $error = _l("You cannot delete … | |
Hi, I'm trying to finish a scripts to manage newsletter from a website but I encountered a strange weird stuff just at the end. Basically when I send emails everything seem to be alright. I sent 5 email. 3 of them was received perfectly but the other 2 not. Just … | |
Hi friends, it is weeks now I'm trying to figure out how to make simple custome theme engine for my custom PHP CMS. I want to use it for my projects. It is based on custom framework too. So I checked how Drupal does it and Joomla. They are complex … | |
Hello fellow developers, Let me just start by saying I have had an abnormal start to developing. I started first with HTML > PHP > Java. I don't have much experience with Java but I feel quite confident in making PHP applications. I have already searched the forums but nobody … | |
Hello to all, I need your help,,,I m beginner of the php... i have to generate a user id for register users & it depends upon the batch field,, <option <?php if(($batch)=="1983-86")echo "selected";?>>1983-86</option> <option <?php if(($batch)=="1984-87")echo "selected";?>>1984-87</option> <option <?php if(($batch)=="1985-88")echo "selected";?>>1985-88</option> <option <?php if(($batch)=="1986-89")echo "selected";?>>1986-89</option> i need to select batch="1983-86" … | |
I have this code [ICODE] Facilities: <?=$Product->facilities;?><br /><? } ?>[/ICODE] It's display result like this: [B]Facilities: One, Two, three[/B] Is there a way i can make it display in a [B]tabular form[/B]? I have check the databse and it display like Facilities: One, Two, three Thank you in anticipation. | |
Hi! I have some forms that is sendt to me by php mail() a few days ago these where working just fine, but suddenly yesturday i stoped recieving the emails. There ate two different types of these forms one that is connected to a mySQL server, and one that is … | |
I'm having trouble while creating FaceBook style Wall. I'm not getting how to create database and post status or images or link to database Please help me to create FaceBook style Wall Following is my wall page code [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> … |
The End.