17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for AjithAnnadurai

Hi friends , How to post a picture with url link in the forums . please help me . if we click that picture means it will goes to my target url . how to create this link ? . pls help me

Web Development first-post javascript
Member Avatar for ratnamstone
0
87
Member Avatar for Dragonbaki

Hi guys.. Can anybody tell me about how to increment default session timeout(20 mins) in dot net..? It's urgent.. Hope anybody will help me.. Thanks in advance...

Web Development asp.net session
Member Avatar for Dragonbaki
-1
151
Member Avatar for phaedrusGhost

Hi All, If someone can help me with this I would be eternally grateful here. I have created a form on one page with php validation. Once cleared through the validation I have Sessioned the inputted data to catch them on the "insert data page" on the "insert data page" …

Web Development php sql
Member Avatar for karthik_ppts
0
167
Member Avatar for anand01

Hi all, am using eclipse IDE.I want to connect mysql database with jsp/servlet for that i want to add mysql j/ connector. I added properties -> Java build path-> Add External jar file but still it calls the exception Driver not found "com.mysql.jdbc.Driver". Am not filmier with Eclipse any one …

Web Development ide java-jsp mysql
Member Avatar for anand01
0
154
Member Avatar for saadi06

Hi, I am using [CODE]ereg [/CODE] for validations of field and I want to allow some fields that are optional but ereg does not allow me to validate space or empty field.My code for validation is [CODE]while(list($var,$val)=each($_POST)){ if(!ereg($var,$admin_data)){ if(ereg($reki[$var],$val)) {$class="good";}//this condition is checking the values of all the fields but …

Web Development php
Member Avatar for saadi06
0
107
Member Avatar for 7kemZmani

Hello, I'm using php code to retrieving an array from database and place the result into checkboxes but after the last checkbox input there is text input (hidden by default) and the last check box name is 'other'. I want to make the text in visible if 'other' is checked …

Web Development javascript php
Member Avatar for divyakrishnan
0
196
Member Avatar for urtrivedi

Dear friends I need free vertical tree menu as shown in the link (green one) [url]http://dhtml-menu.com/menu/dhtml-floating-menu-sample.html[/url] I have heard something related to FISH, fishmenu or starfish menu, I am not sure. I have seen some fish named menu, but now I am not able to find that link or forgot …

Web Development html-css javascript
Member Avatar for urtrivedi
0
160
Member Avatar for Danny159

Hey, I have the following script... [CODE]if(!opendir($image_dir)){ echo info_msg("Ooops... This Album contains no images"); }else{ /* step one: read directory, make array of files */ if ($handle = opendir($image_dir)) { while (false !== ($file = readdir($handle))) { if ($file != '.' && $file != '..' && preg_match("/t/",$file) && $file != …

Web Development php regex
Member Avatar for pritaeas
0
208
Member Avatar for canadaussie12

Hello, I am very new to PHP and hope that someone here might be able to help with a challenge I cannot solve (yet). I have created a simple hmtl form and corresponding php file which send some information to the designated email. However, I am not sure how to …

Web Development php
Member Avatar for canadaussie12
0
180
Member Avatar for Aardwolf

How would I do this in 1 line [code] $name = $firstName + " " + $lastName; //output: 0 [/code] the problem is what I think it is, is that its trying to add like mathematics. whilst I want the '+ " " +' to become a space in between …

Web Development mathematics php
Member Avatar for karthik_ppts
0
131
Member Avatar for f_atencia

I'm trying to get the properties for the following objects: 0: [object Object] 1: [object Object] 2: [object Object] 3: [object Object] This was generated by using the following code: [CODE] var s = ""; for (var property in this.oProducts.Product) { s = s + "\n "+property +": " + …

Web Development javascript
Member Avatar for Airshow
0
84
Member Avatar for klemme

I have this code, which creates the pages, taken from the DB: [CODE] function subject_navigation($connection){ $sqlCommand = "SELECT id, linknavn, pos FROM subjects ORDER BY pos ASC"; $query = mysqli_query($connection, $sqlCommand) or die (mysqli_error()); while ($row = mysqli_fetch_array($query)) { $sid = $row['id']; $linklabel = $row['linknavn']; echo '<li><a href="index.php?sid=' . $sid …

Web Development php
Member Avatar for klemme
0
103
Member Avatar for varoluscu_prens

Hi there; I've received a irritant problem in my php code. Here is "index.html": There are some javascript functions defined in the "head" tag. [CODE] <form autocomplete="off" action="result.php" method="post"> <p> <label>Name:</label> <input type="text" id="name" /> </p> <p> <label>Nachname: </label> <input type="text" id="surname" /> </p> <p> <label>Abteilung</label> <input type="text" id="department" /> …

Web Development first-post php
Member Avatar for varoluscu_prens
0
187
Member Avatar for barriegrant1

im trying to enable a button that is disabled within an itemTemplate, if theres a session then the button will be enabled. however i cannot access the button object in the code-behind file. HTML CODE ---------- [CODE] <div id="gal_wrap"> <asp:ListView ID="ListView1" runat="server" EnableModelValidation="false" OnPagePropertiesChanging="listItems_PagePropertiesChanging"> <LayoutTemplate> <asp:PlaceHolder ID="itemPlaceholder" runat="server" /> </LayoutTemplate> …

Web Development asp.net gui listview session
Member Avatar for barriegrant1
0
533
Member Avatar for atfOnly

Hello people :) i'm trying to insert query result into 2 dimensional array i have tried the following way.. [CODE] $query=mysql_query("..."); while($row=mysql_fetch_array($query)){ for($i=0;$i<=$index;$i++){ if(isset($myarray[$i]['array1'])|| isset($myarray[$i]['array2'])){ array_unshift($myarray[$i]['array1'],$row['study_period']); array_unshift($myarray[$i]['array2'],$row['test']); }//endif }//endfor }//endwhile [/CODE] But, it failed i also tried.. [CODE] $query=mysql_query("..."); while($row=mysql_fetch_array($query)){ $myarray=array( array("array1"=>$row['study_period'],"array2"=>$row['test']) ); }//endwhile [/CODE] it failed too since it …

Web Development php sql
Member Avatar for atfOnly
0
272
Member Avatar for amanu092

I am working in a joomla project.Suddenly i see a unwanted link as [url removed] is added to some text of some pages. i can not understand and cannot fix the problem. please help me removing the unwanted link.

Web Development php
Member Avatar for jsolutions
0
151
Member Avatar for RazorRamon

Hello all, I'm trying to build a forum site. The code below works fine but I dont know how to catch it from the address bar. I'm having trouble finding tutorials to help me with this. viewtopics.php [CODE] echo "<tr bgcolor='#6698FF' ><td><a href='viewcomments.php?id=".$rows['topic']."'> ".$rows['topic']."</a></td><td>".$rows['username']."</td><td>".$rows['timestamp']."</td></tr>"; [/CODE] Address Bar [CODE] http://localhost/testsite/viewcomments.php?id=Cowboys%20Dancehall [/CODE] …

Web Development mysql php sql
Member Avatar for RazorRamon
0
289
Member Avatar for haranaboy

[CODE]<html> <head> <script type="text/javascript"> function test (){ //refer tst to a new Objy object. var tst = new Objy(); alert(tst.display()); } function Objy(){ try{ this.prototype.display= function() { this.text="yoyo"; }; } catch (err){ alert (err); } } </script> </head> <body onload="Javascript: test()"> <div id="display" > </div> </body> </html>[/CODE] Hi, I'm basically …

Web Development javascript
Member Avatar for haranaboy
0
142
Member Avatar for Pro2000

Hello everybody. Do you know how to translate URLs in a text automatically?? I mean I want it just like the option below the page of creating a new thread in this website.. That option makes the written URLs in the thread appear as clickable links. Thanks in advance.

Web Development php
Member Avatar for diafol
0
65
Member Avatar for atfOnly

Hello all! :) Do you have any link on some complete reference on multidimensional array in php?? Please tell me.. thanks a lot.

Web Development php
Member Avatar for atfOnly
0
172
Member Avatar for whiteyoh

hi all, Im after a little help here. I have a md array stored as text in mysql. what i need to do is get it out (which ive done), then store it as a real array so i can loop through it to output as a csv file (which …

Web Development php
Member Avatar for whiteyoh
0
102
Member Avatar for Pro2000

Hello everybody. I've created a PHP page that adds a new record to a table. I want to know what's the ID of that created record in that table. For example: [CODE]mysql_query("insert into tableName(field_A,field_B) values('valueA','valueB')");[/CODE]

Web Development mysql php
Member Avatar for Pro2000
0
93
Member Avatar for knitex

I'm working on this project where they can search a list of names and they can put in a death year that automatically searches for + and - 5 years. [CODE] mysql_connect ("localhost", "root","root") or die (mysql_error()); mysql_select_db ("FHSNL"); $surname = $_POST['surname']; $given = $_POST['given']; $maiden = $_POST['maiden']; $deathbefore = …

Web Development php seo
Member Avatar for diafol
0
116
Member Avatar for ppetree

I'm trying to do a little pre-planning here... Let's say I have a user table that has 25 million users spread across all 50 states. Lets also say I have to send an EMERGENCY email to each of these 25 million users... (asteroid hitting planet type of emergency) What would …

Web Development php
Member Avatar for ppetree
0
122
Member Avatar for Behseini

Hi everyone, I am new at Jquery and JavaScript as well and I really appreciate if you can help me to figure it out how I can check a state of slideToggle()? for example, I am trying to modify the following code when a user click the Register then first …

Member Avatar for Behseini
0
151
Member Avatar for aru211285

Dear friends, I have created a html page with dynamic select boxes and included the below line in the form [COLOR="red"]<form action="sqlpage.php"target="_blank" method="post">[/COLOR]. The mentioned sqlpage.php contains some php code which connects to MySQL DB and search for queries and displays the results on a webpage. But when i run …

Web Development html-css php
Member Avatar for aru211285
0
154
Member Avatar for calebcook

Hi. I'm not sure if this is possible with PHP or not... I want to be able to have a user enter a phone number, and then the site will call the number with a message. For instance, it'll call them with their confirmation code. Is this possible? Thanks!

Web Development php smartphone
Member Avatar for chrishea
0
2K
Member Avatar for utthu

Is there a way avoid the appearance of notice msgs in PHP (in the executed page)? If yes, what's the method?

Web Development php
Member Avatar for almostbob
0
107
Member Avatar for public-image

Hi Guys! I was wondering if anyone could shed some light on this problem. I recently changed my login forms ugly default submit button to and image. The problem being that the image is submitting the form but I'm not getting the results I hoped for. It isn't logging me …

Web Development html-css php
Member Avatar for Zagga
0
185
Member Avatar for MARKAND911

Hello friends. I have a webpage (my.aspx). In that page i have some controls inside div tag and some controls outside div tag. Now i want the html source of those controls which are [B]inside[/B] div tag using JAVASCRIPT. How can i do this. I got the code with which …

Web Development asp.net html-css
Member Avatar for crishlay
0
144
Member Avatar for Ritesh_4

Hello Am trying to implement something similar to this page, [url]http://www.k-optisports.ch/fr/optic/team.html[/url], whereby hovering on an image changes it to display the user's details. anyone can pls help me with finding a tutorial or pre-built gallery using such type of effect?

Member Avatar for Ritesh_4
0
99
Member Avatar for anand01

hi all, I am quite new to J2EE . I want to connect mysql database which one will be best jsp or servlet.... the thing is we need to establish connection each time. Insted of that just one Java class will do that and the other classes call the method …

Web Development java-jsp
Member Avatar for anand01
0
129
Member Avatar for mgt

I'm trying to create a simple members only section. With the following code, I'm able to log in and get redirected to a page (that simply says: "hello") if the login is correct. If I then copy the URL from the page to which I was redirected, open up IE, …

Web Development html-css php session web-browser
Member Avatar for Stefano Mtangoo
0
563
Member Avatar for god_1896

hi all; can anyone tell me where can i find a good example for this; i have this whole code [CODE]<?php $name = $_POST['name']; $sender = $_POST['e_mail']; $phone = $_POST['phone']; $subject = $_POST['subject']; $message = $_POST['message']; $email = $_POST['email']; // Insert data into hotelinfo table $sql="INSERT INTO mailRecord(name, sender, phone, …

Web Development email javascript php
Member Avatar for instantcarma
0
2K
Member Avatar for yli

hi have the next code[CODE] <?php $search="ala salsa portocala nueve vacas"; $where="texto ala salsa nueve texto portocala verde nueve"; $search = explode(" ",$search); $old_kw = array($search['0'], $search['1'], $search['2'], $search['3']); $new_kw = array('<b>'.$search['0'].'</b>', '<b>'.$search['1'].'</b>', '<b>'.$search['2'].'</b>', '<b>'.$search['3'].'</b>'); $where = str_replace($old_kw, $new_kw, $where); echo $where; ?> [/CODE] because i just started to learn …

Web Development php
Member Avatar for diafol
0
131
Member Avatar for sheennave

Hi all , I have collected php shell scripts on various sites on web. However the only script which works is this : $ php helloWorld.php [CODE] <?php $var = "honey"; print "hello $var"; echo "world"; ?> [/CODE] Any other script which has different commands doesn't work on the system …

Web Development php
Member Avatar for sheennave
0
120
Member Avatar for bob on whidbey

Some simple php code; [code=php] $dir = '../images/'; $file = $_GET['name']; // Last, First M. "nickname" $f = $dir.$file; list($width, $height, $type, $attr) = getimagesize($f); echo $f."<br />"; echo "width ".$width."<br />"; echo "<img src='$f' $attr title='getimagesize example' />"; [/code] while the last echo line displays the image correctly (and …

Web Development file-system php
Member Avatar for diafol
0
3K
Member Avatar for sid78669

I am currently working on a site that requires periodic download of data from other sites. For this I have been trying to find some way to make the server automatically download the data every few hours. Any suggestions on how I might get started? Right now we have to …

Web Development php
Member Avatar for sid78669
0
164
Member Avatar for utthu

I am having a problem with the execution of this particular php page. I'm using a wamp 2 server on windows7. The output is always "Unable to Open Database", no matter what changes I make to the code. Please help! I am a newbie in php! The php code is …

Web Development open-source php
Member Avatar for utthu
0
155
Member Avatar for Netcode

Hello Everyone! Am working on a project and its ready for the production server. I used the windows login controls and ASPNET.mdf as the default database. I have moved the folder containing the project to the production server and deployed it on IIS but when a uer tries to access …

Web Development asp asp.net
Member Avatar for Netcode
-1
286
Member Avatar for Paradox 99

Hi all, My first time here. I'm quite the newbie when it comes to ASP after coding in VB6. Frankly I'm stumped by something I'm sure should have a simple solution. Here's a very basic snippet of what I'm trying to do, so the problem (and hopefully the solution) is …

Web Development asp.net gui
Member Avatar for Paradox 99
0
135
Member Avatar for dhruv_arora

I wrote this code in php, it's purposes is to update the user record in mySQL database. There's already a script view.php which displays all records in the database, in the view file there's a edit link which sends the user id information to edit.php via get method. on the …

Web Development mysql php
Member Avatar for dhruv_arora
0
444
Member Avatar for nsyncpilu

Hy , i`m new on the forum , so Hello to all , I want to make a "mini robot" that autocalls it self every night at 12 o`clock , and calls a php function that deletes some records form database on some criteria.My problem is not what the php …

Web Development javascript php
Member Avatar for nsyncpilu
0
109
Member Avatar for geekme

The following id my php code [CODE]<html> <head> Checking ! </head> <body> <?php $errors_array=array(); if(isset($_REQUEST["welcome_already_seen"])){ check_data(); if(count($error_array)!=0){ show_error(); show_welcum(); } else{ handle(); } } else { show_welcum(); } function show_welcum(){ echo "<form method='post'>"; echo "What's your ice cream flavour?"; echo "<br>"; echo "<input name='flavor' type='text'>"; echo "<br>"; echo "<input type='submit' …

Web Development php
Member Avatar for urtrivedi
0
172
Member Avatar for dwinn

I have created a program in ASP.Net and VB.Net that allows users to loging and download and upload files to and from an FTP site. I have so far got it to the point where the user can download files and when they go to the download page, a listbox …

Member Avatar for dwinn
0
160
Member Avatar for chaychie

Hi everyone, Im relatively new to PHP. Im required to create a database to store all the courses taken by a student and his/her grades. i have created the database and able to store and display all the data stored in the database. I have a problem here: Im required …

Web Development php
Member Avatar for chaychie
0
261
Member Avatar for Ritesh_4

Hi Am working on a web template similar to this one: [url]http://drupal.org/node/763096[/url] and would like to change the hover color for the menus (in blue with white text). What would be the best color to match if the menu background is left as it is when hovering on a menu …

Web Development javascript
Member Avatar for Ritesh_4
0
77
Member Avatar for Ritesh_4

Hello I've got some swf files linked to my website, and currently, when clicking on the link, it opens the content in a new window, however I want to make the file downloadable when the link is clicked, how to do this?

Web Development html-css javascript
Member Avatar for Ritesh_4
0
247
Member Avatar for Jhon E

Hello everyone i'm getting the following error message. [COLOR="Red"]Fatal error: Call to a member function prepare() on a non-object in C:\xampplite\htdocs\Prepared_Statements.php on line 20[/COLOR] My code so far [B]connection.php[/B] [CODE]$db_server = "localhost"; $db_user = "root"; $db_password = ""; $db = "test"; $connection = mysql_connect($db_server,$db_user,$db_password,$db); if(!$connection){ die("Database Connection Failed".mysql_error()); } $select_database …

Web Development php
Member Avatar for Stefano Mtangoo
0
145
Member Avatar for Espenij

Hello I get this message : Notice: Undefined index: id in *****7index.php on line 26 when we go from php4 to php5. My code on line 25-35 is : [code] <?php if($_GET["id"] == "web"){ echo "<link rel='stylesheet' href='css/style.css' media='screen'/>"; echo "<link rel='stylesheet' href='css/style.css' media='handheld, only screen and (max-device-width:480px)' />"; echo …

Web Development iphone php
Member Avatar for Espenij
0
8K

The End.