17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for love_dude1984

hello frndz.. i really need some urgent help on a simple problem. im storing a string in a database, say its "1 2 3",these are actually the id's of something. in order to get the name from the ID, i need to seperate the id's from the string, that is …

Web Development asp.net
Member Avatar for carobee
0
168
Member Avatar for ryy705

Hello, With PHP I've saved all my website settings in one file e.g [code] 'baseUrl' => 'http://localhost/thisSite', 'resources' => '../Resources/', 'templates' => '../Resources/TPL/', [/code] This makes the site very portable. I simply make changes to this one file and I can move the site to any server. But I how …

Web Development javascript
Member Avatar for ryy705
0
228
Member Avatar for belper

Hello, I am developing a site with Dreamweaver CS3 and have a little knowledge of HTML. I need a solution for the following: Visitors can come to my site through a referrer for ex: [url]www.domain.com/?ref=cesar017[/url] The referrer’s information (cesar017) should be prefilled automatically in a form field on another page …

Web Development javascript
Member Avatar for belper
0
187
Member Avatar for belper

Hello, I am developing a site with Dreamweaver CS3 and have a little knowledge of HTML. I need a solution for the following: Visitors can come to my site through a referrer for ex: [url]www.domain.com/?ref=cesar017[/url] The referrer’s information (cesar017) should be prefilled automatically in a form field on another page …

Web Development php
Member Avatar for belper
0
576
Member Avatar for dangari

I have already implemented AJAX (DWR) in a web application.My concern is that I don't want the users to lose the efficiency of AJAX simply because browser settings have disabled javascript.Already I have seen someone who has hinted on using degradable AJAX to implement AJAX regardless of whether javascript is …

Web Development javascript web-browser
Member Avatar for Airshow
0
183
Member Avatar for sumit007

Hi I m making web page and for that i am using mysql and php. In tha i enter data and that is to be stored in mysql database. I m having a problem in that. I want add, delete, previous, next, cancel and update button in that. But can't …

Web Development mysql php
Member Avatar for sumit007
0
1K
Member Avatar for ricksvoid

Ive successfully managed to bind my DropDownList control to the membership.getAllUsers class. The problem is, no matter who i select from the list, it always returns the same value which is the first selection. Is this some kind of postback issue? Yikes! [CODE] Protected Sub fillDropList(ByVal sender As Object, ByVal …

Web Development asp.net
Member Avatar for ricksvoid
0
838
Member Avatar for dandixon

Can anyone recommend a course for a php beginner, ive been doing alot in html and a few bits of search and forms stuff in php which has all been self taught but i want to go on a course to confirm really that im doing stuff right can anyone …

Web Development php
Member Avatar for dandixon
0
85
Member Avatar for culebrin

Hi, I'm developing an AJAX website, and I want to make it compatible with most browsers and its many versions in the market. I've been using IE, FF and Chrome, for many years, and I know his popular versions (not everyone updates, you know), but I never used Opera, and …

Web Development asp.net javascript web-browser
Member Avatar for culebrin
0
173
Member Avatar for Facte

Hi there everyone. I have a problem with some PHP. I have to make a xml feed that works in IE in UTF-8 format and I'm having major problems with £ signs and '. the poud signs are in the mySQL database in their £ format and cannot be changed. …

Web Development php xml
Member Avatar for joles
0
179
Member Avatar for rouse

I am cycling through a return set and trying to capture the result in a concatenated string. I have verified that I get a valid return value and also verified the quantity in the return value. This works [code] while ( $i < $num) { $bone .= "<item> <record_num>" . …

Web Development mysql php
Member Avatar for rouse
0
62
Member Avatar for rouse

I found the following code in a tutorial on building a RSS feed. I can’t find a reference to the “<<<” on the PHP manual web site. Would someone point me to the documentation on this symbol. [code] <? $content = <<<CONTENT <?xml version="1.0" encoding="UTF-8"?> <rss version="2.0"> <channel> <title>$chan_title</title> <link>$chan_link</link> …

Web Development php xml
Member Avatar for Froger93
0
122
Member Avatar for Dhruv Shah

As I am new to MySQL, I dont know how to connect my jsp page to the MySQL Database. So please help me by giving some code on how to connect. I have downloaded driver for Java named as Connector/J. MySQL version is 5.0. In this line con = DriverManager.getConnection("jdbc:mysql://localhost/JSP_MYSQL?user=root&password=admin"); …

Web Development java-jsp mysql
Member Avatar for masijade
0
2K
Member Avatar for skrithikaa

Hi, Can some one tell me how to create elements like (text, tables) in memory, then edit them in memory and finally print it on a file. Thanks, K

Web Development ruby
0
92
Member Avatar for verbob

I am writing a script to add and edit listings in a realestate site. For some reason I can't get the variables from the url to recognize properly. heres the "problem" part of the script: [CODE] <?php require_once "../dbconnect.php"; // include the database information // if the 'mode' is set …

Web Development php
Member Avatar for verbob
0
177
Member Avatar for deepak.marur

I have tomcat 6.0.18 running on my laptop. Tomcat is installed under my /home/xxx/bin directory. However, after I start tomcat, I'm unable to connect to tomcat through my browser but my eclipse is able to do so. I do not get any error message, the browser just keeps on trying. …

Web Development java-jsp
Member Avatar for deepak.marur
0
153
Member Avatar for garcon1986

I have 2 pages right now. One is list.php, the other one is detail.php. The list.php is a table generated by mysql data. i add a column called "detail" at the end of each row. Everytime i click "detail", it redirects to detail.php and display a form according to the …

Web Development php
Member Avatar for garcon1986
0
109
Member Avatar for DemonGal711

Alright, I'm working on my own signature rotator. At the moment the image only updates when the page is refreshed, which I'm fine with for now. However, is it possible to force the script to grab a new image after X minutes if the page hasn't already been reloaded? I'd …

Web Development image php
Member Avatar for Airshow
0
137
Member Avatar for Noodles156

This code works fine if I replace the $s variable in the value being assigned to the $query variable with a valid site. The echo at the beginning of the foreach statement works correctly. Looking at the apache error log I see the following: [Mon Oct 26 16:16:36 2009] [error] …

Web Development apache client-server php
Member Avatar for Noodles156
0
2K
Member Avatar for garcon1986

Now i extract data from mysql database, and echo them in a table. In the last column of each row, i made a link. It link to the corresponding page according to the value of first column in the row. Now i can't get the solution and have some errors. …

Web Development php
Member Avatar for garcon1986
0
206
Member Avatar for jbisono

Hi, I would like to know how can I execute an event from a web content form, for example i would like to run a centralized event to assign rigths to component in every webform, but i would like to do that from the master page so i do not …

Web Development asp.net
Member Avatar for jbisono
0
147
Member Avatar for simmy7

I am using .Net 2 in Vs 2008 and I am trying to get the onclick event for a checkox to fire when clicked. Unfortunately it is not firing. I can see the code is added to the checkboxs html. This is the checkboxlist: [CODE]<asp:CheckBoxList runat="server" ID="chkSides" RepeatColumns="3" RepeatDirection="Horizontal" DataValueField="ItemNo" …

Web Development asp.net
Member Avatar for Ramesh S
0
695
Member Avatar for wayz1229

i want to sort qtitle by numbers. anyone can help me with tat.. i tried to modify the code below, but i couldn't find the solution. please help me.. [CODE]<?php $query1 = "SELECT * FROM table1"; $result1 = mysql_query($query1); $i=1; $num_row=mysql_num_rows(result1;) while ($row1 = mysql_fetch_array($result1)) { $qid = $row1['qid']; $qtitle …

Web Development display php
Member Avatar for wayz1229
0
103
Member Avatar for garcon1986

Hello everyone, I've searched a lot of time today for a solution, but not succeed! I want to insert value from the radio button and checkbox into mysql database. Here is my code: insert.php [CODE] <div id="form"> <form method="post" action="process.php"> <h1>BESOIN </h1> <br><br> <label>Sujet:</label><input type="text" name="sujet" />&nbsp;&nbsp; <label>Date: </label><input type="text" …

Web Development gui mysql php
Member Avatar for garcon1986
0
2K
Member Avatar for phoenix_dwarf

Hi, I'm trying to move "leftover" data from one database table to another after the user clicked on a button. Please can anyone give me some advise. This is kinda really urgent plz. Everytime i run my app it gives no error but also doesn't move my data. :angry: I'm …

Web Development asp asp.net sql
Member Avatar for phoenix_dwarf
0
268
Member Avatar for cjay175

Hey, I was wondering how to obtain a hash value and pass it to php. URL: [CODE]http://www.mydomain.com/#id=110[/CODE] All I want to grab is just the "110". This is my javascript code: [CODE] <script> function getUrlVars() { var vars = [], hash; var hashes = window.location.href.slice(window.location.href.indexOf('#') + 1).split('&'); for(var i = …

Web Development javascript php
Member Avatar for Airshow
0
2K
Member Avatar for Ghodmode

I'd like to use JavaScript to add rows to a table. It seems like an easy idea, but it occurs to me that the parent node of the rows might technically be a TBODY element. So, I'm wondering if I use appendChild to add a table row to a table …

Web Development javascript
Member Avatar for codejoust
0
322
Member Avatar for sethm

Recently I found a way to upload an image path into a MySQL db while uploading the actual image to the server. This works fine, except sometimes I don't have an image to upload with the story. So - my question: If I don't have an image how do I …

Web Development image php
Member Avatar for Atli
0
244
Member Avatar for skrithikaa

Hi, I am new to ruby programming. I would like to know how to create a document and add elements like texts and tables. I also need to modify those and then write them into a file. Is it possible to do it with Ruby? Thanks, K

Web Development ruby
Member Avatar for codejoust
0
84
Member Avatar for garcon1986

Hello Everyone. I want to make query with php combo box items. When the user click on the items of combo box, the following table will generate correspondent data. Now i can display data in one table, but i don't know how to use it with combo box. Does there …

Web Development php sql
Member Avatar for garcon1986
0
127
Member Avatar for LindaLou

Hi, I have created a statement using IF, ELSE IFs, ELSE, and it brings up PARSE ERROR UNEXPECTED T_ELSEIF in line... On checking for the solution to this error it often seems that a } has been included or missed, i´ve doubled checked my code and don´t think that this …

Web Development php
Member Avatar for LindaLou
0
119
Member Avatar for Stretcher75

I have a form the has some textbox controls. I have a script to request these control values to update a table in my database. The problem I am having is that I added the textbox controls to inside the TabContainer and now the request does not see any values. …

Web Development asp.net
Member Avatar for Ramesh S
0
138
Member Avatar for gpss

Hi! I need some help... i searched a lot.. but dind't found or worked any code.. so i need help please.. i just need a simple thing... i want to show on a combobox, a list of the things that i have (inserted before on my database-postgreSQL) on a collumn …

Web Development php postgresql
Member Avatar for phobia1
0
142
Member Avatar for network18

my api parsing script has dynamic url, like scriptname.php?limit=100 here this last 100 will change;varying from 0 to the number of lines from the file returned by first cron. And i want to this script to execute as a cron job, but how this parameter 'limit' i should handle. any …

Web Development api career php
Member Avatar for network18
0
1K
Member Avatar for lcyew

Hi. I need to capture and store the time in database whenever there is application or approval is submitted. (in 24 hours time format) I've tried time() to capture time and strftime("%H:%M", $timenow) to retrieve and dispaly the time. However, the hour for the time is incorrect. Some questions I …

Web Development php
Member Avatar for lcyew
0
87
Member Avatar for kishou

sry i'm not really familiar with $_FILES. but i have a quick question. why isnt this uploading? here's my code: [CODE]<?php $file = rand(10,100) . $_FILES["file"]["name"]; if ((($_FILES["file"]["type"] == "application/octet-stream")) && ($_FILES["file"]["size"] < 400000)) { if ($_FILES["file"]["error"] > 0) { echo "Return Code: " . $_FILES["file"]["error"] . "<br />"; } …

Web Development file-stream php
Member Avatar for NavedAhmed
0
103
Member Avatar for AliHurworth

Hi all, I have a div I would like to show and hide. I've used a script before which works, but now reusing it I can't make it fly. As I can't see where I am going wrong, can anyone else help? This is the one that works: [CODE] <!--script …

Web Development javascript
Member Avatar for AliHurworth
0
152
Member Avatar for tatt727

Hi, I am trying to create a loop that will create an array from the values posted into a form and then sort them. The user is first asked how many words they want to enter and then a loop creates a form with the appropriate number of text boxes …

Web Development html-css php
Member Avatar for tatt727
0
183
Member Avatar for nick3592

Hi, i have already made a user registration page and log in pages but i need to know how i can make it possible for other people to view profiles from other users on my site.

Web Development php
Member Avatar for nick3592
0
177
Member Avatar for network18

Hi, I have a simple vote up and vote down feature, which on clicking calls a js function and increments or decrements the counter variable accordingly. But i have an issue, some malicious script just executing the script to incrment the counter by vote up. I am not allowed to …

Web Development javascript php
Member Avatar for network18
0
105
Member Avatar for Stefano Mtangoo

Hi All, I'm still exercising with that small PHP/MYSQL CMS of mine. I have a question that I need help from you guys. I see in many CMS like Drupal where there is loong articles let say 10 of them are displayed on single page. For some technique I don't …

Web Development cms mysql php
Member Avatar for Stefano Mtangoo
0
89
Member Avatar for Namibnat

If I have a function included within a page, and that function is in it's own file, in a different directory (/scripts/thefunction.php) how would I go about writing a file path to another file that is in a different directory. In a nutshell, a file in /index.php includes a file …

Web Development php
Member Avatar for CFROG
0
115
Member Avatar for Shanti C

Im shanti.. I am developing one dynamic site , here my product display page is like products.php?prod_id=1 It means the products under first category are displayed.. but i want my url like products/categoryname.html..something like this, with my category name...which will spiderable format.. Please help me to do this... All helps …

Web Development php
Member Avatar for ultras1
0
414
Member Avatar for whisper_101

Hi Guys My hosting company confirmed that recently it appeared that somebody was trying to hack into my website. I was able to confirm the page used but not whether they actually got through - no data in the database was changed. I have never come across this before and …

Web Development asp mssql sql
0
53
Member Avatar for opatut

Hi Community! I have already searched the whole web about this Problem, and I didn't find anything. Maybe you can help... I want to show the number of all SQL queries I executed to load a web page. It is a very complex system I programmed, and I don't want …

Web Development php sql
Member Avatar for opatut
0
237
Member Avatar for SKANK!!!!!

[CODE]<?php $documentroot = $_SERVER['DOCUMENT_ROOT']; $username = "Administrator"; $dir = $documentroot . '/' . $username; function rmdir_r ( $dir, $DeleteMe = TRUE ) { if ( ! $dh = @opendir ( $dir ) ) return; while ( false !== ( $obj = readdir ( $dh ) ) ) { if ( …

Web Development php
Member Avatar for SKANK!!!!!
0
134
Member Avatar for peck3277

Hey guys, Hopefully someone out there can help me. I've written a script that displays the contents of a directory. It also links to the file so when I click on it it displays the file contents. What I want to do is when I click on that file it …

Web Development php
Member Avatar for peck3277
0
153
Member Avatar for network18

I have an API parsing script, which inserts into the db more than 40,000 rows.and maybe due large numbers of queries getting fired continuously, after some specific time the script throws "MySQL server has gone away" error. I know the reason behind this error can be closed connection or any …

Web Development api client-server mysql php
Member Avatar for network18
0
705
Member Avatar for phobia1

Hi Guys I'm rusty and sticking after being ill for months. Could anyone help me to get this to work please. I've got it close but not close enough. Thanks in advance for the time given. Best FJW [code=php]echo $pricelow; echo $pricehigh; output_arrayBETW(); //$pricelow and $pricehigh correct BUT... Function output_arrayBETW(){ …

Web Development php
Member Avatar for phobia1
0
71
Member Avatar for catcoffee

Hi, all! It's me again. And i'm idiot. I have in my table many-many articles. Their titles and anonses showed on page article.php [CODE] <?php mysql_connect($host, $username, $password) or die(mysql_error()); mysql_select_db($database) or die(mysql_error()); mysql_query("SET NAMES utf8"); $sql = "SELECT*FROM advicer ORDER BY id DESC LIMIT 4"; $result= mysql_query($sql) or die(mysql_error()); …

Web Development php seo
Member Avatar for Stefano Mtangoo
0
338

The End.