52,566 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
[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 | |
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 … | |
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... | |
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 | |
[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. | |
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 | |
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 … | |
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 … | |
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 … | |
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) … | |
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" /> … Web Development algorithm javascript javascript-jquery | |
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 … Web Development html-css java-jsp javascript javascript-jquery | |
![]() | 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 ![]() |
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 … | |
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] ![]() | |
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 | |
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 | |
![]() | 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"> … |
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 | |
can anyone tell me how can i implement login feature like daniweb. i am using asp.net with c#. Web Development asp.net | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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"> … | |
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 | |
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 | |
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 | |
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 … | |
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); … | |
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 | |
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 | |
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 … | |
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 | |
![]() | 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 ![]() |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 | |
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 |
The End.