17,029 Solved Topics
Remove Filter ![]() | |
Hey, I'm learning Ruby and I've just about got it sorted. I have just one (or maybe more) question(s): What is marshal.dump and does it allow you to save data to a file outside of the Ruby program? If not, how do I create saved data (ie. character attributes inside … Web Development ruby | |
Hello I have changed the process code abit so it receives the data from the form and ensures the data in array format. This has eliminated my previous error. The problem I am experiencing is the looping is not displaying the all contents of the arrays. Do you have any … Web Development php | |
I have apache in this dir C:\Program Files\Apache Software Foundation\Apache2.2\ and Mail.php and PEAR.php are in this dir C:\php\PEAR\pear When I add the files to the dir the log file is complaining about below, the wiki spits out the following: [code] Could not send confirmation mail. Check address for invalid … Web Development apache file-stream php | |
Hello guys! im a newbie in programming and i need help..Anyone familiar with array??below is the case and i hope someone can help me.. thx.. Write a program to assign seats on each flight of the airline’s only plane (capacity: 20 seats). Your program should display the following menu of … Web Development java-jsp | |
hi. i use a textbox (i also tried with a textarea) in asp .net2.0 to show some text from a data base. till this point, everything's ok. my problem starts when i try to change the text and update the new value to the data base. the value updated is … | |
Hi all I have this program i writing using C# 2003 and ASP.net, When i try to connect to the database it gives the error below. I do not know what is wrong, please help. [ [B]Server Error in '/BookFlight' Application. [/B] [B][I]The Microsoft Jet database engine cannot open the … Web Development asp asp.net open-source visual-studio web-server | |
I am having problems getting the user selected form info to inserted into the mysql database. I am also rec eving an error: Warning: Variable passed to each() is not an array or object in D:\web_server\webroot\common_list_process.php on line 1) I can display the contents of the $op array (see below) … Web Development php | |
I am in in the process of adding mediawiki to a sever that already has Apache and php installed. | |
This is my first attempt at creating a website using PHP. My database is done in MySQL. It is for a made up university. I am having trouble creating the page that should allow current students enrolled at the university to search for courses and add them to their schedule. … Web Development first-post html-css pay-per-click php session | |
can we use collection_select with :selected option if yes ,plz let me know.if not than plz tell me how to use select instead of collection_select and where to write query in select if i dont want to find all records. thnx in advance. Web Development ruby | |
Hello. I have array that i deffered from my database. For i=0 to 4 Point(i)=Cint(Rs("Point")) Name(i)=Rs("Name") rs.MoveNext next The result is giving me : Point(0) Point(1) Point(2) Point(3) Name(0) Name(1) Name(2) Name(3) I would like to built a chart from it. The chart goes this way: [B]ShowChart[/B] Array(Point(0),Point(1),Point(2),Point(3),Point(4)), Array(Name(0),Name(1),Name(2),Name(3),Name(4)) That … Web Development asp | |
I just started doing this site and did a extremely minimal update only to get this pesky error. I am not sure what the deal is and seriously want to fix this ASAP. I'm sorry as well, as i'm brand new to this coding. (Didn't think i'd get such an … | |
Hi there all, Apologies if something similar has been posted before but I tried a search and couldn't find anything. I have a combobox with 2 options "OPEN" and "CLOSED". Tied to this combo box I have a scriptlet which I want to select the appropriate value of the combo … Web Development java-jsp | |
I recently installed CrackerTracker v5.x in my forums (phpbb2 with no mods, running a custom interface) and I'm having a massive amount of parsing errors. Examples: Parse error: parse error, unexpected ',' in /forum/includes/functions_post.php on line 103 [code]103: }$lang, $phpEx, $phpbb_root_path; [/code] Parse error: parse error, unexpected T_INCLUDE_ONCE in /forum/includes/page_tail.php … Web Development php | |
i developed a website using php and the backend database ii am usiing is mysql. the server i used for this purpose is abyss web server. i have two problems 1) every time i log on ot the internet i am assigned a different ip address, how can i make … Web Development php web-server | |
hi..i'm new in using ASP.NET application. Please guide me as i've only about 30% knowledge on developing web application in .NET ok..my problem is.. i have a textbox.. i wanted user to create multiple option by entering each option per line in the textbox... in other words..if user want to … | |
can any body help me out in my situation ,i want to retrieve some results from database , when i choose a value from the selection box. thanx in advnce tc Web Development ruby | |
This has been driving me mad for a few hours now. I have created a web application in VWD Express which has tested fine on localhost. I have now transferred this to a test server. Every time I click on anything that causes a postback a 404 Error - File … Web Development asp.net publishing web-server | |
dim num, GOPercent num = Request.Cookies("Result") GOPercent = num/25 [COLOR="Red"]Type mismatch: '[string: ""]'[/COLOR] Error Type mismatch. But the value i put in Response.cookies("Result") is a CInt(value) how to solve this ????? Web Development asp | |
Does anyone have an example to show a dynamic array of a db table that can be updated. table consists of 3 fields of which the team name is the only constant- points and percentage need to be changed weekly. Any help will be very much appreciated, i have tried … Web Development php | |
i know session variables store on the server side and cookies store on client side. Question: If i save the total answer for a summation as a session variables, and multiple online user are using the same system for calculation, does that means that session variable will be over write … Web Development asp client-server session | |
I am new to ASP.net as of today :) I have jumped many hunrdles alreday, writing/deleting text files, connecting to a db, sendiong emails, yeah me. I am looking for 1 concise example to show how i can take the contents of a form and insert them into a datbase. … | |
i am trying to export the results from a form into the script of another php in form of variables : ex. form proccess script (globalvar.php) [quote] $dbtype = $_POST['dbtype']; $dbhost = $_POST['dbhost']; $dbname = $_POST['dbname']; $dbpass = $_POST['dbpass']; $dbport = $_POST['dbport']; $dbtable = $_POST['dbtable'];[/quote] new php (varheader.php) [quote] $dbtype … Web Development php | |
ive got a [B]Parse error[/B]: syntax error, unexpected T_VARIABLE on this line: [code]$dboutput = "//database vars \n" "$dbtype = '".$dbtype."'; \n" "$dbhost = '".$dbhost."'; \n""$dbtype = '".$dbtype."'; \n""$dbname = '".$dbname."'; \n""$dbport = '".$dbport."'; \n""\n" "$database = array($dbtype, $dbhost, $dbname, $dbpass, $dbport);";[/code] any idea of whats wrong with it? Web Development php | |
i can't see where is the Invalid character with the SQL statement below. i can't see where i miss any character or i added extra characters. mySQL = "UPDATE table SET col1 = '"_& rA & "', col2 = " & rB & ", col3 = " & rC & … | |
Hello All, I am trying to perform a simple calculation while in the edit or insert twmplate in a FormView. I am using Visual Studio 2005 and C#. I asked this in the C# forum but not much help. Here is what I have now: protected void Button1_Click1(object sender, EventArgs … Web Development asp visual-studio | |
Hi, In symfony , if i have two modules. module A has functino to get the details and corresponding template has a list of comments to show from filesystem. But comments i want to keep as a seperate module and this asks me to skip from one action to another. … Web Development php | |
require 'action_mailer' ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.server_settings = { :address => "address", :port => 25, :domain => "domain.com", :user_name => "myid@domain.com", :password => "password", :authentication => :login } ActionMailer::Base.perform_deliveries = true ActionMailer::Base.raise_delivery_errors = true ActionMailer::Base.default_charset = "utf-8" i have used the above code to send a mail in /config/enviourment.rb and its … Web Development ruby | |
can anybody tell me how to define multi demensional array in ruby on rails. thanx buddies for previous replies and for this in advance. Web Development ruby | |
ok, I am new to master pages. I have created a public function called setMenu in the cs file. I can call this function fine from about half of my pages, but when i try to call it from the other half, it won't compile and I get [quote]'System.Web.UI.MasterPage' does … Web Development asp.net | |
I just started my first web design job and am a little confused. The company I am working for uses templates to design the e-commerce website. The developer is able to add more code to the templates to further customize the site. The templates seem to use VB for the … Web Development database-design javascript web-design | |
Hi Guys I'm new in ASP and Access and I 'm trying to create a login page. Please Help!! :confused: Thanks in Advance Web Development asp | |
Hello everyone, I have a MSSQL db with PHP front end. The data in the table is similiar to: "Two spaces" with 2 white spaces in the middle. When I use this code: [code] $sql = "select Name FROM Name_TBL WHERE Number = '$Num"; $rs = mssql_query($sql); $RT = mssql_fetch_array($rs); … | |
Hi all, I'm just learning how to delete records from a test table but I'm having some problems with it. I'm not sure exactly but it looks like it is deleting the last row from the table no matter which record is clicked on. It also appears that it is … Web Development php | |
Hi, Im using Radio Buttons. What I want to do is once a radio button is selected. I want to Redirect/Open another Page. Cant seem to get it to work. This is my line of thought can some one point me in the correct direction? [CODE][COLOR=#0000ff] [/COLOR] void[COLOR=#000000] Page_Load()[/COLOR] { … Web Development asp.net | |
i have a small problem in the jsp code i have written "to send the data from form to database". The table in the database has a primary key field whose values must be generated automatically. so, i have created a sequence named t_seq and have written it like this: … Web Development java-jsp | |
Hey, so I get a Driver error when I try to connect to my local mysql db. My code is in a servlet as follows [code] Class.forName("com.mysql.jdbc.Driver").newInstance(); Connection con=null; Statement smt=null; con=DriverManager.getConnection("jdbc:mysql://localhost:3306/sql?user=webusr&password=pass"); [/code] Thanks M | |
I am currently responsible for a set of server units. Recently, the group of users working with one of these units informed me that they were having problems with a php-based report generating program. I did not write the program; my predecessor did. I did manage to track down the … | |
I am looking for a flash gallery similar to the one on Madonna.com The link is [URL]http://www.madonna.com/taggingproject.html[/URL] Can you help me with that? Thank you so much! Web Development flash | |
Hi, I am building three websites. The first site has a mysql database with necessary contents for two other sites. The two websites should show the content stored in the first site's database, is it possible without using xml? or is xml the best way or is there any other … ![]() | |
I'm using an html form to add to a list, specifically a flatfile database called demo3.txt. The add.php file is this: [CODE] <?php $name = $_POST['name']; $nickname = $_POST['nickname']; $motto = $_POST['motto']; $fp = fopen("demo3.txt","a"); if(!$fp) { echo 'Error: Cannot open file.'; exit; } fwrite($fp, "\r\n".$name."|".$nickname."|".$motto); echo 'The data has … Web Development first-post php | |
I have a small problem........ I have designed a page which should be accessed by valid users. after logging in , they have to access the page via a link. for this i have used send redirect method . but my session object is not being passed here. via the … | |
Hi Everybody I am trying to get some function which returns - current month name - current year - date range ( for February displaying 2/1/2007 - 2/28/2007) -year range ( 1 Jan 2007 - 31 Dec 2007) I was wondering, is there any functions for these? I searched a … Web Development asp.net | |
Ok folks. I just found a cool Button property called [inlinecode]Button.PostBackUrl[/inlinecode]. It works fine when you set this property and click on the button -- it takes you the page specified in the [inlinecode]PostBackUrl[/inlinecode] property. At first glance, it looked very promissing for cross-page coding. Here's my problem... I have … Web Development asp.net | |
***UPDATE Solved*** Needed to change to this <script runat="server"> protected void Page_Load(object sender, EventArgs e) { Page.DataBind(); } </script> and this [code]<script type="text/javascript" src='<%#"http://www.somesite.com/cool.asp?nick=" + Request.QueryString["Nname"]%>'></script>[/code] With the variable Nname from my database via a DeatailsView control. I am really new to asp.net and I feel that I am just … Web Development asp asp.net javascript | |
Hi everybody I have two listboxes. I have set the selectmode to multiple but when i select multiple items from listbox1, and then clcik ADD button, only one item is getting added How can i add all the selected items at a time I am using Protected Sub btnAdd_ServerClick(ByVal sender … Web Development asp.net | |
hhey any body knows how to upload a file or image in database and retrieve it,i know i have to use file column and rmagcik but dont know how to apply them,can anybody tell me step by step implementation. thanx in advance, | |
Here is the Code that you required CampKev <% Dim Conn Dim sSQL Dim rsPeople Set Conn = CreateObject("ADODB.Connection") Set rsPeople = CreateObject("ADODB.Recordset") Conn.Open "addresses" sSQL = "select Person_Id, First_Name, Last_Name, Phone_Number from Persons " rsPeople.Open sSQL, Conn %> <html> <head> <title>Connecting TO The Database</title> </head> <body bgcolor = "#FFFFFF"> … Web Development asp | |
Hi All, I want to set two textboxes, where I want to set the first day of current month in one textbox, and todays date in the second text box. How can I get the first day of the current month? Thanks In advance Web Development asp.net |
The End.