39,402 Topics
![]() | |
Hi I am new bee to JS and PHP, i have a code to display the images from directory in the path C:\wamp\www\prawin\new\locations\test\admin But this code didnt works . can any one help me. My code is [ICODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> … | |
Hello all I am creating a site for user registration to a class. As classes are added and removed, I have a dynamic table that updates to list the available dates. [code=php] $result = mysql_query("SELECT date, time, type FROM class"); while($row = mysql_fetch_array($result)){ printf("<tr>"); printf("<td><a href = 'registration.html'>%s</a></td> <td>%s</td> <td>%s</td>", … | |
Hi frnds... When i was inserting data into mysql table, i used [B]NOW()[/B]... It displays as today date and time..[B] DD-MM-YYYY hh-mm-ss[/B] ... Now, I want to fetch all records from table, which having date as today...i.e [B]DD-MM-YYYY[/B] in this formate... Plz solve this problem... Thanks in advance.. ![]() | |
Hi i am new to web developnment and fortuantely i was able to create a website for my friend i have used dreamweaver to do the entire site in HTML now i am using an enquiry form where a person types his info and submits the same which needs to … | |
Hi frnds.... I need code for PHP AND MYSQL POLL... It should contain admin part for inserting poll quetion, and saving all data into database.. In the user part also having graphical bar representation... ex:This is the way i want.. [B] [url]http://www.ndtv.com/news/polls/poll_details.php?pollID=505003&poll_saved=1#postcommentarea[/url][/B] Plz give some URLs regarding POLL.. or Plz … | |
Hi My problem is actually in an ActionScript3 system, but I think the concept is the same. I am creating instances of an object repeatedly, and I want to give each new instance a unique name. As the loop runs, it calls a function which creates a new instance. Currently, … | |
Hi all, I am in confusion i am using calender in one of my application but calender is working in all other browser but it is not working in IE . In this i am using two calender in form one calender for[B] date from[/B] and other calender for [B]date … ![]() | |
Hi All, Can any body suggest or share code for following scenario: - In a php file I am getting some message. - once the message arrives it should popup a dialog or window with the message. - if poped up is an window it should not have close button … | |
Hello, I'm trying to figure out how to convert this php file_get_contents command to visual basic script. I tried googling it but no luck. This is the command down below. <? $page=file_get_contents('http://www.example.com/page?user=cwarn23&pass=820578wxz56240358'); ?> | |
Hi, In PHP I need some help on radio button. I am trying to put two radio buttons in a php file.By selecting first radio button the page should display radio button selected and one text field.By selecting the second radio button it should display the second radio button selected … | |
Hi frnds... This is my project flow...plz set the path.. [B]Main Project[/B] a)[B]Gallery[/B]/gallery.php [B]Gallery[/B]/photos/ b)[B]admin[/B] [B]gallery[/B]/uploadphotos.php In this i am having two gallery folders..one for User panel ,another one is for Admin panel.. I want to access photos folder from admin panel..means uploading photos should directly goes to [B]User(photos)[/B] folder... … | |
Hello everybody. My question is does anybody know any script commands that will allow me retrieve information from an website that has a user name and password? For example, I write a script that ask the user to enter in a user name and password, then the script goes to … | |
I have a login script,which after a member login successfully session is registered. The problem is that if user dont use the page for a certain time from 30 minutes. session a getting lost,and member should login again. So what can i do to lengthen the session time,if its possible … | |
Hi, I have four inputs. 10 20 and 10 "NA" i want to show that 10+"NA" [COLOR="Red"]> [/COLOR] 10+20 How to do this?? | |
Hello, My php script seems to be dieing at the database connection using this code but it's not printing my error. It will print all php code before the connection code, but it prints nothing after it making me think this is my problem: [CODE]$DBConnect = @mysqli_connect("localhost", "user", "pass") Or … | |
I am working on a personal framework and I have been trying to move all of my configuration variables into one central file and read them from there. I created a config class that traverses a large array, but I feel as I add more configurations to the application, its … | |
I was just wondering if it would be possible to protect an directory and its content with php http authentication. Let's say I have created for each user an directory and only that user can access the content in that directory using a mysql database table to get access. How … | |
I'm taking a course in Web development, learning to write PHP and I been working very hard on trying to find the errors in this script. I'm very new to programming and I get confused on where '," belong in the code. Any suggestions you can give is very helpful. … | |
Hi frnds... I saw previous threads regarding photo gallery in this forum.. All threads start from errors in code.... But i want Image gallery total code with db...I was also doing gallery, but it looks not good..code is working fine..but look and feel is not good...also it takes more time … | |
hi there, I have a phpbb forum . and I want to install a new style for it. I have tried to do that , have not sucessded. please how can I do that ? | |
Hello All, I am upgrading my VBUlletin and I am receiving this Error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8835301 bytes) in /home/user/public_html/includes/adminfunctions.php on line 3209 I edited the php.ini file and tried allocating memory_limit upto 1400M, but no luck(yes, I tried upto this!!!). … | |
Hi there, I have a fairly simple question. I have a registration form on my site and I want to send the new user a confirmation email so that I can confirm they agree to my terms etc. I am using mail() and for the most part it works just … | |
I know that it is possible to launch a file browser from PHP script (when selecting the file to upload), but is it possible to Is it possbile to launch a 'Browse for Folder' dialog box from PHP script? Since I did not find any functionality in the PHP, I … | |
[ICODE]<?php $con = mysql_connect("localhost","teachms_fooduse","science0"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("teachms_foods", $con); $result = mysql_query("SELECT * FROM Foods"); echo "<table border='1'> <tr> <th>Name</th> <th>Shop</th> <th>Price</th> </tr>"; while($row = mysql_fetch_array($result)) { echo "<tr>"; echo "<td>" . $row['Name'] . "</td>"; echo "<td>" . $row['Shop'] . "</td>"; echo "<td>" … | |
Hi guy can anyone help me this code i get the error. It suppose will come out the java script alert first if the use did not fill up the phone number or the subject but it will send the mail also if the user did not fill up the … | |
alright im making a sortable displays in my website but i am trying to figure out how to pass my javascript array to and external php script through POST method so i can update the column, position, hidden, or closed in the database i am using jQuery Sortable Portlets located … | |
Hi, This is a code which shows all the records from database and also show EDIT and DELETE Button for each Record, Now I want only one DELETE Button for ALL Records and use check boxes to select and DELETE. Please Check this Code: [CODE=php] <?php $server="localhost"; $user="root"; $pass="root"; $database="new"; … | |
Hi every one I am new to php and trying to connect PHP and MySQL my code is as below [code=php] <html> <body> <?php $My_con= mysql_connect('localhost'); echo $My_con ?> </body> </html> [/code] but this error occurd [B]Warning: mysql_connect() [[COLOR="Red"]function.mysql-connect[/COLOR]]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\Program Files\EasyPHP … | |
Hi All, I am new to PHP and MYSQL. I installed Apache2.2, MySQL Server 7.0 and PHP 5.2.10. I created database and table in MYSQL - its working fine. PHPINFO() - its working fine. When i tried to connect to my MYSQL using PHP with the following code, i am … | |
I am getting this message and I have checked my code and it seems to be all OK but I ther another reason that this message is showing up, that I maigt not know. PLESE HELP.... Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in file.php on … | |
I'd like to redirect the user to another page, i.e. after a login check. I'm used to doing this via header location directive, it's all ok, but, if I'd like to print a message and redirect the user in 2/3 seconds, like on this forum when you login? Is it … | |
Hi, i have working forms on my website that i would like to have an auto-respose email sent after someone submits an order, i was hoping there is a way i can edit the code instead of remaking all the forms, im using a LevelTen Formmail php script, can anyone … | |
HI all, I have make two form. one in which i will fill value then is will go in next page after submitting with $_Post['value'] . But i need this value in my javascript code in next page . So how i can fetch this value in my javascript code. … | |
This issue I am running into occurred once we changed our site over to a dedicated server. We have had continual problems with our contact page, first with the captcha and now we have an error message saying: SQL error: Table 'paysonllc_db1.email' doesn't exist. Under Manage Sites I can connect … | |
hi all, i have a php generated image that i want users to download as png, but as it is generated on the fly, the default save as option is <php_name>.php so i just want to ask if there is any way to change this default file name to a … | |
I'm currently developing a web page that accesses a CGI string to query an application and return results to a page: [url]http://empress-media.net/jimflynnrentals/gear_test.html[/url] The CGI string is: [url]http://servername/cgi-bin/nph-omniscgi?OmnisLibrary=tbsWeb&OmnisServer=5912&OmnisClass=rtPublicSearch&MethodName=search&SessionID=PUBLIC&bXML=1&bXMLData=0&SQLClassName=qCategoryLookup&SearchCriteriaString=STYPE_CATEGORY%2CNOT%20%25LIKE%25%2Cggg[/url] It currently works to return the list of categories. It uses Javascript methods to return the results to a DIV on the page … | |
I a newbie on php .I having a problem of sending the mail using this code.with this code sometimes i can send mail and some time not can any genius help me on checking this [CODE]<?php $to=stripslashes($_POST['to']); if($to == '1'){ $to='mail@.gmail.com'; @mail($to, $subject, $body, $headers); }else { $to='mail@gmail.com'; @mail($to, $subject, … | |
Hi Is it possible to insert nl2br to these two? [icode]<?php print $laes_artikel ["artikel"]; ?>[/icode] and [icode]<?php print substr($row["beskrivelse"], 0, 250); ?>[/icode] .. If so, can someone tell me how? Thanks for now. | |
Hi to All, Please tell me briefly that in PHP, what type of errors occured to the developer. Thanks in Advance | |
Hi, How I can show summary of thread like Daniweb. I have attached picture so please guide me. its really cool without opening the thread we can read whats inside . idf interesting we can go inside. Thanks Ayesha Developer | |
I need to obtain current date formatted this way in PHP: Sun, 26 May 2005 19:32:54 GMT Is there a specific function or I've got to create it myself? | |
Hi I want to add some pictures in the header of my site can anybody help me how to do that in php Thanks in advance | |
Ok so I created an instance of the mysqli class: [code=php]$siteconn = new mysqli($dbhost, $dbuser, $dbpass, $dbname);[/code] But when I try to run a query using this I get the error that's in the title... code as follows: [code=php]$result = $siteconn->query("SELECT * FROM categories ORDER BY id LIMIT $limit");[/code] Any … | |
Hey Guys, I want to make a web development project based on php and mySQL. I have roughly around 3-4 weeks to make it. Please suggest some ideas. Thanks. | |
am doing my class project but am stuck i want to oepn the administrator category in valid_user table is Administrator and if Normal user to open welcomepage here is the code it only open admnwelcom.html even when the catagory is Normal_user.here is the Php code [code=php]<?php // This code will … | |
Hey Guys, I have login page in my web site. I have used SESSION to store the username and the user password. What i want is that after succesfully logging in he should not be able to go back to the previous page. What's happening rite nw is that when … | |
hey i m using orangehrm -2.4.2(an open source ERP software for HR Management) i want to add [COLOR="Red"][B]payroll[/B][/COLOR] feature in the main tab(module) with admin, PIM, leave, time, benefits etc. & also how to made d provision of payroll for [COLOR="Green"][B]next 3-5 years[/B][/COLOR]. any help would b much appreciated. | |
I have a php file that have picture it can display on my pc when i upoload to the apache server that bundle inside but when i try to log on at other pc it can only display the text not image why ? | |
On my Drupal site I have a block which I've set up with a couple of links at the top. I want to change the content of the block depending on which link is clicked. I'm pretty sure you can do this as I've seen sites with this functionality, but … | |
Hi all, I am not sure where to start with this one really. I have built the template for my site but, having a few issues in trying to impliment certain things that have to happen. This site needs to have 3 types of user. I am using a generalization … |
The End.