39,320 Topics
| |
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 … | |
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" … | |
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 … | |
Good day forum: I need some assitance retrieving and displaying an image. I have stored image in a directory on my server and saved its name in mysql. I'm able to retrieve and display all images on a page in the following way. [CODE]<?php // Connects to your Database include … | |
Ok, i need help making two list boxes. One is dynamically filled with results from an sql query ( i think i can do that). The second is then empty. The user will double click a value in the first box and it will be moved to the empty box. … | |
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] … | |
Hi, i run soap client: [CODE]$dir = "http://address.com/?Version=1.0,wsdl=1"; $client = new SoapClient($dir, array('login' => "test", 'password' => "test"));[/CODE] Test, print_r($client): [CODE]SoapClient Object ( [_login] => test [_password] => test [_soap_version] => 1 [sdl] => Resource id #3 ) [/CODE] And in this server is class: [CODE]all_user * return: array * … | |
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. … | |
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 … | |
Hello, I cannot convert my php music site to wap site.Have any idea?Please help me? Thanks Amit | |
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 … | |
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 … | |
1. Separate pages. Each page coded completely independently. 2. Index page with content as included files. An index page with everything that would appear on every page coded in then a simple if statement to check which page should be displayed, likely depending on the URL (e.g.: index.php?page=news). 3. Content … | |
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 … | |
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 … | |
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> … | |
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( … | |
I'm having some problems using PHPMailer sending to gmail. I have plain-text and HTML e-mail contents. Mail is successfully received at an e-mail address in yahoo mail and an e-mail address in gmail. The problem is that the gmail e-mail shows up in plain text(all HTML formatting removed). The Yahoo … | |
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 … | |
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] … | |
i have downloaded a php script , it includes just checksum.md5 file, index.html, file_id.diz and favicon.ico this script requires to add databse and other config , how can i use this script without any config file or php files ? | |
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 = … | |
Hi, I can not configure imagemagick on windows with xampp . Please help me? Thanks Amit | |
i have found a free php email form, it is a good form but problem is that it has a custom title so emails are come to me as a custom title in my inbox. [I]define( 'PHPFMG_SUBJECT' , "[B]Here Is The Custom Title[/B]" );[/I] it's located in [B]/form.lib.php[/B] root. How … | |
I am making a forum script, this part is basically parsing the html for the categories then the html for the rows inside. For some reason the forums repeat themsleves and I have tried everything to clear the values incudling $forum = ''; and unset($forum); but nothing is working, and … | |
Hello there, i am very new in this community and i am very much interested in developming web pages with php but i am having trouble using all the php features. I am currently usig windows vista. what version of wamp sever do i need toinstall on my system? Please … | |
give me complete code to see content of table and after tat edit data everytime diff an update it in same table of database | |
could you help me to make a basic css which is applicable for the autocomplete in php? tnx..^^ |
The End.