38,020 Topics
| |
hi there, need some help: i have a command button in which it will generate a textbox whenever it is clicked, thus, if it is clicked 5 times, then 5 textboxes will appear. please help me with this, i want to code this using PHP or even HTML.. | |
Hi everyone, As the title of my topic says, I created a javascript loop that had some PHP code inside of it, hoping that every time the javascript function ran, it would re-call the PHP code inside of it. Turns out my hopes failed - the PHP code is only … | |
Hi guys, I am trying to create an application to serve on the web which is an integration of a java application and some php for mostly presentation functionality. Has anybody here successfully done anything like this before, and if so how? Please help. In dire need here. Thanks in … | |
hi, i am working on a project where i have to display an image gallery. All the images are stored in mysql and i have to display them and related info one by one using NEXT and PREV buttons. can anyone help me with this. thanx in advance. | |
hello...this is one way andeasy way to optimize database table. [CODE]dbConnect() $alltables = mysql_query("SHOW TABLES"); while ($table = mysql_fetch_assoc($alltables)) { foreach ($table as $db => $tablename) { mysql_query("OPTIMIZE TABLE '".$tablename."'") or die(mysql_error()); } }[/CODE] | |
I have a mysql table with the following data in it: user_id score 1234 28 4654 -15 5986 15 3657 10 If i have PHP select the score column for user 5986 how could i then have PHP calculate the next highest score in the MySQL table ? | |
how can i book cinema tickets from my own website like bookmyshow.com pls help me | |
haiZ... i need good tutorial site for php .... some thing i searched not comprehensive... | |
Hi all, Firstly not sure if this is a php or jps question or both I have a system, which uses session for security, with a timed cookie for time validation. In the menu of the system there will be an option, which will redirect to a jsp server. What … | |
hi im new to writing functions - still havent gotten to classes yet :) and having some trouble understanding which function can access which variable... i have declared an array outside of any function... then i call a function, pass it a list(array) of urls and need to cycle the … | |
My session destroys automatically after every 25 min if the page is idle. how can i prevent it and do session destroy only when browser is closed. Please help | |
Hi, i have the following snippet of php that i wrote but cant figure out why it wont work all the variables have been set before hand. Heres the PHP: [code=php]echo "<table border='1'> <tr>"; if ($win_score > $lose_score) { echo " <th>Winner</th> <th>Loser</th> <th>Win Score</th> <th>Lose Score</th> </tr>"; while($row = … | |
In Db ch is a field with default value "Click here to view" and when I clicked it shows image (reference path stored in DB) in blank new window. Now I want to show this link as submit button and in action i want another page which shows details. [CODE=php] … | |
hi i want to display my webpage as F11 mode(fullscreen)...when i click on some message.. i dont want to display statusbar,addressbar....i want to set the same functionality like F11 mode... Thanks in advance.. | |
I'm having a bit of a problem with my page protect script. I've been working on my backup server for the past week or so making changes to the site. I uploaded all of the changes to the main site today and now every single page that includes my database … | |
Hi everybody. Thus far. I have successfully created a drop down menu. What I want is for someone to choose a selection from the drop down list in admin_page.php and click the Status button to view the status of the option chosen. For now, I created a status button that … | |
Hello Every one is there any body who could help me on how to open a doc file and how to read its content thanks in advance | |
[CODE]<?php $host="localhost"; // Host name $username=""; // Mysql username $password=""; // Mysql password $db_name=""; // Database name $tbl_name="user"; // Table name mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $myusername=$_POST['myusername']; $mypassword=$_POST['mypassword']; $time = time(); $check = $_POST['checkbox']; $myusername = stripslashes($myusername); $mypassword = stripslashes($mypassword); $myusername = mysql_real_escape_string($myusername); $mypassword = mysql_real_escape_string($mypassword); … | |
I Found a problem on my site and when i compare the files on the server with my local files i found that every page (*.js or *.php) has this line on it <?php /**/eval(base64_decode('aWYoZnVuY3Rpb25fZXhpc3RzKC or a javascript line so i knew that my site has been hacked.. so 1 … | |
Hello guys. I am faced with an serious issue in my current project. I have this form, when the user submits it I create an array via javascript which is then encoded in with JSONstring.make(). The data is sent to php via ajax, the problem is that sometimes, I havn't … | |
Hello everyone, I've been trying to build a website with a VIN decoder for a few weeks now and I'm getting no where. I have no experience with PHP but have been doing a lot of reading. My question is how do I split a form into different pieces that … | |
I have a string in my main index that looks like this: [CODE]if (is_sticky()) { echo " id='sticky' "; } echo ">";[/CODE] What this does is post info like a "Sticky" in a format like the thread of a forum at the very top of the list. It does this … | |
Hi guys, So I am developing a website which will allow users to comment on things. As part of this I need to display a comment count and I wanted to know what you thought was the best way of doing this: The two options are Every hour/day run a … | |
Hello, Got a question for you all. I have a mass email script that sends emails out in a round robin using 15 unchecked email address (GoDaddy only allows something like 250 emails a day per address). The problem I have is if an email bounces back it goes to … | |
Hi Freaks ... I need information regarding the webpage designing through PHP. I want the specs for designing a web page through PHP with a backend by which i can easily go through and it would be user friendly. | |
Hi, I have the following regex pattern. I don't think there is anything wrong with it. It seems to work when i test but if someone sees anything wrong with it please feel free to tell me. I don't know Regex but managed to put a username validator together as … | |
can any body explain what is the use of csv files in php. i know it is used for export db as a xls files . in excel we can change the extension as .csv. | |
hello every one this is my first post in the daniweb today i found this index of free open source PHP Class Scripts [URL="http://www.jooria.com/scripts/PHP-Class-Scripts-129/"]the index here[/URL] | |
Hi all, I am thinking of a login system which can retrieve user credentials from: i) DB ii) LDAP iii) XML essentially a configurable one.. Like when u choose to get credentials from DB, u can specify the table name and columns to get the value from... similarly for others.. … |
The End.