52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Indians

i have the db with serial no and reference no. serial no is auto_increment value. it is worked perfectly. but i want ref no column also as auto_increment value start with 0000001,0000002,0000003...., how to do that? i cannot able to add two auto_increment values in mysql.

Web Development mysql php
Member Avatar for paulkd
0
237
Member Avatar for yaragalla_mural

Hi in my javascript i need to increase an int value by one after every 5 seconds. How to do this? The script should keep increasing until the user moves away from the page.

Web Development javascript
Member Avatar for yaragalla_mural
0
144
Member Avatar for mandar2886

Hi I'm new to .NET technology and learning ASP.NET using C# database connectivity and I'm getting the error[B][COLOR="Green"](PLS HELP):[/COLOR][/B] [B][COLOR="Red"]Could not find installable ISAM.[/COLOR] [/B] in the following code: [B]using System.Data.OleDb; public System.Data.OleDb.OleDbConnection conn; public System.Data.OleDb.OleDbDataAdapter adapt; DataSet ds; ds=new DataSet(); conn=new OleDbConnection("Provider=MicroSoft.Jet.OLEDB.4.0;Datasource=C:\\Inetpub\\wwwroot\\pracs\\emp1.mdb"); conn.Open(); adapt=new OleDbDataAdapter("select * from emp",conn); adapt.Fill(ds,"emp"); …

Web Development asp asp.net c# dataset
Member Avatar for dilaram khan
0
244
Member Avatar for sruthisru

hey..am having a doubt that,while using ajax in a page ,am not accesing button value while submiting the details.it is automaticalyy goin to the ajax attached page itself..i need to update the value to the database. can anyone having the reply???

Web Development php
Member Avatar for sruthisru
0
168
Member Avatar for saravananosiz

Hi all i have a list of companies(5029) in stock market. i need to group this company in to sector and industries and also get the S&P 500 companies .where can i get it ?. is it yahoo provide this please help me to do this.

Web Development php
Member Avatar for saravananosiz
0
196
Member Avatar for gahhon

I was unable to go previous month and next month by clicking the next and previous. And i also unable to display another color when i selected a date. <asp:Calendar ID="cldDOB" runat="server" BackColor="#FFFFCC" BorderColor="#FFCC66" BorderWidth="1px" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#663399" Height="200px" ShowGridLines="True" Width="220px" NextPrevFormat="ShortMonth"> <DayHeaderStyle BackColor="#FFCC66" Font-Bold="True" Height="1px" /> <NextPrevStyle Font-Size="9pt" …

Web Development asp.net
Member Avatar for gahhon
0
388
Member Avatar for gahhon

![b3b9d6d242e982759c39df5fe055ad6a](/attachments/large/3/b3b9d6d242e982759c39df5fe055ad6a.jpg "b3b9d6d242e982759c39df5fe055ad6a") What i am doing wrong? Or there is some retriction? i success to read the whole page as my email content, but the images cannot being display as well as my css style cannot be read too.

Web Development asp.net email
Member Avatar for gahhon
0
133
Member Avatar for tibormarias

Evening Sirs, I would like to specialize my search script, by not only searching in one row, but in more. For example my mysql_query looks like this now: $query = "select * from table where street = '$trimmed'"; I would like to query it like this: $query = "select * …

Web Development php
Member Avatar for tibormarias
0
133
Member Avatar for ruhestorer

Hi, I have problems with getting data out of the **MS SQL Server 7.0** database in right encoding using **odbc** connection: $conn = odbc_connect("Driver={SQL Server};Server=$server;Database=$database; CharacterSet => UTF-8", $user, $password); I had the same problem when I used MS SQL Server 2005 and sqlsrv connection, but I found the solution. …

Web Development mssql php
Member Avatar for ruhestorer
0
12K
Member Avatar for grafic.web

Hi, i am new in asp.net and i found it quiet difficult... i was programming in classic asp and sql server, but asp.net looks quiet different, specially if i do program in C# .... Than i hase a couple of questions : 1) if i do a form with 2 …

Web Development asp.net session sql web-browser
Member Avatar for grafic.web
0
371
Member Avatar for Indians

i created main.php page. this page includes these following php codes, <?php $user = ""; $pass = ""; $db = ""; $connect = mysql_connect("", $user, $pass); if(!$connect) { die ("Could not connect to MySQL"); } mysql_select_db($db, $connect) or die ("Could not open $db: " .mysql_error()); $sql = mysql_query ( "SELECT …

Web Development mysql php
Member Avatar for Indians
0
280
Member Avatar for praba_web

i got following errors. my login is working fine at localhost. but it is not working on server. please help me. Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/rnzsnet/public_html/archler.com/demo1/admin/verify_admin.php:22) in /home/rnzsnet/public_html/archler.com/demo1/admin/verify_admin.php on line 38 Warning: session_start() [function.session-start]: Cannot send session cache limiter …

Web Development php session
Member Avatar for Bachu
0
155
Member Avatar for Kleon

did any body had this error before with xamp in php e Texti: hbinp0ØÿÿÿlfùAnti¸P3GlP3Si°£à¦èÿÿÿlf`<Clea LowMàÿÿÿvk€ AVLC.m3u8øÿÿÿ`pØÿÿÿvk € PUserFlagslnkøÿÿÿŒ ÿÿÿvkA€ C:\Users\Bardh\Downloads\Photoshop_Plugins_x64_8.54.0625.1800.exeTortoisàÿÿÿvk€€Heightàÿÿÿvk€SortPropÐÿÿÿvk€2application/x-mpegDiøÿÿÿ€àÿÿÿvk€è0 Widthd Cðÿÿÿen_GB ÿÿÿnk x[ù¹ÍH~ÿÿÿÿÿÿÿÿX{(œÿÿÿÿ RecognizersÿÿÿC:\Users\Bardh\AppData\Roaming\Unity\WebPlayerPrefs\1øÿÿÿp™àÿÿÿvk€izWrapnkràÿÿÿvkHø‚yurl38ðÿÿÿlfgDISPØÿÿÿvk€,ptUserMoviesLimitàÿÿÿ

Web Development php
Member Avatar for Kleon
0
135
Member Avatar for patk570

Hello, I am trying to update 3 tables that i have in my db. the second and third INSERT commands there is a specific field that needs to have the ID of the first table last row inserted. first table, admin: +--------------------+ |id username passcode| |1 admin test | +--------------------+ …

Web Development mysql perl php
Member Avatar for patk570
0
190
Member Avatar for Ann Krizette

please help why everytime when I run it it has this undefined error ( Notice: Undefined index: u_role in C:\xampp\htdocs\mysite\membership.php on line 136 /> Member Notice: Undefined index: u_role in C:\xampp\htdocs\mysite\membership.php on line 137 /> Administrator) <td>User Role:*</td> <td><input type="radio" name="u_role" value="Member" <?php if($_POST['u_role']=="Member"){echo"checked='checked'";}?> /> Member <input type="radio" name="u_role" value="Administrator" …

Web Development php
Member Avatar for Ann Krizette
0
521
Member Avatar for brandon66

Hello everyone i have two forms that are similiar the only difference is the rma number. One RMA number will get typed in by the user which will add it to the database and the second one, the user will select an rma number from the database(dropdown menu). What i …

Web Development html-css javascript php
Member Avatar for brandon66
0
246
Member Avatar for blueguy777

I've cust_name and install_no columns in table, each customer's name repeated 12 times as rows how to insert numbers 1 to 12 in install_no column for all rows. table sample: ----------------------------- cust_name | install_no ---------------------------- ROGER | 1 ---------------------------- ROGER | 2 ---------------------------- ROGER | 3 ---------------------------- ROGER | 4 …

Web Development php
Member Avatar for diafol
0
207
Member Avatar for JayGeePee

Alright I'll try to be as clear as possible. I'm currently doing tutorials online because I'm learning php. I'm stuck on an issue I'm not really sure of. I'm currently coding on my local machine and think it may have something to do with that, but I'm not sure. Here …

Member Avatar for paulkd
0
202
Member Avatar for vikasgiri

<script type="text/javascript"> (function($){ $(function(){ $("#frmmsg").submit(function(e){ e.preventDefault(); $.post( 'templatemsg.php', $("#frmmsg").serialize(), function(){ document.location.reload(); }); }); }); })(jQuery); </script>

Web Development javascript javascript-jquery
Member Avatar for JorgeM
0
100
Member Avatar for Shantanu88d

Hi all, I am beginner in javascript. I am attempting to change border color and style of a asp.net text box using javascript. The function is inside a .js file. It is as follows. [CODE]function checkMoney(controlID) { var control = document.getElementById(controlID); var text = control.value; var letter; if (text == …

Web Development javascript
Member Avatar for designershiv
0
5K
Member Avatar for Affable zaki

i have page in classic asp which shows records from database. i have checkboxes in front of each row. i want to delete all records that are checked.

Web Development javascript
Member Avatar for designershiv
0
116
Member Avatar for MWEB

Hello everyone !! I need some help with jquery toggle :D . So , I have 2 left bars (one for login , one for register ) but they can be toggled on simultaneos and that is not good ( 1- don't make sense 2- don't look good ) . …

Web Development javascript
Member Avatar for designershiv
0
178
Member Avatar for designershiv

Hi, Please look at this code <div class="box"> <a href="http:www.google.com" target="_blank">click</a> </div> //css .box { width:250px; height:250px; border:1px solid red; } //script $('.box').click(function(){ $(this).find('a').trigger('click'); }); How to set target _blank when clicking the div.box. click is working fine but it opens the page in same window. Can you anyone have …

Web Development javascript javascript-jquery
Member Avatar for paulkd
0
319
Member Avatar for Christine121

**Can anybody help me??? I'm newbie in php, I'm trying to make this code as one below.But it always gives me an error. Any help would greatly appreciated ** my table name is trans ![Fields[1] * *$id = $_POST['id']; if(isset($_REQUEST['command']) && $_REQUEST['command'] == 'update'){ $name = $_POST['name']; $email = $_POST['email']; …

Web Development mysql php
Member Avatar for Christine121
0
201
Member Avatar for pars99

How can I get the value of an input field in Javascript? For example, someone types somehing into an input field and I want them to press a button to in turn, store the data in a JS variable. I believe there is such a thing as .value, but it …

Web Development html-css javascript
Member Avatar for Bachu
0
228
Member Avatar for GeekPlease

Good day folks, I have here a code that will animate 2 divs. But, when I hover over a div multiple times, the animation fires several times. Can someone shed some light on this one? Thanks~! <!DOCTYPE html> <html> <head> <!-- This is where jScript/jQuery starts --> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"> </script> …

Member Avatar for GeekPlease
0
302
Member Avatar for praba_web

Hi **I have doing the project for my purpose. it is working properly on localhost engine. after i have uploaded to server(cpanel) it is not working. i have posted my code here for reference: Please help me anyone!!!** ** Login.php** `Inline Code Example Here` <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 …

Web Development cms cpanel html-css mysql php
Member Avatar for pritaeas
0
221
Member Avatar for lloydsbackyard
Member Avatar for lloydsbackyard
0
118
Member Avatar for rithish

is form validation impossible using jsp???because i surfed google all are using servlet or javascript none of them is using jsp??? whats the reason???

Web Development java-jsp
Member Avatar for stultuske
0
125
Member Avatar for patk570

I created a change password script and it seems to not want to work. when I put in the wrong password it doesnt error out and say Old Password doesn't match exisiting. when I put in 2 passwords that dont match it doesnt error out... if(isset($_POST['changepass'])){ //Getting Variables $oldpass = …

Web Development php
Member Avatar for patk570
0
211
Member Avatar for kevinpatel

Why should we change the Security Salt value in CakePHP? and What if we don't change the value?

Web Development php
Member Avatar for broj1
0
101
Member Avatar for wallet123

Hello guys!. I posted a question similar to this, but then i was able to solve that problem so, this new thing arise. I want to practice PHP. I need to learn it becauseill be doing a project using it, im a noob. Means, i know nothing about it so …

Web Development php
Member Avatar for Squidge
0
278
Member Avatar for PixelatedKarma

G'day, As many of you viewing this may know there is always a right way to do something and a wrong way to do something. So I've come here to see if I could maybe seek some guidance. What I have done is create a dynamic set of form fields …

Web Development php
Member Avatar for PixelatedKarma
0
292
Member Avatar for fheppell

I have an array coming from a mysql statement. It is being convered into an array using mysql_fetch_array. This is then fed into a while loop. I want the array to be reversed. Currently it is printing the results as Bob, 23 Steve, 26 However I want it to echo …

Web Development php
Member Avatar for pritaeas
0
127
Member Avatar for facarroll

I can read the session.save_path from the remote server at php_info.php. It is set to "no value". I assume that this defaults to /tmp. I understand that in the absence of some other command, this means that session variable files will be saved here. The error message is Warning: session_start() …

Web Development php session web-server
Member Avatar for facarroll
0
201
Member Avatar for MWEB

Hello , so i get an error with ajax when i move the site i scripted to my server ( so on my localhost it works ) . The error is something like origin not allowed by access control allow origin var trimitere = $.ajax({ url: "underpublic/searchforprice.php", type: "get", crossDomain: …

Web Development javascript
Member Avatar for MWEB
0
169
Member Avatar for facarroll

My web host recently migrated to a new server and in the process upgraded to PHP5.4 I have a snippet that was doing timezone conversion, but since the upgrade the script stops dead on a certain line in the snippet, and though a web page is displayed, none of the …

Web Development php
Member Avatar for facarroll
0
499
Member Avatar for Benjamin_5

Which is the latest version of HTML, with the most support for new browser?

Web Development html-css javascript
Member Avatar for NardCake
0
126
Member Avatar for lewashby

In the following program can someone please tell me why my script is skipping the first else clause and never printing "You have already changed your password"? Everything else is working fine but when I enter in a username and password that have already been entered into the system it …

Web Development php
Member Avatar for lewashby
0
214
Member Avatar for logicslab

Dear pals, I am using Wordpress 3.6 for my activity logging purpose . I need to authenticate user from REST , using their username/password . But Wordpress use a framework named "phpass" . I cannot identify how to compare my given password with database table password . Please advise a …

Web Development wordpress
Member Avatar for logicslab
0
138
Member Avatar for Rasool Ahmed

Hi guys, I had developed a server control which acts as a container (user can add any control inside the server control). [DefaultProperty("Text")] [Designer(typeof(ContainerControlDesigner))] [ParseChildren(false)] [ControlBuilderAttribute(typeof(SampleControlBuilder))] [ToolboxData("<{0}:Sample runat="server"></{0}:Sample>")] public class Sample: WebControl, INamingContainer { protected override void CreateChildControls() { System.Collections.IEnumerator myEnumerator = items.GetEnumerator(); while (myEnumerator.MoveNext()) this.Controls.Add((TextBox)myEnumerator.Current); } protected override void …

Web Development asp.net
Member Avatar for LastMitch
0
278
Member Avatar for Priti_P

Hello, I have below code for my calender invitation. <?php $message=" BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20130901T121000Z DTEND:20130901T131000Z DTSTAMP:20110525T075116Z ORGANIZER;CN=From Name:mailto:from email id UID:12345678 ATTENDEE;PARTSTAT=NEEDS-ACTION;RSVP= TRUE;CN=Sample:emailaddress@testemail.com DESCRIPTION:Test the first invite LOCATION: Test Location SEQUENCE:0 STATUS:CONFIRMED SUMMARY:Test the first icalendar invitation TRANSP:OPAQUE END:VEVENT END:VCALENDAR"; /*headers*/ $headers = "From: From Name <From …

Web Development php
Member Avatar for LastMitch
0
297
Member Avatar for logicslab

Dear pals, I am newbie in RESTful services . I need to call a GET Verb in Server . I know 2 methods 1. Ajax Call we can write it as $.ajax({ url: url, dataType: "html", type: 'GET', data: "id="+id+"&type="+type, success: function(data){ //$("#content").html(data); alert(data); $('table #sample-boxed-2-pagination th a').each(function(){ //this.href = …

Web Development api php
Member Avatar for diafol
0
295
Member Avatar for shhh

hello i just want to ask if how to echo value/details using this API link that have given - http://themesnmotifs.com/api/wp/f6f60a0e7091a627641f01b9d1dd7536ea4b8496/list_wp - for example i want to echo all the companyand wp_cellphone -- . thank you

Web Development api mysql php
Member Avatar for logicslab
0
272
Member Avatar for seotech012

Hey Guys I m trying to open a php page (that retrieve data from database according to the form fields) on button click in a modern type popup window like fancybox, lightbox iframes etc...you can check the link (www.goodmoves.in/)..currently it is opening a normal old fashion popup window. . . …

Web Development php
Member Avatar for diafol
0
930
Member Avatar for ahmadweb

Could any one plz tell me what's wrong with my code My sql select while loop is not checking date range that's been inserted into the form. <?php if(isset($_POST['start'])&& ($_POST['end'])){ $user_id = $_SESSION['user_id']; $leave_type= $_POST['leave_type']; $comments= $_POST['comments']; $start=date('Y-m-d',strtotime($_POST['start'])); $end=date('Y-m-d',strtotime($_POST['end'])); echo $start,'',$end; **$checkdate = "SELECT * FROM emp_status WHERE user_id='$_SESSION[user_id]' AND …

Web Development php sql
Member Avatar for ahmadweb
0
366
Member Avatar for cussel

hy all, how to get previous value and check different between recently value and previous values in loop < 0.5? if different value < 0.5 get it's array please help me define('DIV', 0.5); function iteration($data, $data2) { $m1=$m2=$data; $m3=multiply($m1,$m2); echo "iteration 1:\n"; print_r($m3); $temp_m3 = $m3; for ($i=0;$i<count($temp_m3);$i++) { for …

Web Development php
Member Avatar for cussel
0
909
Member Avatar for ncis_sg1

I need help with an assignment. I have been working of this the better part of a week and still do not really understand what I am meant to do. This is my first week using PHP and I am really confused. Here are the instructions: Write a PHP script …

Web Development php
Member Avatar for ncis_sg1
0
1K
Member Avatar for sabarinadh.ch

Here i am uploading data through a form which contains some input fields and one image. But i want to upload multiple images here instead of one image. I am attaching my php code here to upload the data and single image. Can anyone edit this code to add mutliple …

Web Development file-system image mysql php
Member Avatar for diafol
0
794
Member Avatar for dannybarh

Hi, i have successfully stored a link to docx and pdf files into mysql db. I'm trying to retrieve it from db and display it similar to pictures. Now when the user click on it, it should open the file and display it. If any one have a code sinppet …

Web Development mysql pdf php
Member Avatar for diafol
0
192

The End.