17,029 Solved Topics
Remove Filter ![]() | |
Can you show me the way about storing the special characters into mysql database using php. Actually,I'm working on such a website where user can upload text and programming codes into mysql. Thank you in advance. | |
Hey Guys, I have a quick question for you. I display a new event every day that allows users to attend that event. The event id and user id are added to an event participants table. I have 3 tables in my DB: "userinfo" which holds stuff like id, Name, … | |
I made a mysql table on my website with backend that allows me to upload images of affiliate companies i deal with. I used this script and it works. I now have need to add URL to these. As you can see i select the directory the iamges are in … Web Development data-structure javascript php session | |
I've got lists of links which change order when you click the "most" or "least" buttons, have a quick look at it, easier to understand: [url]http://pinchweb.com/browse/[/url] The problem is, I see a lot of repeated code, which seems pretty inefficient. There's 4 filters - leastrec (least recent), mostrec, leastpop (least … Web Development javascript javascript-jquery | |
Hi, This is a good snippet: [CODE]dim strSQL as String = "INSERT INTO tbl_civil_works(orgcode, item_works, descr, qty_area, " & _ "units, rates, amount, timestamp_now) VALUES(" & intOrgCode & _ ", '" & param(0) & "', '" & param(1) & "', '" & param(2) & "', '" & param(3) & _ … | |
Hi, here's the site I'm currently working on: [code]http://www.johnernaut.com[/code] Under the 'contact' tab I have some behind the scenes C# code that SHOULD send me an email whenever the submit button is pressed and all fields are validated. This isn't working for some reason. The host I'm using is GoDaddy. … | |
Hey Guys, I have a Data Grid View which displays a few things from the database, one of the information being displayed is the Date,The date is set in Clarion and i want to change it so it gets changed to the date we see it as today. I have … Web Development asp.net | |
Hi guys, I am trying to get contents of a page into a popup div when user clicks on the View sample plan link in the table with the id='plans' below. I will change the contents of junk.php once I can get it working. Thanks to everyone who can help … Web Development javascript javascript-jquery | |
Hi. I have a page with 3 frames. One on the left, one up as a title and the main one which takes most of the page. On the left frame i have some radio buttons. What I want to do is to open / load a page in the … Web Development php | |
hey i just started learning php programming, i wrote this code, although the HTML code and forms and everything is working but when i click on submit nothing happens. the code :- [CODE]<?php include("header.html"); include("nav.html"); include("sidebars.html"); ?> <?php if(isset($_POST['submitted'])) { if((isset($_POST['name']))&&(isset($_POST['school']))&&(isset($_POST['marks']))&&(isset($_POST['sex']))) { if($_POST['marks']>=80) $grade='A'; else if(($_POST['marks']>=70)&&($_POST['marks']<80)) $grade='B'; else if(($_POST['marks']<70)&&($_POST['marks']>=60)) $grade='C'; … Web Development php | |
Hi, I've been teaching myself php out of necessity for a web project at work and I've run into a situation in which I currently have three different php pages that are used to display three different data grids. However, most of the code is the same, aside from the … Web Development php | |
when i try to use a sql sentence i juts get this error: An attempt to attach an auto-named database for file C:\Documents and Settings\User1\Desktop\aweb1\User\App_Data\ASPNETDB.MDF failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share. now i am stucking … Web Development asp.net | |
what i'm trying to do is get the contents of the textarea, which the id is 'reply'. then onclick of a button, a popup div with id 'layer1' displays the contents of the textarea. i tried below but it comes up blank. i haven't included the pop up/button code, thats … Web Development display javascript | |
Hello, I have a big problem with opening asp.net website. I have building asp.net website months. Yesterday I have install a fresh Windows7, and after that install Visual Web Developer 2010 express from which I have build website. Now when I open webiste in Web Developer, and browse with Internet … | |
Hello. I am 2 days old in asp.NET. I had the option to do one of my home assignments in asp.NET and I thought it would be fun. It's not been as scary as I thought. Still, I have troubles debugging my queries. I can catch errors with try-catch block, … Web Development asp.net open-source visual-studio | |
Please People help me to achieve this in Vb.nt and C#, i will be very gratefull: i want to achieve the "axterics' display" i.e "********" while a user is typing on textbox in asp.net form. Please help me. and advice me how to put into these codes below: [ICODE]If Not … Web Development asp.net | |
I have two files here.... index.html and postback.php index.html [CODE=HTML] <html> <head> <script type="text/javascript"> function showUser(str) { if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && … Web Development php | |
I was hoping someone could offer me some help please I am new to using asp.net .I want to create a web form with two comboboxes ,one text box and a button .I have multiple tables in ms access database with same structure , col1 and col2 . I want … Web Development asp.net data-structure microsoft-access open-source | |
Hi Friends I am trying to get the value of select dropdown item in a text box, but i am unable to get it. I am using ajax for dropdowm method. please any one can help one.php [CODE]<?php session_start(); include("config.php"); // Check, if username session is NOT set then this … | |
I am trying to access a web service on a server that requires windows authentification. These are the steps I'm trying to take. 1. Use script below to do window auth. [CODE] <cfscript> objNTAuth = createObject("java", "jrun.security.NTAuth"); objNTAuth.init("Name_of_Domain"); objNTAuth.authenticateUser("userid","password"); </cfscript> [/CODE] 2. Then invoke my call to the web service. … Web Development coldfusion microsoft | |
Hi I have a CF application that uses a form page to enter data into the input fields, then passes those fields as SESSION variables to the action page so that the use can view hwo the page is going to look. basically is an application to build new html … Web Development coldfusion session | |
Dear team, How to get the process id for the particular file in php? for example ============ To get the process id in linux we use ps -ef | grep "message.php" Thank you, With Regards, Prem Web Development php | |
So, I am looking into web creation and have started making a site just to see how the coding of websites work and how the files link to each other. So, what I am trying to do is when the page loads it prompts "What is your name?" with a … Web Development html-css javascript | |
Hi I have a code that should:- if the number entered more than 60 the following should be printed "Congrats!!!<p>" "Grade1" if the number entered between 60 and 40 the following should be printed "Grade2" else the script should print "fail" but the code print fail all times can someone … Web Development php | |
Hi guys, I'm still pretty new to javascripting so be gentle I hope you guys can help me out a little on this one. I'm creating a page where I load some of my contents through ajax calls. In the returning content I'm trying to access some jquery features (lightbox … Web Development javascript javascript-jquery | |
Hey guys!! been a while since I posted here, but thought I'd post this question here cause it is driving me insane!! Basically, if the condition returns true, then that part works. but if it's false, neither part works. If I put the content from the else after the <script> … Web Development html-css javascript | |
Hello i have a problem with protect from sql injection : the problem is: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in My Old Code (working): [CODE] <?php $currentid= $_GET['id']; $q="select * from tbl_car where id=$currentid"; $result= mysql_query($q); while ($row = mysql_fetch_assoc($result)) {} ?> [/CODE] my … ![]() | |
Working with javascript / jquery - Need to have a more precise regex for the following pattern: Should I have the ignore case included? If so where? X25b777s44K The regex I have: ^([A-Z]?)(\d{2})([a-z]?)(\d{3})([a-z]?)(\d{2})([A-Z]?)$ Thank you for your help. Web Development javascript javascript-jquery regex | |
I am very new to using script . i was hoping someone could help me . I want to write a client side web page that will start excel on client computer and upon a button click javascript will open the excel file from c drive and display output . … Web Development javascript vbscript | |
Hi, below codes give me underline of every link. How can i remove the underlines? <table align="center" width="27%" border=0 bordercolor="#FF0000" > <tr><td> <A HREF="#TaxFile">NY Multi Service -Taxfile, Accounting, Auditing,..</A></td> </tr> <tr><td> <A HREF="#VA">VA Multi Service -Taxfile, Accounting, Auditing,..</A></td> </tr> <tr><td> <A HREF="#Insurance">Insurance in USA</A></td> </tr> <tr><td> <A HREF="#TaxFile">NY Multi Service … Web Development php | |
HI there, I wonder if anybody can give me a hand with this. I am writing a script which will allow me to swap some images (using also jquery to give the fading effect) but things are not quite working the way they should. I am really new to javascript … Web Development html-css javascript javascript-jquery | |
Hi all, I am a PHP noob, so please bear with me if you find my posts here slightly on the moronic side... :) Anyway, I have a problem with the page quoted below. Dreamweaver says there's something wrong with line 188, but I just can't figure it out. Thanks … | |
I'm reading Headfirst PHP & MYSQL. I did what the book asked me to do, and this is the output in the browser: [CODE] Aliens Abducted Me - Report an Abduction '; echo 'You were abducted ' . $when_it_happened; echo ' and were gone for ' . $how_long . ' … | |
I have found some websites, they show the pictures like marquee, but not exaclty marquee. Not continuously moving from bottom to top. Instead, moving from bottom show one picture and then stop a few seconds and then moving again! What is that function and the code? Thanks! Web Development php | |
Hi I really like the drop down that I found on [url]http://www.scriptiny.com/2008/04/sli...dropdown-menu/[/url] I have 4 Menus and when I add this this flows over the logo. The size of each menu is in fact too big. When I tried to alter this the size of sub-menus stay the same and … Web Development html-amp html-css javascript | |
Ok, I have a variable ($incubation) set as 04:00:00. Then I have another variable ($starttime) set to the current time. Both are printing out fine. But I'm trying to get an $endtime from adding the incubation time to the start time. [CODE]$incubation = $row['incubation']; //IM GRABBING THIS TIME FROM THE … Web Development php ![]() | |
Dear Friendzz, Problem to getting dynamic values in Javascript.. Please Helpme [CODE]// Java Script <script language="javascript"> function toggle(int) { var ele = document.getElementById(int); if(ele.style.display == "block") { ele.style.display = "block"; } else { ele.style.display = "block"; text.innerHTML = "hide"; } } </script> // HTML <div class="reply"> <a id="{$msg['id']}" href="javascript:toggle(this);">Reply</a> </div>[/CODE] … Web Development javascript php | |
a strange thing happend, suddenly all the pages became "stretched" if before apage was like hello, user how are you? it's now like hello, user how are you? never happend to me before, any suggestions to solve it? Web Development asp.net | |
Hi! I'm getting these warnings: Warning: session_start() [function.session-start]: Node no longer exists in (file) on line 2 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at file:2) in file on line 2 Warning: Unknown: Node no longer exists in Unknown on line 0 I … | |
PHP and MySQL problems with ' and " have been discussed ad nausea on the web. I still don't get it. For example my db has an Author's name field with someone called O'Brien. If I create the DB with phpMyAdmin by reading in a CSV file, that field will … | |
Hi, I am trying to organize the way my episode titles output. At the moment it prints like this. (I want to be able to upload the newest episodes and also go back and upload the older shows but i want the newer shows to stay at the bottom in … | |
hi friends, This is Anand, am beginner to jsp, now am trying to connect jsp with mysql. Is this possible to code connection code separately and include each and every page. am trying the following code.I code these lines in separated.and I want to use it other pages.at the same … | |
Hi all, I am trying two days now to insert a cart link on my page. It is a e-shop bookstore. I save my books in a database : +-------------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------------+--------------+------+-----+---------+----------------+ | bookid | int(11) | NO … | |
Hello guys, So I wrote this code that fetch data from mysql table: [code]while($row = mysql_fetch_array($result)) { $src = ''; switch( $row['speed'] ) { case 'fast': $src = 'fast.png'; break; case 'slow': $src = 'slow.png'; break; default: $src = 'default.jpg';} } } echo "<tr>"; echo "<td><a href='http://" . $_SERVER['HTTP_HOST'] . … Web Development php | |
I've made a "more" button and whenever i click it, another upload input will be displayed. Problem is, once I add the <div>, then it stops working. Is there any way around this? [CODE] <html> <head> <script type="text/javascript"> var instance = 1; function newUpload() { instance++; var newInput = document.createElement("INPUT"); … Web Development html-css javascript | |
Hi I have a problem With the $_POST Here is the code i have i called this albums.php [CODE] <?php Echo" <table cellpadding='5' width='100%' border='1' bgcolor='white'> <tr> <td width='50%' align='left'> Usere Alben die schon bestehen. </td> <td align='right'> <form action='createalbum.php' method='POST'> <table> <tr> <td align='left'> <font face='arial' size='2'> Albumauswahlliste.</font> </td> … Web Development php | |
Hello Anyone can recommend me the best php IDEs available which also provide support for frameworks like zend or codeigniter? Web Development ide php php-codeigniter | |
hi all I am new to web services.I want to know how to extract the java file from the given WSDL in which i have https based URI. please suggest Web Development http-protocol java xml | |
Hey guys I am getting a random number using built in function in a given range of number, like between 300 to 10000. but i want to make sure random number should not be repeated, e.g. if rand() function has output 305 once, it should not come again, for this … Web Development php | |
Hi there, firstly I want to disable this part of an epic script. I dont want anything to happen onclick. [CODE]function checkOnClick(e,n){ window.open('http://www.camosreptiles.com.au/','_self'); return ;[/CODE] I tried making the bit at the end return false; but it had no effect. If I cannot do that, I need to fix a … Web Development javascript |
The End.