52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for LONGWAY

Hi, I need to write a php code that search from multiple tables and here is the problem: $query = "SELECT * FROM table1, table2, table3, table4 WHERE $kategorija LIKE '%".$kriterium."%'"; The results that were given were multiplicated (hundreds copies of the same data). I am new and can somebody …

Web Development php
Member Avatar for rpk2006
0
144
Member Avatar for benjaminFowl87

Could any wiz at regular expression write an expression that will check whether a string matches this format number=string must have the =sign included, the number can be anything up 3 numbers and the string can contain any characters this would very much apreciated i've been tryin this d*3/=/{aA-zZ}$/ thanks

Web Development php
Member Avatar for pritaeas
0
113
Member Avatar for ankit.pandey3

[CODE]<?php if(isset($_COOKIE['LoginIdCookie'])) { require_once('database.php'); $result=mysqli_query($dbc,"select *from events") or die('Not Connected'); echo "<html> <body>"; echo "<form method='post' action='Participationhappen.php'>"; echo "<table cellspacing='0' cellpadding='15'> <th><b>Event Title:</b></th> <th ><b>Event City:</b></th> <th><b>Content:</b></th> <th><b>Images:</b></th> <th><b>Event Date:</b></th>"; while($row=mysqli_fetch_array($result)){ $Title=$row['Title']; $City=$row['City']; $Content=$row['Content']; //$Photo=$row['Photo']; $Date=$row['Date']; $EventId=$row['EventId']; [B]$Photo=$row['Photo']; echo $Photo;[/B] echo "<tr><td>$Title</td><td>$City</td><td>$Content</td><td>[B][COLOR="Red"]<img src='<?php echo $Photo; ?>'/>[/COLOR][/B]</td><td>$Date</td> <td><input type='checkbox' name='event[]' value=$EventId …

Web Development php
Member Avatar for pritaeas
0
289
Member Avatar for aksahoo17

hello everyone , Can anybody help, as i m a beginner in PHP, i try to just check user is valid or not ... I hav 2 fields...Username and Password..as user enter username and password, click on submit button then in the same page the query execute and user is …

Web Development html-css php
Member Avatar for pritaeas
0
101
Member Avatar for girishankar

hi, I've jus started my career in dot net. Can anyone help me how to design a video window in which other video should be rolling below. Similar to rolling images in jquery...

Web Development asp.net career video
Member Avatar for AndreRet
0
72
Member Avatar for vij123

i am work on an app where combo box is define in each row of table in a jsp. when i select the specfic color from combo box it is doing the same color on whole row. now i want, when i set the color of each row and submit …

Web Development java-jsp javascript
Member Avatar for javaAddict
0
305
Member Avatar for snehalj

[CODE]year = GridView1.Rows[i].Cells[5].Text; [/CODE] i have written above code for getting value of particular cell from gridview. but now i want to store variable value in particular cell of gridview.

Web Development asp.net c#
Member Avatar for pharindra
0
96
Member Avatar for sureshksk

Hi all, I am using quartz scheduler in my web application for scheduling some data base tasks based on time.But after scheduling I am unable to connect to my application. I am using NetBeans.It is showing exception like this. com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure Last packet sent to the server was …

Web Development apache java-jsp java-netbeans
Member Avatar for levine
0
321
Member Avatar for zeeshan_kust

hay gays i want to retrieve xml data from three table stored in mysql. i used the below code it works fine but first it retrieve one record from first table than iterate to second table and print the whole table and then iterate to third table and print the …

Web Development mysql php xml
Member Avatar for vibhaJ
0
148
Member Avatar for Layerphp

Hi i'm new to php and i'm developing one admin tool which involves a form. The form involves more database interaction. My main interest with this form is to upload images to database with file system which i'm able to do. My form consists of fields like..... "Photo Taken by","Number …

Web Development mysql php
Member Avatar for Layerphp
0
116
Member Avatar for Dhruv Shah

I am developing a web site based on Job Application. Now when i run this site at my client's computer the pages are look much wider. I have 17 inch Monitor and my client has 15 inch monitor. So how could i slove this problem regarding the screen resolution. Please …

Web Development asp asp.net
Member Avatar for sivabalakiran
0
454
Member Avatar for Setvir

Anyone have an idea what the regex would be for preg_split to split a string at a semicolon ([icode];[/icode]), but ignore any quoted (single or double) parts as well as ignore escaped ([icode]\;[/icode]) semicolons? I have tried to decipher this one and could not (regex not my strongpoint - YET) …

Web Development php regex
Member Avatar for Setvir
0
163
Member Avatar for kesh1000

hi guys. im using this script to convert information to its md5 equivalent. smhow im not able to make it work.plz help as towhy its not workin. here my code to test the function. [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> …

Member Avatar for Graphix
0
212
Member Avatar for omaiaa0p

Hello All, I am a beginner to javascript and would like to learn how to call a function which I implemented, called random, two times, with two seperate div buttons. I have tried several times to de-bug the code, somehow it still does not work. My question : Does it …

Member Avatar for Graphix
0
4K
Member Avatar for feoperro

Hi, I'm new to php, and I would just like to know if PHP has a client side and a server side similar to jsp? Reason being - I have completed the front end of a website and I want to add all the functionality now so I'm wondering if …

Web Development client-server java-jsp php
Member Avatar for feoperro
0
219
Member Avatar for dottomm

Hello everybody and thanks in advance for any help you can provide. I am currently working on transitioning a mysql project to mssql and php v 5.3.3 I am having trouble with [code] <form action="{$_SERVER['PHP_SELF']}" method="post"> [/code] when I look at the source code of a working page... Say login.php …

Web Development mssql php
Member Avatar for dottomm
0
127
Member Avatar for Brianbc

I am loading a page to change passwords within an iframe. Outside the iframe it does work well, but when I change the password from within the iframe it returns a blank page. How can I rectify the problem? [CODE]//iframe <div class="tabber"> <div class="tabbertab"> <h2>Eguard</h2> <iframe src="eguard.php" width="100%" height="400"> </iframe>[/CODE]

Web Development html-css php
Member Avatar for diafol
0
112
Member Avatar for mrickert

I'm reading in a file's contents as a string. From this string, I want to get a substring. All I know is the text that is beginning of the substring and the end ot the substring, I do not know what is contained in the string between the beginning and …

Web Development php
Member Avatar for quasipickle
0
82
Member Avatar for pirula

I want to create a custom search engine(SE) friendly 404 page to handle 404 (Not found) and 404-like content. In theory everything should be done in application.cfc page with a few lines of code. Here is what I have in mind. CF code needs to recognize the 404s, redirect to …

Web Development coldfusion
Member Avatar for Spiderant
0
156
Member Avatar for Puster

Hello! I've made a site called 'About us' on norwegian it means 'omoss' in my code;) But when i am displaying my code the hole page is white! I can't find the error. Can someone pleas help me? [CODE]<?php include('connect.php'); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> …

Web Development mysql php
Member Avatar for ko ko
0
129
Member Avatar for ckkiran

Hi Can anyone help me how to point two cold fusion application to the same datasource. Is it possible to have two differnet applications pointing to the same database? If so how to distinguish them? Also if a same user access both the applications there should not be any conflicts. …

Web Development coldfusion
Member Avatar for Spiderant
0
104
Member Avatar for onlymani
Member Avatar for benhowdle89
0
88
Member Avatar for gameon

can anyone tell me how can i implement login feature like daniweb. i am using asp.net with c#.

Web Development asp.net
Member Avatar for asad_dani
0
81
Member Avatar for feodal

Hey, I have a scrapper that was written in php that gathers info from a website and outputs it in csv format. The problem that I have encountered is that there are short connection breaks which are enough for my script to stop executing and I am not sure whether …

Web Development php
Member Avatar for feodal
0
84
Member Avatar for Mark709

Users click to open NEW Internet Explorer program page but they only get top half of page (ie minimized style) and need to click on icon at top right hand side - to get full screen (complete with tool bars etc). Question What code can be used to ensure window …

Web Development php
Member Avatar for Mark709
0
75
Member Avatar for veledrom

Hi, When I send bulk emailsto many people I want to get reports like "how many delivered, how many failed, who opened, who didn't open etc.". Is this possible with PHP, if so which PHP mail package would be the best. Thanks in advance

Web Development php
Member Avatar for mschroeder
0
92
Member Avatar for joshisumitnet

Dear Friends, I am using FCKEditor in my website. It's working all over in website fine. But there is one page in which it does not showing properly. I tried all things but in that page is does not showing properly. I have one hidden div tag. When user clicks …

Web Development html-css php
Member Avatar for joshisumitnet
0
188
Member Avatar for andydeans

hi, never done this before and wondered if anyone could point me to a fairly simple step by step guide on how to add an rss feed from a site into our own web site? many thanks

Web Development xml
Member Avatar for RoseMary3
0
139
Member Avatar for jakizak

PHPMYSQL - How do you perform a double SELECT query or check against multiple fields? Does anyone know how this can be achieved? What i want is from a search page that has multiple search areas such as name / description / functions and be able to type multiple search …

Web Development mysql php sql
Member Avatar for raju_boini525
0
682
Member Avatar for khushhappy

I am displaying a value in directory.php page and then i want to display the result when clicked on the detail hyperlink , specific record to be shown in the directorydetail.php , but it is not showing. :( i am submitting the code in chunks, <td width="90"><?php echo $row_Directory['Off_tel']; ?></td> …

Web Development php
Member Avatar for khushhappy
0
283
Member Avatar for SunnySideUp

Hi, I am trying to get a live search facility working but my code is not working, I was wondering if someone could help me out and see if there are any mistakes or things I can change: Index.php [CODE] <form id="jobSearch" method="get" action=""> <input type="text" id="searchJobs" class="JobSearchBox" name="z" onkeyup="showResult(this.value)" …

Web Development javascript mysql php
Member Avatar for SunnySideUp
0
220
Member Avatar for leemyers

Hi i have this form below and i cannot get it to display as a .cfm file within I.E. and i also get this error The value of the FROM attribute is invalid. The length of the string, 0 character(s), must be greater than or equal to 1 character(s). I …

Web Development coldfusion operating-system
Member Avatar for leemyers
0
145
Member Avatar for westernbees

Hey guys.... please help me out on sorting this php issue... i have made a form to upload images to folder and its details to database but not able to code a form to retrive image from folder and its details from database. HTML form - [CODE]<form method="post" action="addMember.php" enctype="multipart/form-data"> …

Web Development image php
Member Avatar for westernbees
0
111
Member Avatar for nettee

I am very new to js, getting very confused. I need three button's on the bottom using onclick.First button - change color scheme, second button - different color scheme and the third button - needs to return back to the original color scheme. thank you inadvanced [CODE]<html> <head> <title>My Table …

Web Development javascript
Member Avatar for nettee
0
86
Member Avatar for mark2326l

This works in every browser I've tested except IE My .js [CODE]document.getElementById("location").innerHTML = object.city;[/CODE] My html [CODE]<div id="location" class='text1' ></div>[/CODE] I've spent hours searching the web, but have found no solution. Any advise? Thanks

Web Development javascript web-browser
Member Avatar for samaru
0
109
Member Avatar for Aventurine

Hi there, would someone help me with this please? I accomplished this in the past and now cannot remember how I did it or find it on the web. Using a standard while loop I want to define a string prior and then add to it each time around I …

Web Development php
Member Avatar for Aventurine
0
9K
Member Avatar for Xtremefaith

So let me start by saying I am new to PHP so any extra advice is helpful, working on a large scale personal project hoping to get better with PHP because of it. Now I have a script that displays my database just as I like, and next to each …

Web Development mysql php
Member Avatar for hielo
0
4K
Member Avatar for novedturn

I am trying to pull data from a table to fill a drop down list. Now, i got the fill part working, but am having an issue passing a variable value to my form post action. Code: $query ="SELECT UniqueIdentifier, LastName, FirstName FROM BrokerMain ORDER BY LastName"; $result = @mssql_query($query); …

Web Development mssql php sql
Member Avatar for novedturn
0
418
Member Avatar for woofy613

I am getting the following error: Parse error: syntax error, unexpected T_STRING The code snippet: [CODE]$db = "hospital"; $cxn = mysqli_connect($host,$user,$password,$db); $sql1 = INSERT INTO intake2(site, Record, BMI, Weight) VALUES($_POST[\"site\"], $_POST[\"Record\"], $_POST[\"BMI\"], $_POST[\"Weight\"]); [TEX]// this is the line that generates the error[/TEX] $qyr = mysqli_query($cxn,$sql1);[/CODE] I realize that the error …

Web Development php
Member Avatar for woofy613
0
3K
Member Avatar for nikita.chandra

hi! in my project textboxes and radiobuttons are generating at runtime. And my problem is that i want only that textbox to be enabled if radiobutton in front of that text box is selected. name of each element is generating at runtime as number of textboxes is not fixed. please …

Web Development javascript
Member Avatar for steelshark
0
77
Member Avatar for Tenaciousmug

I am having huge trouble with this Mysql_real_escape_string to prevent SQL Injection. I have tried everywhere possible to input it in my code. My code looks a lot different than most peoples. I mean my login/registration system works PERFECT.. besides that it's not protected from SQL Injection yet which is …

Web Development mysql php
Member Avatar for Mogradjinn
0
3K
Member Avatar for djcrab

Having trouble with this assignment. Can someone help me out with this? I don't get it! For my assignment it wants me to create a constructor function name automobile w/ 5 properties. Assign the values of my car to each automobile property. Print to the screen. This 1st one is …

Web Development javascript
Member Avatar for hielo
0
109
Member Avatar for feoperro

Hi, How do you text-wrap something like this: [CODE] <table width="10%"> <tr> <td>IWANTTHISLINETOBEBROKENWHENITREACHESTHEENDOFTHECOLUMN</td> </tr> </table> [/CODE] Thanks, Ashton.

Web Development html-css javascript
Member Avatar for feoperro
0
131
Member Avatar for reshmajohney

hi can any one please help me how to retieve dynamically loaded data in a html radio button in to jsp page.. actually i tried to load user account no from database in to radio buttonin html..this worked perfect .. but upon clicking the submit button i want to get …

Web Development html-css java-jsp
Member Avatar for reshmajohney
0
216
Member Avatar for dennishall

Hi: I have created a simple contact form (see Form below), and a send_mail.php (see Send below) processor that verifies (not validates) the user has entered info all fields. Send then provides the user information and redirects them back to the contactus page. The problem I have is with the …

Web Development html-css php
Member Avatar for stokes1900
0
192
Member Avatar for iammirko

Hi, I recently bought a domain. As usual, the domain provider has given email accounts facility. The problem is that, I can access the email accounts only through the webmail address provided by the domain registrar (which has a pathetic interface) or through POP based email clients like outlook. Is …

Web Development email php
Member Avatar for iammirko
0
192
Member Avatar for kram54

i dont find to my error plese help me this code i using to loading to php array [CODE] while($newarray = mysql_fetch_array($query)) { $latt[$count] = $newarray['lat']; $lonn[$count] = $newarray['lon']; $userr[$count] = $newarray['user']; $count++; } [/CODE] this part my javascript code [CODE] var cout= <?php echo $count ?>; var lat = …

Web Development javascript
Member Avatar for pritaeas
0
273
Member Avatar for Dante2

Ok, here we go again. I am trying to use sessions to keep track of how many times a user guesses at a number. All of the code works fine [I]except[/I] for the counter at the top. I am not aware of how to start a counting session and get …

Web Development php session xml
Member Avatar for cwarn23
0
126
Member Avatar for cwkeng09

hey guy, i was fail to update the title and content using php code below, can anyone help me check what is the problem. Thanks. [CODE]<?php if ( !defined( "ROOT_PATH" ) ) { exit( "Forbidden" ); } if ( "0" < $userdb['sellerid'] && !$_S['ifsell'] ) { message( "group_ifsell" ); } …

Web Development php
Member Avatar for Caeon
0
112
Member Avatar for canterorist

hi! in php i use md5 function to encrypt a password. how about in asp.net is their a built in function? please help me. i'm new in asp.

Web Development asp.net
Member Avatar for canterorist
0
71

The End.