52,566 Archived Topics
Remove Filter ![]() | |
I think I'm just having one of those weeks where whatever I try to get this work simply does not work. At one stage I did not think that I was far off solving this problem, but now I feel as if I'm further away from the solution. I'm simply … Web Development javascript javascript-jquery | |
Hi , Can anyone tell how I will send the local time zone to the server and so that I can convert the unix time(coming from the database) to the local time and display it on the clients side using php (In short I dont want to use javascript when … Web Development javascript php unix ![]() | |
Hello Community, I was wondering if there is a way to backup my mysql database. ![]() | |
Hi, I am using the Like %$search% clause in my query to find results in my database, and I was wondering if this is the most effective and efficent way to do this? Web Development php ![]() | |
I have the following code on a website, And my issue is that this code given below fades the flash file on all the browsers that I use on a Mac computer, But when I use windows it only fades the flash file on Google Chrome, but does not fade … Web Development flash javascript javascript-jquery ![]() | |
i am having problem filling a selection box with json data. here my php code <script src="jquery.js"></script> <script src="jquery.jCombo.js"></script> <style type="text/css"> </style> <?php $directory = opendir("C:/xampp/htdocs/xml"); $storeFilesIntoArray[] = "please select XML to load"; while (($fileName = readdir($directory)) !== false) { $getLastFourDigitsOfFile = substr($fileName,-4); if($getLastFourDigitsOfFile == ".xml") { #echo "filename is … Web Development javascript javascript-jquery json | |
I wonder why it doesn't want to retrieve the P_id information when I press hapus/delete button. It suppose to bypass P_id value so that I know which to delete. The url remains empty: http://localhost/innovation/script_shop/hapus.php?P_id= <?php $result = mysql_query("SELECT * FROM stock") or die(mysql_error()); echo "<table border=1>"; echo "<tr>"; echo "<th>Produk</th><th>Jumlah</th><th>Tanggal</th>"; … Web Development php | |
I know there are other post conserning this but they dont seem to help me. When I run the varaible `$results` through the function `Mysql_num_rows()` it returns as an error saying its not a valid result. Also same for the `mysql_fetch_array()`. function results(){ if ($_POST['search'] != "") { $search = … | |
Hi, I have an issue sending HTML mail with Yahoo Business Hosting. I developed a web site for a friend to raise quotes for their cleaning company. I tested everything on my two of my hosts and everything works fine, I have created similar mail scripts for other people and … ![]() | |
i am little bit confuse about ajax, ajax makes vrowsing fast.....waht is the procedure of doing this, is anynody tell me. Web Development javascript | |
Hello Lets clear it up a bit: I want to get the width and height of the browser window where I can click. This does not include scrollbars/toolbars. I thought it was with innerheight/width. Strangly, width works (I resize it and onload shoots a alert and it is changed) but … Web Development javascript | |
Hi, I'm working on a simpla CMS. And I'd like to create a public function that calls up all the nessecery classes and functions for the theme to run correctly. And not sure if it is possible to create something like the following. function CMS_head() { $class1 = new class1(); … | |
Hi, I am having error in following code, <!-- START --> <p class="date-head"> <?php $sql_online_mem = "SELECT membername FROM ` trade_messengerd` WHERE status = 'Online'"; $db_sql_mem = mysql_query($sql_online_mem); while($online_mem = mysql_fetch_array($db_sql_mem)){ $members_online[] = $online_mem['membername']; } for($o=0; $o<count($members_online); $o++){ if($members_online[$o] == $uid){ $mem_online = "Online"; } } ?> <a href="#" onClick="window.open('<?=$domain_url?>/messenger/members/_login.php','login','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width=368,height=600,left=380,top=60');return … Web Development php | |
Is it posible to preload video for the user but so that he would not be able to see it? I mean I want to preload video - its for a gaming. And then when the time comes to play the video, send some key to decrypt and he could … Web Development gaming javascript video | |
Doe anyone here know the ascii code for the enter(newline)?? im not looking for the '\n' answer.. thanks..:) Web Development php ![]() | |
Hello I am trying to load a select option depending on the value selected on another select option <select id="state" onchange="SelectValue();"> <option value="State1">State1</option> <option value="State2">State2</option> <option value="State3">State3</option> </select> <select id="district"></select> <script type="text/javascript"> function SelectValue() { var e = document.getElementById("mfr"); var Val = e.options[e.selectedIndex].value; } </script> I want to call this … Web Development php | |
Hi, Below is my ajax code along with html and php code. I am getting an error "title is not defined".. Ajax ------ function callAjax() { $.ajax ({ type: "POST", url: "get.php", data: "title=" + title, success: function(msg) { alert(msg); }, error: function(msg){ alert(msg); }, }); } HTML ------ <form … Web Development javascript php | |
Hai; How can I rewrite user profile page url like `http://website.com/firstnamesecondname-id` in wordpress ? Please help me. | |
<?php mysql_connect("localhost", "root", "") or die(mysql_error()); mysql_select_db("agenda") or die(mysql_error()); $q = mysql_query("INSERT INTO kontakte (emri, mbiemri,e-mail,nr,adresa,shenime) VALUES( '{$_POST['emri']}' '{$_POST['mbiemri']}', '{$_POST['e-mail']}', '{$_POST['nr']}', '{$_POST['adresa']}', '{$_POST['shenime']}') "); if (!$q) { $message = 'Invalid query: ' . mysql_error() . "\n"; $message .= 'Whole query: ' . $query; die($message); } ?> <html> <head></head> <body> <div … | |
Hi all , I have googled for an answer for this question but most of them are so complicated. Can anyone suggest a simple article on this topic or show me step by step how to solve this. I want to upload an image to a folder and show this … Web Development file-system image javascript php ![]() | |
Hi, I have this following code: $('#content-load-target').load(location,function(response, status, xhr) { if (xhr.status != 200) { location.href = '/'; } else { //do something else } }); The response can be either an ajax page or be redirected (if the session has timed out). In case of redirect I want to … Web Development javascript session | |
is it true that no. of rows affected by select statement (ado.net) , is always -1. i.e. NO. OF ROWS AFFECTED BY SELECT STATEMENT = -1 ; if it is then why ? | |
Hello, I am making a calculator for school and so far I have written a code that allows user to combine and input. Calling it a formula would be wrong I think. It's like User pushesh buttons and comes up with an input like this for example : 11+4+9-5. Now … Web Development javascript | |
Good Morning... I hope this doesn't come across as too unintelligent, but I am baffled and maybe unnecessarilly I am implementing a payment processor and merchant account services on my members site. The processor has provided me with a host of API code for various functions and activities. Problem is … | |
I am making a mysql query that gathers comments for a user, it works properly, I connect to the database and recieve the comments for a user, but it is not showing the first comment for the user. Here is the code function comments(){ //connect to db connect_db_members(); //start query … | |
mysql_connect('localhost','root',''); mysql_select_db('db_enrollment'); <?php require('fpdf.php'); class PDF extends FPDF { // Page header function Header() { // Logo //$this->Image('logo.jpg',22,10,160); // Arial bold 15 $this->SetFont('Arial','B',15); // Move to the right $this->Cell(80); // Line break $this->Ln(20); } $result=mysql_query("select * from omr_result"); // Page footer function Footer() { // Position at 1.5 cm from … ![]() | |
I am working on a project in which to show booking in caledar form is required.I myself build the calendar.it is showning the booking correctly in choosen color .but when i see calendar next months it shows booked from date 1 to date 12 booked every month .the main part … ![]() | |
Hi everyone. I'm trying to verify whether the variables $username and $password_recovery (both are unique - impossible for them to be the same) both come from the same row in the rable 'users'. This is the query I am using: return (mysql_result(mysql_query("SELECT COUNT(`user_id`) FROM `users` WHERE `username` = '$username' AND … | |
I am looking for a Date picker (dd/mm/yyyy), which is support in all browser. Is any one provide me the code in JavaScript. Web Development javascript | |
Hello, we are thinking about making module which will use video streaming from our server, php, database. We want to make it posible to integrate into any website as easily as posible. What would be the easiest way, how should I search information about this? I tried quick searching but … Web Development php | |
I am workin on an project.in which i need to know in what order array is sorted after sortig using function sort($array); Web Development php | |
Hi there, I just came to find out, storing a password in a plain text is a bad idea IF that password is only used for re-sending it? Let me put it this way, people register in your site, you can keep one hased password, lets say by md5() or … Web Development php | |
i'm developing an app that i intend to run on a client's intranet. i want to ensure that only email addresses with the client's domain should be registered. how do i achieve this using regular expressions? | |
Hi everyone, I’m getting the following error uploading a file with asp. I’m using the code I downloaded from uploadasp.zip. I don’t know who wrote it so I can’t give credit. I've checked my local dev box here and I do infact have the correct directory permissions as far as … Web Development asp file-system vbscript | |
Hi everyone, I need some resources, examples, or tutorials to be able to understand how to write a server in PHP which can communicate with MySQL database, and receive & send the desired information to the client from the database. If you offer some websites or books, I would appreciate. … Web Development php | |
Hey !! I have created a web application in ASP.net. In the master page, I am using tables to create the required page display. On the left side, i have an image on an arrow followed by text eg. (img.png)Order. When i click on Order, i need the different types … Web Development html-css javascript | |
I am working on a project.In this i need to assign values in array with different location of code.first i used the $bd=array('1','420'); $bd=array('2','520'); etc.but when i echo $bd[1]; and echo $bd[2]; only last inserted value(520) is displayed.do you have any solution for it? Web Development php | |
in img2.php <form action="img3.php" method="post" enctype="multipart/form-data" name="uploadImage" id="uploadImage"> <p> <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo MAX_FILE_SIZE; ?>" /> <label for="image">Upload image:</label> <input type="file" name="image" id="image" /> </p> <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo MAX_FILE_SIZE; ?>" /> <label for="image">Upload image:</label> <input type="file" name="photo" id="image" /> </p> <p> <input type="submit" name="upload" id="upload" value="Upload" /> … Web Development php | |
i am sending emails to more than 1000 users at time , so i used a datatable to fetch email addresses from DB's table and then i loop over it voa foreach and then send it to each user via net.mail namespace's code that's ok, Done But problem is that … | |
i have two tables the following structures. CREATE TABLE `tblbranches` ( `branchID` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, `branchCode` varchar(30) NOT NULL, `branchName` varchar(30) NOT NULL, `regionID` tinyint(3) unsigned NOT NULL, `branchAddress` varchar(400) NOT NULL, `cityID` smallint(5) unsigned NOT NULL, `countryID` smallint(3) unsigned NOT NULL, `branchContact` varchar(50) NOT NULL, `branchFax` varchar(20) … Web Development linked-list mysql php | |
how to call different java method based on html select option choice? any code sample? basically, user will select a dropdown option and press submit. for each option,different query should be executed. using mysql DB and netbeans IDE. Thanks !!! | |
Hi guys, I am trying integrate piwik site analysis graphs with my web app. There is a way to represent the data from the locally hosted piwik in the webapp but it requires the user to log into piwik through its UI. I am thinking of integrating the piwik graphical … Web Development php user-interface | |
I having been working on java web-start applet for serial communication which I now need to integrate and make it invoke able from an ASP .NET webpage / application. I have tried numerous ways of doing this which all have not yielded anything progressive. including but not limited to the … Web Development asp asp.net java web-browser | |
Hello, If am entering data as "hi this is for test" as my input to <textarea> but while displaying it, it is giving me as one sentence . Help me out with this. | |
Hello I am trying to create a chart based on clicks information. How to do so ? // print jumlah klik dalam graphic $result = mysql_query("SELECT COUNT(idads) AS countidads FROM adsmgt") or die(mysql_error()); $resultday = mysql_query("SELECT COUNT(idads) AS countidadsday FROM adsmgt GROUP BY date") or die(mysql_error()); while($row = mysql_fetch_assoc($result)) { … | |
I need login with cookies to hide comment form, from user who are not logged in. Users can view article without login but can not comment without login **Database** CREATE TABLE IF NOT EXISTS `members` ( `id` bigint(12) NOT NULL AUTO_INCREMENT, `fname` varchar(500) NOT NULL, `lname` varchar(500) NOT NULL, `email` … Web Development php | |
I have got around 10 <div>'s and in every <div> there is a different datetime. I want to call a java-script function when the clients local time matches the time in that <div>'s. //sample scenario <div id="a" class ="help">2/3/2013 6:39:14 PM</div> <div id="b" class ="help">2/3/2013 2:39:14 PM</div> <div id="c" class … Web Development javascript php unix ![]() | |
Hello, this is just a general question. I always look at every website source when I visit it and I notice they are very robust and complex. Then I look at my site and think wow, mine is nothing like that. Is there an issue with that? Am I not … Web Development ![]() | |
I'm not sure exactly where to put this, but here should be ok... I want to carry out some functions when an executable is opened to manipulate certain windows that are on the computer, someone has recommended a macro for this purpose. The type of function to be performed is … Web Development javascript |
The End.