52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for attism

Hi.. I'm having problem with my website, and I just cannot figure it out what's the problem with my code. Any ideas? Thanks. [CODE=PHP] // get related files from database if ($settings['related_files'] == 1) { $related_query = mysql_query('SELECT f.fileid, f.title, f.description, f.icon, f.iconlocation, f.timesplayed from '. $tbl_prefix .'related AS r …

Web Development mysql php
Member Avatar for attism
0
249
Member Avatar for tcollins412

i am writing a game in JavaScript. I don't know any php so i need help making a page were people can submit their game scores. Thank you.

Web Development php
Member Avatar for cossay
0
165
Member Avatar for bben95

Could somebody please help me to add a function to this script in which the image to test if the server is up has a timeout, so it shows an error message to the user instead of just loading forever. The current function of the code is: Attempt to load …

Web Development html-css image javascript webcam
0
140
Member Avatar for zit1343

I have a PHP code which grabs data from site and it should be updated every second, I don't want to refresh whole page, I just want to refresh the data. please suggest something.

Web Development php
Member Avatar for diafol
0
75
Member Avatar for gazza7

Hi I'm testing a form with checkboxes, with the values extracted from mysql database with a query. Everthing works fine with the population from the query. But when submit the form, I only get the first part of the value. I am populating the checkbox values the album names e.g …

Web Development php
Member Avatar for gazza7
0
149
Member Avatar for blazeenterprise

Does anyone know how to create a form and when the person click on send it go to a differnet page and then emails the use a license key. Can i have a database with lots of license keys in and then when the user fills in the download form …

Web Development email php
Member Avatar for blazeenterprise
0
79
Member Avatar for Wehttam

Good afternoon, I have a problem... Else I wouldn't be posting here, right? My quandary is thus: I have an empty table in a database that I want a user to be able to fill. This will occur when employees are replaced for sick leaves, etc. I'd like to be …

Web Development asp.net java-swing
Member Avatar for Wehttam
0
188
Member Avatar for php2sheik

hi all, In my website i make online donation using the credicard.how to integrate paypal in my website using php. please send the script in php for online donation(payment). or any other useful links for that. Thanks in advance.

Web Development php
Member Avatar for orange_24
0
144
Member Avatar for sjjs1985

Hi all. I have an assignment i'm working on but I am getting some errors now. The page it is coming from is a login page. The customer has signed up and now i want them to login and store their data in a session. heres the errors Warning: Cannot …

Web Development php session
Member Avatar for EricIskhakov
0
143
Member Avatar for cancer10

Can anyone plz explain wot does PHP stands for? is it Personal Home Page or Hypertext Preprocessor (as written on their official site)?

Web Development php
Member Avatar for Pramod Yadav
0
178
Member Avatar for hzh003

Hey there. I am a beginner on PHP and I want to create a php page that part of its content will be changed after 5 seconds of its initial display. Like one flash object will replace the old already displayed one? What will the the easiest way to do …

Web Development flash php
Member Avatar for almostbob
0
98
Member Avatar for puvi

hi guys, i have enrolled to for brainbench php certification which is due in another month and half, but i havent prepared specifically for the test yet, till now i have just played around with some codes, done lil bit of trial n error stuff thats it. here is the …

Web Development pdf php regex xml
Member Avatar for pauper2thedemon
0
163
Member Avatar for ankit.pandey3

<[CODE]?php require_once('upper.php'); require_once('database.php'); require_once('LoginStatement.php'); $LoginId=$_COOKIE['LoginIdCookie']; $query="select * from activity_participation where LoginId='$LoginId'"; $result=mysqli_query($dbc,$query) or die ('Not Connected'); //echo "<div class='search_output_data'> echo "<table border='0' cellspacing='0' cellpadding='0'>"; while($row=mysqli_fetch_array($result)) { echo "<tr><th align='left' valign='top'>Activity Title</th> <th align='left' valign='top'>Date of Participation</th> </tr> <tr><td colspan='4' align='left' valign='top'><table align='left' border='0' cellspacing='0' cellpadding='0'><tr><td align='left' valign='top'>".$row['Title']."</td> <td align='left' valign='top'>".$row['Date']."</td> …

Web Development display php
Member Avatar for Borzoi
0
129
Member Avatar for bharanidharanit

hi, Is there any good CMS for ASP.NET like drupal, joomla ?

Web Development asp asp.net cms
Member Avatar for Borzoi
0
213
Member Avatar for octavia

Hi,i'm new in php. :) Now i have to use this as per project requirement. So i just started to learn it as fast as possible. As first attempt, i wanna add some data into mysql database table which has been created by MySQL Command Line Client. I installed php5 …

Web Development apache html-css php
Member Avatar for Dragonbaki
0
344
Member Avatar for jogieglenmait

hey im trying to make a file database but it just goes on and on a single line.question is: how do i make a new line after an entry is made? <?php $user=$_POST['user']; $pass=$_POST['pass']; $file="fileone.txt"; $content= $user . ","; file_put_contents($file,$content,FILE_APPEND); $content2= $pass . "<br>"; echo nl2br(""); //?????? file_put_contents($file,$content2,FILE_APPEND); ?>

Web Development php
Member Avatar for Borzoi
0
367
Member Avatar for new SE

hi.. anyone can help me to convert asp.net program to pdf? before this i'm using this code [CODE]private void ExportGridView() { string attachment = "attachment; filename=Contacts.xls"; Response.ClearContent(); Response.AddHeader("content-disposition", attachment); Response.ContentType = "application/ms-excel"; StringWriter sw = new StringWriter(); HtmlTextWriter htw = new HtmlTextWriter(sw); GridView1.RenderControl(htw); Response.Write(sw.ToString()); Response.End(); }[/CODE] to convert to excel.. …

Web Development asp asp.net pdf
Member Avatar for 1seo
0
192
Member Avatar for alanlee9898

I would like to have two dropdown list search for my posting in my blog. Example: First dropdown list : Select Cuisine Second dropdown list : Select Location Then Search button. I can't figure out the javescripts. Please help. Thank you so much!

Web Development javascript seo
Member Avatar for Ruthan7
0
296
Member Avatar for manugoel2003

Hi everyone... this is my first post... so I would be quite descriptive I am working on a Web App which is a Helpdesk Solution and is based on PHP and interacts with MySQL, MSSQL, Oracle, Postgres SQL... we also support Linux based and Windows based installation... There is quite …

Member Avatar for smmandar
0
184
Member Avatar for MoreBloodWine

I had this in another board but after takin a second look I think this is where it belongs, in any case. ------- How can I preceed the ticker with ND News: using hex color #FF0000 ? Everything I have tried, as far as placing the text goes doesnt work, …

Web Development javascript open-source xml
0
106
Member Avatar for Dani723

Can someone check my code to find out what the PHP code error is on line 1 please, also, for some reason, after changing and editing the file, all the information is clumped together, but not when I c/p it, why is this also? Thanks. <?php/** Enable W3 Total Cache …

Web Development api php wordpress
Member Avatar for almostbob
0
829
Member Avatar for EricIskhakov

Hi. my code works perfectly in Chrome but in IE when i go between pages my session is lost. does anybody know why?

Web Development php session
Member Avatar for blocblue
0
116
Member Avatar for arthurav

I have a database of questions for some tests. They will be uploaded on a website so that the users can browse them but I would like to make it hard for the users to copy them. I am using php to interface with the database. I have thought of …

Web Development html-css php
Member Avatar for quasipickle
0
111
Member Avatar for mrlol

Hi guys, currently im creating a script to view summary report for each student and their assignments.. my database look like this: [CODE]Assignment Title | Group Member | Submit Date Title 1 John, Sue, Amir 2010-10-10 Title 2 John, Sue, Bob 2010-10-09 Title 3 Bob, Sue, Amir 2010-10-06[/CODE] I've created …

Web Development php
Member Avatar for hielo
0
138
Member Avatar for tutur

Hi everybody! Please,help! My problem is as following: in a file XXX1.php we have a form with checkboxes: { echo '<form action ="XXX2.php" method= "post"> What you are looking for: <br /> <p><input type="checkbox" name = "wordprop[]" value ="Option1" >Option1<br/> <p><input type="checkbox" name = "wordprop[]" value ="Option2" >Option2<br/> <p><input type="checkbox" …

Web Development mysql php
Member Avatar for tutur
0
620
Member Avatar for nonshatter

Hi all, I'm relatively new to JS and I have an issue which I can't seem to get my head around... I have a perl script which iterates through an array and populates a table with its values. Within the created table I have a link in each row which …

Web Development client-server javascript perl
Member Avatar for nonshatter
0
146
Member Avatar for MysticalNomad

I have a PHP page opened directly from a URL with params in it: http://subdomain.domain.com/phppage.php?id=123456 The PHP page is [I]supposed to [/I]execute a very simple SQL statement to retrieve a single data row based on the id variable. The SQL execution is done this way: [CODE] $id = $_REQUEST['id']; $sql …

Web Development mysql php
Member Avatar for MysticalNomad
0
108
Member Avatar for bravo659

Hi guys. I have an ASP.Net assignment to do and need some assistance if possible. I previously read a post from a person with the same assignment but this is for ASP.Net LINQ to SQL not windows form. The following is my code forthe batting average. Code-Behind [code] private void …

Web Development asp asp.net c# sql
Member Avatar for croker10
0
227
Member Avatar for Dante2

Call me a noob, but is there a way to use [B][I][U]just[/U][/I][/B] PHP to create a photo slideshow? Or do you need to use flash? I have code that will display images in a random sequence, which is fine. [CODE=php]<?php $pic = rand(1,15); print "<img src=\"images/$pic.jpg\" height=\"100\" width=\"140\" />"; ?>[/CODE] …

Web Development flash image php
Member Avatar for Dante2
0
193
Member Avatar for erum

see the link [URL="http://www.gfln.org/Regsiteration.aspx"]http://www.gfln.org/Regsiteration.aspx[/URL] and click on radio button from 1 to 7 IE produces div (as many as clicked) but in forefox it got some how hang .please post back me if i need explain any thing else in my problem any urgent reply is highly appreciated

Web Development asp.net web-browser
Member Avatar for erum
0
209
Member Avatar for alokshri67

Hello, I want to give alert on click of button my codes is [CODE] Protected Sub BTN_SAVE_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles BTN_SAVE.Click Response.Write("<script>alert('hello')</script>") End Sub [/CODE] But after clicking it is giving alert message. why? Alok Shrivastava

Web Development asp.net javascript
Member Avatar for alokshri67
0
78
Member Avatar for kiranking

In my form there are two anchor tags [B]Add[/B] and [B]Clear[/B] having same class called button. What I am trying is submit the form data to another page(post) using ajax & clear is for clearing the data using javascript.The problem is that as both buttons having the class the same …

Member Avatar for kiranking
0
152
Member Avatar for dylank

Hey guys - I'm working on a new website template. It works great, except for a little bug with the Contact panel. It should slide into the screen from the right side into the center, but fails to do so. I believe it is because of the CSS property "display" …

Web Development javascript javascript-jquery
Member Avatar for Airshow
0
92
Member Avatar for Jeyush

Hi, I have two sites [url]www.abc.com[/url] and [url]www.xyz.com[/url], both are using [B]phpproads[/B]. I just want one database for those two websites. PHPPROADS uses database table to redirect site url, but not found how and where it redirects code lies. If anybody knows anything about that then please share with me. …

Web Development php
Member Avatar for Jeyush
0
139
Member Avatar for dan_J@ej00nG

Hi.. This is my first time posting here, so i hope u can assist me. I have this code [CODE]<% '======================= 'Define the names of your functions '======================= Dim Stream Dim Contents Dim FileName Dim FileExt 'Const adTypeBinary = 1 '======================= 'Get the actual file name from the URL that …

Web Development asp file-stream
Member Avatar for ArtistScope
0
136
Member Avatar for khushhappy

Hi, [COLOR="Red"]Page 1[/COLOR] [CODE] <td width="68"><a href="directory_update.php?updateid=<?php echo $row_Directory['Sno']; ?>"><img src="images/btns/delete.png" width="36" height="36" border="0" /></a></td>[/CODE] [COLOR="red"]Page 2[/COLOR] [CODE]mysql_select_db($database_Connection, $Connection); $query_Directory_update = "update directory set Sno=<?php $Directory_update['Sno']; ?>where Sno='$_GET[updateid]'"; $Directory_update = mysql_query($query_Directory_update, $Connection) or die(mysql_error()); $row_Directory_update = mysql_fetch_assoc($Directory_update); $totalRows_Directory_update = mysql_num_rows($Directory_update);[/CODE] [COLOR="red"]Error[/COLOR] [COLOR="Green"]Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or …

Web Development php
Member Avatar for khushhappy
0
95
Member Avatar for amit_kuetcse2k5

Hello, I cannot convert my php music site to wap site.Have any idea?Please help me? Thanks Amit

Web Development php
Member Avatar for pritaeas
0
82
Member Avatar for xuexue

hi guys, i have this page, add_row.html, this page dynamically adds another row of inputs as per the user requirements.. [CODE] <HTML> <HEAD> <TITLE> Add/Remove dynamic rows in HTML table </TITLE> <SCRIPT language="javascript"> function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; var row = table.insertRow(rowCount); var cell1 …

Web Development php
0
90
Member Avatar for zlloyd1

I am trying to finish a project and have hit a snag and since I got helpful advice in this forum before I thought I give it another try. I am trying to make an html page that collects personal data and sends it to a php file that should …

Web Development php
Member Avatar for Dragonbaki
0
163
Member Avatar for shoykay

Please, I will like anyone who can help me on this query $page_set=mysql_query("SELECT * FROM pages WHERE subject_id = {$subject['id']}", $connection); it resulted in the following error when viewed on the browser "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version …

Web Development php
Member Avatar for Mckcvision
0
216
Member Avatar for xuexue

guys, this code below will dynamically add new rows to the page once the link is clicked..now, my problem is that how can i get the value of the inputted rows.. [CODE] <SCRIPT language="javascript"> function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; var row = table.insertRow(rowCount); var …

Web Development php
0
85
Member Avatar for buzz-lightyear

Hi, I am trying to get my date field in a table to display as a long date (%W, %D %M %Y) format, but when I change the query variable using the FORMAT_DATE function it doesn't work at all, I just get a warning error. [CODE]die('Could not connect: ' . …

Web Development mysql php
Member Avatar for Dukane
0
157
Member Avatar for dschuett

Hey everyone, I am trying to write a script that goes through a certain directory and all its sub directories and have it return ONLY a list of FILES (not directories). I have this working good so far for a single directory: [CODE] <?php session_start(); ?> <html> <head><title>page</title> </head> <body> …

Web Development php
Member Avatar for diafol
0
123
Member Avatar for bobgodwin

I'm have a script that outputs files and folders w/ folders as a header and the files listed below. I'd like to sort them alphabetically, but can't seem to figure it out. I think I need to get them into an array. Or use scandir. Here's the code: [CODE]function getDirectory( …

Web Development php
Member Avatar for bobgodwin
0
569
Member Avatar for aditya61

The above code will get the user information from page "getuser.php". The output of getuser.php has some numericals populated in 5 rows. The 6th row i.e., the table footer has the sum of all numericals populated in the above 5 rows. The numericals in the first 5 rows are populated …

Web Development javascript xml
Member Avatar for scrappedcola
0
312
Member Avatar for Naggelos

Hello, I'm looking to learn Javascript. My knowledge of it is currently very limited, so I would like to learn it properly.. from scratch. Could anyone recommend me Javascript resources?

Web Development javascript
Member Avatar for bben95
0
85
Member Avatar for Stefano Mtangoo

Hi, I know this is not PHP issue but we here writes a lot of database SQL querries so I hope for a help. I have a bible script that is supposed to query the scriptures between two intervals. My table is named Bible and have columns: ID (int), Book …

Web Development php
Member Avatar for Stefano Mtangoo
0
369
Member Avatar for ccdsystems

We're working on a very large project that has been exclusively written in VBScript/javascript/HTML. We're starting to port it over, page-by-page into C#. We have split out common constants and code into <# Include .asp files, but when we go to try to include these files into out new C# …

Web Development asp.net vbscript
Member Avatar for ccdsystems
0
130
Member Avatar for logicslab

Hi pals, I got a complex Array from the Query. it's Structure is like [quote]Array ( [0] => Array ( [server_name] => anes.admod.net [id] => 1 [server_id] => 1 [description] => nice Anes Server [status] => 0 [max_down_count] => 9 [check_interval] => 15 [fail_recheck] => 6 [log_retain] => 1 [warning] …

Web Development cpanel data-structure display php
Member Avatar for erayfield
0
165
Member Avatar for s.butler1

I'm trying to create a page to send emails to contacts in my database. I started by embedding an array in the page and then used a text file, both were successful and now I'm trying to take the information from a database. [CODE]$setEmailArray = array ("email@domain.co.uk", "email@domain.com"); for($i = …

Web Development email php
Member Avatar for s.butler1
0
973

The End.