Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #2K
~13.6K People Reached
Favorite Tags
Member Avatar for debriscreator

Ok i think i'm getting closer to what I need.. Here's the error msg i'm getting. Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'table WHERE id = Stef Longo' at line …

Member Avatar for debriscreator
0
273
Member Avatar for sasankasekhar

Dear friends, This is my table: CREATE TABLE IF NOT EXISTS `exam_student` ( `exam_roll_no` int(10) unsigned NOT NULL AUTO_INCREMENT, `enrol_id` int(10) unsigned NOT NULL, `exam_id` int(10) unsigned NOT NULL, PRIMARY KEY (`enrol_id`,`exam_id`), KEY `exam_roll_no` (`exam_roll_no`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; I am trying to get the field **exam_roll_no reset …

Member Avatar for pritaeas
0
109
Member Avatar for omoayan

I have a project in which I desire to upload and download blob files in php. I have written the codes to upload the files into mysql however, when I try to download the files, be it pdf, .doc or jpeg, the error message I get is "The selected file …

Member Avatar for sasankasekhar
0
199
Member Avatar for harshm027

Hi, For some reason form submit is not working properly while I am using Ajax. I want the result to be displayed on the same page. I am using Ajax for this, but when I submit the form, only text is being displayed rather than the actual value. This is …

Member Avatar for harshm027
0
197
Member Avatar for PF2G

Hi, i'm using a javascript so i can do a messagebox confirmation, and then it goes to a .php where is the delete sql. But is not working: <!----------------------------------------------> <script language="JavaScript"> function confirmBox(id) { if (confirm("Tem a certeza que pretende eliminar este utilizador? ")) { location.href="remover_user.php"; } else { return …

Member Avatar for jmichae3
0
175
Member Avatar for jacksantho

Hi, How to store while data result set into the session variables and how retrieve the appropriate the session values of the hyperlink on test.php(on another page)... please help me out...thanks Hi, session_start(); $query="select id,name from test"; $result=mssql_query($query); while($row=mssql_fetch_assoc($result)) { $pid=$row['id']; $pname=$row['name']; echo "<tr>" echo "<td>"; ** echo "<a href=test.php>$pid</a>";** …

Member Avatar for broj1
0
4K
Member Avatar for Subless

How can I take the below array and make it an in-line array? // Store user-data in array $USER = array(); // first user info $USER[1] = "username"; $USER[1] = "password"; $USER[1] = "rank"; $USER[1] = "session id"; // second user info $USER[2] = "username"; $USER[2] = "password"; $USER[2] = …

Member Avatar for Subless
0
188
Member Avatar for Albert Pinto

Hi people, got some weird issue. My update query isn't working once I upload my files on server, It works perfectly on localhost and delivers what its intended to do. I echoed my update query On local host it gave me: UPDATE displayusertrip SET displaytripmnth='JAN', displaytripyr='2012', displaytriptrps=' Goa Trip, Bengal …

Member Avatar for sasankasekhar
0
1K
Member Avatar for seblake

Good evening. I've never used php before... I tried... A simple query told me to use this syntax: <?php include 'Max-TechFooter.php'; ?> Another one showed the div's around it, so I tried that, too That's the way it is now: <!-- Footer --> <div class="footer"> <?php include 'Max-TechFooter.php'; ?> </div> …

Member Avatar for sasankasekhar
0
135
Member Avatar for mlohokare

Hi Everyone, I am Mahesh. I am new in Javascript. I am creating a web page using XSLT. But for that I need help for javascript. Problem Statement ***************************************** There are several <img>s in output html page. images id are randomly generated using xslt. in that img tag there is …

Member Avatar for mlohokare
0
262
Member Avatar for complexcodes

Hello, I am supposed to write a program that prompts user to enter the numbers separated by space and when user click "ok" button, it should display the numbers entered with its mean, and standard deviation and the window should ask if user wants to enter numbers again if yes …

Member Avatar for essential
0
180
Member Avatar for jobojo

I need to add an array to the end of another array. I understand how to do this using the concat, join, and push methods. However, I need to do this using a loop (I am pretty sure a 'for' loop is the right choice), however, I can not figure …

Member Avatar for jobojo
0
1K
Member Avatar for rouse

I am new to MySQL and did not notice this before. In order to get the query to work I have to use two different quote marks. Notice that the single quotes on the left where I list the column names are from the keyboard key with the tilde `~ …

Member Avatar for rouse
0
114
Member Avatar for anumitadas

<?php <$conn=mysql_connect("localhost","root","root"); echo("connected"); if(!$conn) { die('could not connect:'.mysql_error()); } mysql_select_db("student",$conn); if (!mysql_select_db('student', $conn)) { echo 'Could not select database'; exit; } ?> This the code..Using which I want to connect but getting the error: Parse error: parse error in c:\apache\htdocs\phpmyadmin\connection.php on line 6 Plz help

Member Avatar for sasankasekhar
0
94
Member Avatar for sajjadpk

Hi Every 1..! I m new in DaniWeb plz help me out by solving my problm spcific to PHP (checkbox control). I want delete multilple data from mysql using php form checkbox control. I want to display data in a table as i did and then want to select multiple …

Member Avatar for sasankasekhar
0
95
Member Avatar for CasTex

Hello, how can I do this ? [URL=http://imageshack.us][IMG]http://img528.imageshack.us/img528/1996/ggg1mh2.jpg[/IMG][/URL] The table is simple table, you can imagine that as a picture. But my point is, how to make the writing like that ?

Member Avatar for sasankasekhar
0
129
Member Avatar for realnsleo

hi there, i have a problem resetting my form with javascript. I have a registration form that when submitted, the action is performed in an iframe so that the browser does not have to load another page. After form validation, i want the php script in the iframe to clear …

Member Avatar for sasankasekhar
0
107
Member Avatar for silentbob671123

What I am trying to do is preload images on my website and delay my javascript slide-show until the images are completely done loading. Right now the slide-show starts while the images are still loading, making it kind of awkward. I am using this to preload my images but it …

Member Avatar for silentbob671123
0
116
Member Avatar for farahphp

[code] <html> <head> <script language=javascript> function updateopen() { var c_value = ""; var cb = document.getres.checkbox; for (var i=0; i < cb.length ; i++) { if (document.getres.checkbox[i].checked) { c_value = c_value + document.getres.checkbox[i].value + "\n"; } } alert(c_value); //window.opener.document.getElementbyId(numbe33).value = c_value //window.close(); } </script> </head> <body> <? echo '<form name="getres" …

Member Avatar for sasankasekhar
0
127
Member Avatar for collegestudent

I was just wondering if there was any easy way to convert a document.writeln output to display inside a textarea box in a form. I recently had done an airline reservation assignment (enter 1 for first class, enter 2 for economy class) assignment with all output just written to a …

Member Avatar for sasankasekhar
0
162
Member Avatar for blufab

Is it possible to get the value of a non-standard attribute in firefox? I am trying to capture the value of attribute required. In IE I am able to get the value using document.form.required but in firefox it just returns undefined. [CODE=html] <html> <head><title></title></head> <body> <form id="form" name="form"> <input type="text" …

Member Avatar for sasankasekhar
0
96
Member Avatar for BillyMako

Why isn't this working???? [code=php]Echo ' <form action="show.php" method="post" onChange="this.form.submit()"> <select> <option value selected>select</option> <option value="1">1</option> <option value="2">2</option> </select> </form> ';[/code]

Member Avatar for Yipyo
0
3K
Member Avatar for Stefano Mtangoo

Hello All, As plain as the question is: I'm compltely newbie in PHP but in near future I plan to study PHP. I now Learn Python and need to Get acquanted with PHP as well as C++. My Question is, IS THERE ANY FREE BUT LEGAL Books ready for download …

Member Avatar for Stefano Mtangoo
0
113
Member Avatar for ehsun7b

I need to get all children of a DIV and their children too. I mean I need to get the HTML text of a DIV but I don't like to use innerHTML since it does not support the values of inputs in many browsers. How can I do that? :-/

Member Avatar for ehsun7b
0
202
Member Avatar for cmills83

hi i have a parent window with an external url iframe. when the parent loads i want to set the iframe footer to display:none;. is there a way to do this? i have looked all over w/no luck. thanks

Member Avatar for sasankasekhar
0
121
Member Avatar for castlelaker

Help Spent HOURS on this and cannot see the problem. It will display the country but not the number of clients that are within that country??? [code=php] <?php //Retrieve the "count" for the number of people in the specified country $country= $_POST['totalbycountry']; //Connect to the server...$connect will contain the connection …

Member Avatar for jyothi chundi
0
123
Member Avatar for veledrom

Hi, Button below opens new popup window but doesn't send POST data from form. How can i send POST data? I know "form action" but, i want this way. Thanks [code] <input type="submit" name="buttonUnit" value="Add" onClick="window.open('add.php','Done','width=400, height=130')"> [/code]

Member Avatar for sasankasekhar
0
316
Member Avatar for yasmena

i wonder how can write a JS variable inside HTML here's the Line: var texture=document.getElementById('texture').value; formdiv.innerHTML = formdiv.innerHTML +'<td align=center> JS VARIABLE TEXTURE</td>'; any help is appreciated

Member Avatar for sasankasekhar
0
80
Member Avatar for aneesh.nl

I cannot set width of table in dream weaver correctly. look. Please help me. Look at [URL="http://www.balasethulegal.com/"]www.balasethulegal.com[/URL] [ATTACH]8091[/ATTACH]

Member Avatar for sasankasekhar
0
128