52,566 Archived Topics
Remove Filter ![]() | |
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 … | |
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 | |
![]() | 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 |
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 ![]() | |
![]() | 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 ![]() |
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 … | |
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 | |
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 | |
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 … | |
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 | |
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 … | |
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 … | |
<[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> … | |
hi, Is there any good CMS for ASP.NET like drupal, joomla ? | |
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 … | |
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 | |
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.. … | |
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 | |
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 … Web Development first-post mssql open-source oracle php sql | |
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 | |
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 … | |
Hi. my code works perfectly in Chrome but in IE when i go between pages my session is lost. does anybody know why? | |
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 … | |
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 | |
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" … | |
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 | |
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 … | |
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 … | |
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] … | |
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 | |
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 | |
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 … Web Development html-css javascript javascript-jquery | |
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 | |
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 | |
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 | |
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 | |
Hello, I cannot convert my php music site to wap site.Have any idea?Please help me? Thanks Amit Web Development php | |
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 | |
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 | |
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 | |
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 | |
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: ' . … ![]() | |
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 ![]() | |
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 | |
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 | |
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 ![]() | |
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 | |
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# … | |
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 | |
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 = … |
The End.