52,566 Archived Topics
Remove Filter ![]() | |
Hi Can anyone please help me sort this problem out I create store procedure in mysql and I want to call this in php. The store procedure is executing ok in mysql but when I call this into php I get fatal error: call to a member function prepare() on … Web Development php | |
Hi I have gridview and I am using gridview1_rowupdating event to update the gridview, but when I am using the code given below its not working. I do not know why it is not updating, it is not even showing error. please help me resolve this problem. Thanks [code=aspnet] protected … Web Development asp.net open-source | |
I am using Microsoft Visual Web developer for a site that was already created in PHP. I maintain the site, and have to add a .jpg image of a poster next to the PDF link of the poster for teacher's to download. I am not sure what code to use … ![]() | |
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home2/fellowes/public_html/createaccount.php on line 108 [CODE]include("conf.inc.php"); $tbl_name="tbl_courses"; $sql=mysql_query("SELECT * FROM $tbl_name WHERE crs_semister=1 AND crs_period='A'") or die(mysql_error()); $result=mysql_num_rows($sql);[/CODE] [CODE] <?php while($rows=mysql_fetch_array($result)) { ?> <option><?php echo $rows['crs_code']; ?>//Line 108</option> <?php } ?>[/CODE] | |
I am writing a forum site and this is an error message I randomly ran into. I have used this code structure before but never ran into this problem. "Fatal error: Call to undefined function form() in /home2/fellowes/public_html/comment.php on line 14" [CODE]<?php session_start(); $tbl_name="???"; $userid=$_SESSION[userid']; $username=$_SESSION['username']; $comment=form($_POST['txtComment']);[/CODE]This "$comment=form($_POST['txtComment']);" is line … Web Development php | |
Hi, I want to sort my search results from a access database in 10 at a page and showed in page 1,2,3.....last. Now Im just using next and previous to goto frm one page to another. [code=Coldfusion]<cfif pageno GT 1> <td><a href="searchResult1.cfm?page=#pageno-1#" class="style3">< Previous </a></td> </cfif> <cfif counter LE #rec_count#> … Web Development coldfusion | |
Hi there all, I am brand new to php (3 days under my belt). I am trying to modify a webmail.php script that came on this cd that I got with the learning php book. I am having difficulty getting the new fields I added to work. I am getting … Web Development php ![]() | |
Hi Folks What I'd like to be able to do is to upload files .doc, .xls, .pdf etc and only provide access to certain users. For example user X lgos in and has access to X.doc and X.pdf. User Y logs in and has access to Y.doc and Y.xls. Is … ![]() | |
I need to display a dropdown list of hospitals several times (10) in one form and I'm not sure of the best way to go about this. I can get the first list to display, but the subsequent lists just show "Select". This is my code: [code]<td width=\"200\"><select name=\"hospital1\"> <option … ![]() | |
i want to create a table in sql database using php code. if i try to use the sql command(given below) in my php source code [code]"CREATE TABLE new_table( id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT, id1 VARCHAR(55) NOT NULL id2 VARCHAR(32) NOT NULL, id3 CHAR, PRIMARY KEY(id));"[/code] i get syntax … ![]() | |
I am unable to get my pop-up to resize or hide the toolbar when I select a thumbnail. I entered the width & height in my onclick event, bu that did not seem to work. I am guessing that I probably need to enter the attributes in the function and … Web Development javascript ![]() | |
Hi everyone ! I am a new to this forum. I have a question to ask: I have developed a php imagehosting script for one of my customer. The demonstartion can be found at : [url]http://picly.com[/url] (I have not uploaded the admin panel there, but you can find it here: … Web Development php | |
Hi All, Could you help/guide me accordingly please...My intentions with this piece of code is for the relevant image to display with the respective user...my problem is that it doesn't work for the second user type (SysAdmin), it only works for 'Admin'... [CODE=php] <tr> <td width="255"> <? if($arr[6] != 'Admin' … Web Development php | |
I am going to apologize off the bat for posting an email form question when there are sooooo many others... but honestly, i looked at them all before i wrote this. I have a form that contains a place to type in 'name', 'subject', 'message', and 'email'. When ever the … | |
Hi Everyone, I will soon develop a web application (normally with PHP (cakePHP)) which should allow the users to view their related PDF files. Obviously, I dont' not want that users are able to view other user's PDF files (using for example URL rewriting). I'm looking for a solution for … | |
I don't know what happened to my previous topic about this. But I am using an AJAX menu on a page I am making for somebody, and I used the exact same code w3schools recommends to use: [CODE]function updatemenu(leagueno, confno, location, mode) { xmlHttp=GetXmlHttpObject(); if (xmlHttp==null) { alert ("Your browser … Web Development javascript ![]() | |
Hi to all, hi have the following problem, I hope someone can help me. I need to replace special chars that appear in a string. [B]for example if I have the string:[/B] this- is a !string with special chars- [B]I want to receive[/B] this45 is a 33string with special chars45 … Web Development javascript | |
I am trying send information to the DB and the SP will return a recordset. The problem is that I keep getting this error (ADODB.Recordset error '800a0e78' Operation is not allowed when the object is closed). I saw a bunch of posts using queries, but none using SPs and cannot … Web Development asp | |
From my ASP.NET page, I need to print a Crystal Report to client's printer directly. I'm not using Crystal Report Viewer. I cannot use Crystal's PrintToPrinter method because this runs on Web Server side. How can I do this? Any help would be appriciated. I've seen a bunch of other … Web Development asp asp.net client-server printer web-server | |
hi i have a page where all the username will be listed.i want to delete them.........before tat i want ask the user whether he wants to delete in a popup.if he clicks yes then his name should be deleted 1st page [CODE]<a href="http://cc.com/icc/delete.php?id=<? echo $value[0];?>"><img src="images/b_drop.png" border="0"/></a>[/CODE] delete.php [CODE]<? $id=$_GET['id']; … Web Development php | |
Hey all, I posted few days back about displaying all .jpeg files inside a folder in a table...I figured out partially how to do that with JSP..By Partially I mean that I am able to count the number of files inside the folder, and then run a For loop based … Web Development asp.net | |
Hello All. I am currently working on a project which basically makes splash screens for plasma displays. Details on objects are stored in an Oracle database accessed using ASP.NET and requested using AJAX. I have already got a working version of this project which people are happy with but I … Web Development asp.net javascript microsoft-office oop oracle | |
Hello I have a txt file with this content 456510 P115 JANDAY CONURE Very pretty, green/orange/blue, but keeps telling ME to shut up! $250/obo. 928-555-1212. I will like to now if its possible to write ID Category Description in top of the file like this ID Category Description 456510 P115 … Web Development php | |
Hi, I have checked several examples but, i couldn't do the pagination. Please help me because i simply can't do it. I am stuck with my assignment because of this. Table is shown below. Thanks [code] CREATE TABLE `country` ( `code` varchar(255) default NULL, `rank` int(11) default NULL, `name` varchar(255) … Web Development php | |
hi people, I am weak in most computer aspects, i think because of my school. I am creating this website and inside it there is a registration page. I used tables to create this page. So, text fields, radio buttons and check boxes belong to different forms. I want to … Web Development javascript ![]() | |
Hallo. I am working on a listing site ([URL="http://www.togoenvogue.com"]www.togoenvogue.com[/URL]) and need to set an auto deletion feature. What I want is this. When the user wants to add a listing (job offer for example), he will need to select from a SELECT drop down how long he wants his message … Web Development php | |
:S Hi I need help urgently.. I want to insert data into two mysql tables using just one form. Tried to do it through the following code below, but keep on getting horible errors when i submit. The essence is that the client has to fill all data without moving … | |
Hi, I was wondering, if it is possoble (or how to) include a php file with a get form value passed. For Example: states.php?state=NY. This file would be incuded into another php file so that it would display only the items that would be in NY state. Anyone know how … Web Development php | |
[B][/B] Hi, I have 3 radio buttons which are in the radio button group. On tab change it has to focus on next radio button. I have written a function to do that, but Its going from first to second radio button, after that again its coming back to first … Web Development javascript | |
[CODE=php]<? $url = 'http://www.gamespot.com/pages/search/search_ajax.php?q=grid&type=game&offset=0&tags_only=false&sort=rank'; # regular page: #url = '://www.gamespot.com/search.html?type=11&stype=all&qs=grid'; function disguise_curl($url) { $curl = curl_init(); $header[0] = "Accept: text/xml,application/xml,application/xhtml+xml"; $header[0] .= "text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"; $header[] = "Cache-Control: max-age=0"; $header[] = "Connection: keep-alive"; $header[] = "Keep-Alive: 300"; $header[] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7"; $header[] = "Accept-Language: en-us,en;q=0.5"; $header[] = "Pragma: "; curl_setopt($curl, CURLOPT_URL, $url); … | |
Hi, How can store [inlinecode]$_SESSION['id']="myId";[/inlinecode] for 5 hours? I tried cache thing but, when i closed IE it expired. When i echo $_SESSION['id'], it doesn't return any value. Thanks [code] session_cache_expire(150); session_start(); $_SESSION['id']="myId"; [/code] | |
Pls help me to add two times which is in mysql database table....Very urgent...Thank you Web Development php | |
im trying to do a button that will be able to add automatically textboxes,radiobutton or other forms. [B]for example of this is that i have 1 row that consist of a textbox and radiobuttons, then below there is a button named add. when i click add same row will be … Web Development php | |
This is the error what i get when i try to run my project: [CODE]Local Exception Stack: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b04-fcs (04/11/2008))): oracle.toplink.essentials.exceptions.DatabaseException Internal Exception: java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/varad1 Error Code: 0 at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:305) at oracle.toplink.essentials.sessions.DefaultConnector.connect(DefaultConnector.java:102) at oracle.toplink.essentials.sessions.DatasourceLogin.connectToDatasource (DatasourceLogin.java:184) at oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource (DatabaseSessionImpl.java:582) … Web Development apache html-css java-jsp java-netbeans mysql oracle session web-server xml | |
Hi, I want a messagebox or alert to appear in my screen after i click on a link. I can do popup windows but i can't do this. How do i this? Thanks Web Development javascript | |
Hi I am trying to use nucleus a GNU blogging program. I used a php debugger to check it for any errors and it ran across a bunch but I don't understand them because they don't look like errors to me. I am just a beginner in PHP so I … Web Development php | |
The client needs to select a vendor from a drop down list (Select). The list is quite long, so it takes some time to load and scroll. It would be better if there was a way for the client to type in the first few letters of the name and … Web Development javascript | |
Hi All, I need to center Suckerfish dropdown menu in my drupal site. How can I do that? I use roople theme Lite Jazz and Drupal 6. Thanks alot Steve:) Web Development php | |
hello guys i am using google ajax feed api to display feed for my site and i am having problem to display the description as a tooltips. [code] google.load("feeds", "1") function rssdisplayer(divid, url, feedlimit, showoptions){ this.showoptions=showoptions || "" var feedpointer=new google.feeds.Feed(url) feedpointer.setNumEntries(feedlimit) document.write('<div id="'+divid+'"></div>') this.feedcontainer=document.getElementById(divid) var displayer=this feedpointer.load(function(r){displayer.formatoutput(r)}) } rssdisplayer.prototype.formatdate=function(datestr){ … Web Development api google-api javascript | |
Hi How r you all. I want to know how to make the aspx page at the runtime. Currently my requirement is that User enter the Title of the page, description of the page and name of the page via a text box and in return he will get a … Web Development asp.net ![]() | |
I'm trying to determine which button was pressed when I'm unsure of how many buttons there actually are... The smarty template that I'm using creates the input buttons based on a query that happens in the associated php script. I don't know how many input fields will actually be generated, … Web Development javascript | |
Well heres the code im using, can anyone either fix this code to make it work or suggest a better way of doing this, thanks. [CODE=javascript]function ValidateForm() { if (document.submitform.email.value=="") { alert("There is no email entered!"); return false; } if (document.submitform.email.value=="Enter your email...") { alert("Please enter an email!"); return false; … Web Development email javascript | |
i have passed multiple identical id values, and now i want to retrieve those corresponding id values in mysql. how do i retrieve them? the table that the ids were inserted is a join table named hrm1_employees with field names hrmemp1Id, empId, and hrm1Id. the field hrm1Id came from the … Web Development php | |
I usually code all my Javascript in a single external file that accepts the data from a form in the main page's HTML textarea box. Now I would like to break up this single Javascript file into separate files. For example, I'd like to have main.js as the main controlling … Web Development javascript ![]() | |
Hello everyone, I need to create several xmlHttp objects, but I only want to have one GetXmlHttpObject() function, so that I don't have to repeat for each object. Below code is definitely wrong because... how do I return the needed object from the GetXmlHttpObject() function? Really appreciate, M [code] var … Web Development javascript xml ![]() | |
Hello everyone, Ive been having trouble trying to incorporate the code for an image Map into a PHP global.inc.php document of my community. The image map code is: [code]<img name="headerbanner0" src="headerbanner.gif" width="950" height="125" border="0" usemap="#headerbanner" alt="" /> <map name="headerbanner"> <area shape="rect" coords="224,93,385,125" alt="newsroom"> <area shape="rect" coords="585,90,793,2081874365" href="http://cyberpetcity.com/view_page.php?page=1363&game=1" alt="cybertown"> <area shape="rect" … | |
For me the big problem is action='foo.php' Unless I am mistaken, any submit button would send the form to foo.php by POST, so I would need a second form to have an alternate action page. I made a table to show the user's contents in the shopping cart, with a … Web Development php | |
hey guys m tryin to make a log out page in my website but when the user clicks on the logout page the history does not get deleted. this means the user can still go back to the previous page. Please help Web Development php | |
So I'm using this script to upload a .htm file, the only problem is after I upload the file the extension is gone and doesn't display as a web page. If I go into the folder and rename the file to vsquarel.htm the file displays as a web page again. … Web Development file-system php |
The End.