52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for thak123

I tried $('#page18').bind("load",function() { alert("total Type") ; }); and also i tried doing this $('#page18').ready( function() { alert("total Type") I want to call a function on Load of a Html5 Jquery Mobile page. I have various Div with <data-role="page"> Each of them has Id.Now with navigation when I reach on …

Member Avatar for Sogo7
0
159
Member Avatar for mlucianpavel1

Hello. I'm trying to make a dropdown script to work and I'm stuck to a point where I feel the answer is simple ,but I simply can't see it . The script should display data from the MySQL Database when I choose the last option but I don't know how …

Web Development mysql php
Member Avatar for mlucianpavel1
0
470
Member Avatar for mkarmi

I have changed root directory in xampp ( the documentroot and directory) and restart it, it worked but when I click on admin I got "Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again." …

Web Development php
Member Avatar for mkarmi
0
78
Member Avatar for weirdCreature7

Pls. help me with this code :) the alert box is not appearing and it goes directly to homebody_admin.php I want the homebody_admin.php to appear after I click the ok button on alert box pls help. Your help is highly appreaciated! thanks in advance :) if($password!= mysql_result($result, 0)) { echo …

Web Development php
Member Avatar for weirdCreature7
0
180
Member Avatar for CarterLangley

This has got me very confused. Here is the code but it is not doing what it should do!! echo "<span class='vehicle_table_normal'>";$str_bodystyle=str_replace("," ,"<br />",$bodystyle);$str_bodystyle=str_replace("-" ,"&#45; ",$bodystyle);$str_bodystyle=str_replace(" - " ," &#45; ",$bodystyle);echo $str_bodystyle; The first replace is the most important for display purposes at this moment. The next two are because …

Web Development php
Member Avatar for CarterLangley
0
119
Member Avatar for barce.barcelona.923

Good day everyone, so here, i have a problem with my repeater control's sql query, what i would really want to happen, is i have a randomized number from 1 to 60, that will tell the database which test question to select, (if it's only one, it's not a problem, …

Web Development asp.net dataset open-source sql
Member Avatar for kvprajapati
0
144
Member Avatar for hr.Ziggurat

Hi. i'm trying to login to an asp login page via php and curl... i wrote this code by google help. i expect see originale login page whith invalid username and password message , but i see only 'Object moved to here.' error. <?php $urlLogin = "http://xxxx/LoginPage.aspx"; $nameUsername='txtUsername'; $namePassword='txtPassword'; $valUsername …

Web Development php regex
Member Avatar for hr.Ziggurat
0
2K
Member Avatar for gacoekchip.pokher

hi all, help me please. CREATE TABLE `a_table` ( `id` int(11) NOT NULL, `phone` varchar(20) NOT NULL, `group` varchar(20) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; INSERT INTO `a_table` VALUES (1, '111', 'cd'); INSERT INTO `a_table` VALUES (2, '222', 'cd'); INSERT INTO `a_table` VALUES (3, '333', 'cd'); INSERT …

Web Development php
Member Avatar for veedeoo
0
132
Member Avatar for davy_yg

Form Captcha <script> function checkForm() { if (document.forms.myphpform.elements['yname'].value.length == 0) { alert('Please enter a value for the "Name" field'); return false; } if (document.forms.myphpform.elements['email'].value.length == 0) { alert('Please enter a value for the "Email" field'); return false; } if (document.forms.myphpform.elements['message'].value.length == 0) { alert('Please enter a value for the "Message" …

Web Development php
Member Avatar for davy_yg
0
1K
Member Avatar for Cameronsmith63

Hi, can anyone help me with paging on a gridview please? <asp:GridView ID="GridView1" CssClass="gridStyle" runat="server" AutoGenerateColumns="false" CaptionAlign="Bottom" GridLines="Horizontal" onselectedindexchanged="GridView1_SelectedIndexChanged" OnRowEditing="GridView1_RowEditing" ShowFooter="False" AlternatingRowStyle-BackColor="White" onrowcreated="GridView1_RowCreated" RowStyle-HorizontalAlign="Center" AllowPaging="True" onpageindexchanging="GridView1_PageIndexChanging" PageSize="5"> <RowStyle BackColor="#DEDFDE" ForeColor="Black" /> <Columns> <asp:CommandField ShowEditButton="True" ButtonType="Button" ItemStyle-Width="40px" ControlStyle-CssClass="button" ControlStyle-Width="43px" ItemStyle-HorizontalAlign="Center" /> <asp:CommandField ShowSelectButton="True" ButtonType="Button" ItemStyle-Width="40px" ControlStyle-CssClass="button" ControlStyle-Width="43px" ItemStyle-HorizontalAlign="Center" /> <asp:BoundField DataField="ID" …

Web Development asp.net
Member Avatar for nakor77
0
199
Member Avatar for rgutierrez1014

I'm using a code snippet from the Invision Power Board forum software on my own site to, sort of, connect the two. I have a "member bar" that I wanna put on every page in my website that has a login link, profile link, etc. I've already done this, the …

Web Development apache php
Member Avatar for almostbob
0
277
Member Avatar for gorybmovie

I am trying to setup a php testing server in Dreamweaver that connects to my webhost at webhostingpad.com. My webhost has php installed on it so I know I don't need to download xampp but I am still clueless as to how to set this up. Please help.

Web Development php
Member Avatar for almostbob
0
244
Member Avatar for klemme

I have a loop in php which echo out these divs: <div class="nyhed"> <p class="nyheds_dato_p" style="color:#900;">'.$pub_date[1].'/'.$pub_date[2].'/'.$pub_date[0].'</p> <p class="nyhed_p">'.substr($teaser, 0, 55).'..</p> <a href="'.$url.'" class="nyheds_link">'.$link_navn.'</a> </div>'; When ever a link is hovered, i am adding an animation to change the background color of the div class="nyhed". As it is now, all the …

Web Development javascript javascript-jquery
Member Avatar for klemme
0
215
Member Avatar for brynFlew

Hello, I am having trouble finding a good tutorial on how to install eclipse with aptana radrails on centos, when i try to install radrails in eclipse using the instructions givin here ([aptana](http://www.aptana.com/downloads/start)), i get these errors. Can someone point me in the right direction? Thanks :) An error occurred …

Web Development api ide ruby session
Member Avatar for Taywin
0
296
Member Avatar for heshanm

Hi All, I want to add data for the time tables. I have created 3 fields namely grade, class and stream which is only relevant for advanced level classes. otherwise the "stream" field should be disabled. In my database the class table and grade tables were already populated with data. …

Web Development php
Member Avatar for heshanm
0
228
Member Avatar for MMadhavi

Plz help me. I want to insert data in table which is filled by user. But i want to keep that insert query code in same file where i have created my html form. I want not to make insert.php individually. In this way i want to insert data in …

Web Development php
Member Avatar for broj1
0
119
Member Avatar for joshl_1995

Hello, I want to combine all my database table in to one line so i can put it all in the url e.g. Name | Times __________________________ test1 | 1 __________________________ test2 | 2 __________________________ This is how i want it to look in the url (Result.php?loggedin=true&links=test1-1_newline_test2-2)(_newline_ means that will …

Web Development php
Member Avatar for jstfsklh211
0
283
Member Avatar for heshanm

Hi guys, In the below form when a user enters an admission number and click on the relevant type report the report was generated. ..Then I want something like this.When a user enters an admission number which is already existing, a validation should come as "The number already existed". How …

Web Development php
Member Avatar for jstfsklh211
0
138
Member Avatar for krunal1986

Hi all, When i run my application on mysystem/localhost it gives me correct username. but when i host my application on IIS and then open application on other user's pc then it should show that pc's username. but it doesn't. how to retrieve username of that pc? thanks

Web Development asp.net
Member Avatar for JorgeM
0
186
Member Avatar for ashita08

Sqlconnection conn; Sqlcommand cmd; conn = new SqlConnection("Server=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\Database.MDF;Trusted_Connection=True;User Instance=yes"); conn.Open(); string cmdString = "Insert into Customer Detail (Customer_id,Name,Address,Contact_Person,Contact_Person_no)Values ('" + TextBox6.Text + "','" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox5.Text + "','" + TextBox4.Text + "')"; cmd = new SqlCommand(cmdString, conn); cmd.ExecuteNonQuery(); Label2.Visible = true; Label2.Text = …

Web Development asp.net
Member Avatar for sania khan
0
95
Member Avatar for confstu

Hello, a noob in web programming here. Doing some course related database, would appreciate any help :), I want to ask whether any of you can help me on how to retrieve get data from mysql using php function, but separate each data from mysql one by one, cause i …

Web Development mysql php
Member Avatar for confstu
0
244
Member Avatar for ckchaudhary

Hi all, i have the data coming from a json file. I need to print (echo) this into html. here's a part of json file "title": null, "about_us": "Asteria Grill welcomes you! I have tried many times to convince myself not to pursue another restaurant. However, it's my favorite hobby …

Web Development html-css json php
Member Avatar for ckchaudhary
0
96
Member Avatar for rayidi

I have problem with writing csv file using **fputcsv**. Its putting the page html also into the csv file. Whats wrong with my code ? //Excel header header("Content-Disposition: attachment; filename=\"Delivery_Reports.csv\";" ); header("Content-type: application/vnd.ms-excel"); $out = fopen("php://output", 'w'); $flag = false; // $result = mysql_query("SELECT * FROM senderids ") or die('Query …

Web Development html-css microsoft-office php
Member Avatar for ddsuresh
0
4K
Member Avatar for petrakid_1

I have a page on my site which, when a button is pressed, pulls in an AJAX response in a <div>. The response also has AJAX in it (this all works as it should). I want to be able to, after several checkboxes are checked, enable a button so that …

Web Development javascript
Member Avatar for AleMonteiro
0
155
Member Avatar for calebcook

HI. I've tried other codes, but they don't seem to work. What I'm trying to do, is grab a result from google's shopping page, and display it on my page. I only want the title, which is in the tag:[CODE]<h3 class="result-title">TITLE</h3>[/CODE] How do I do that in PHP? Thanks!

Web Development php seo
Member Avatar for karlmarsh05
0
2K
Member Avatar for vishalonne

Dear All How can I send mail from my site using SMTP outgoing mail server. I tried and checked may way but not achive any positive result. Here is my mail server detail- SmtpServer="mail.cbsecsnip.in"; SmtpPort="587"; SmtpUser="support@cbsecsnip.in"; SmtpPass="password@123"; // assume this is the password Can any body help me out in …

Web Development php
Member Avatar for Squidge
0
245
Member Avatar for GTTravis

I have a form that has a dropdown list with all the ID's of a particualr table in my database what i want to do is whenever the user selects a particular ID the remaining fields along with the id selected are loaded in a listview. and this dynamic list …

Web Development asp.net listview
Member Avatar for GTTravis
0
277
Member Avatar for GTTravis

hi guys i have a table in a database with data of which i want to display in a tabular format. In addition i want also to be able to edit a particular column of the displayed tabular data but the editing will only allow for the rentering of numbers, …

Web Development asp.net
Member Avatar for GTTravis
0
209
Member Avatar for cscheck

I need a bit of help understanding what I should do here. I have an .php page called view that has the following drop down form code in it. $sql = "SELECT DISTINCT dept FROM sw_lic WHERE dept != ''"; // (1) $result2 = mysql_query($sql); echo "<form action='NB_sw_lic/filter_view.php?$nt' method='POST'>"; // …

Web Development mysql php
Member Avatar for fobos
0
242
Member Avatar for gacoekchip.pokher

Hi All, help me please!. How to create Query for my project problem. Mysql table: CREATE TABLE `outbox` ( `id` INT( 11 ) NOT NULL , `phone_number` VARCHAR( 20 ) NOT NULL , `text` VARCHAR( 160 ) NOT NULL , PRIMARY KEY ( `id` ) ) ENGINE = MYISAM ; …

Web Development php
Member Avatar for LastMitch
0
167
Member Avatar for ziadkassam

Hello, I want to learn a framework for using php, I think wordpress is the perfect one, if there another opinion please tell me, and what is the right source to learn this framework.

Web Development php wordpress
Member Avatar for pritaeas
0
154
Member Avatar for LastMitch

Hi I want to know has anyone used **PEAR** or **htmLawed**? **PEAR**: http://pear.php.net/ **htmLawed**: http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/index.php I download the both files (**PEAR** & **htmLawed**) For **htmLawed** it's looks very simple to used but not sure how I can adapted to the websites? As for **PEAR** I finally got it installed! There's …

Web Development html-css php
Member Avatar for LastMitch
0
165
Member Avatar for gacoekchip.pokher

Hi All, How to Play Sound where record of mysql table is added?. thank you.

Web Development mysql php
Member Avatar for LastMitch
0
846
Member Avatar for vindyauwu

I have a following problem in my project. The administrator add the buyerid,styleno,buyername,buyeraddress and phone no to the system.(Buyerid is Auto increment.It is not adding by the admin.) When that added it goes to the table addnewbuyer in database.After adding this information buyerid is given to the buyer. From this …

Web Development php user-interface
Member Avatar for pritaeas
0
167
Member Avatar for viktor.jiracek.5

Hello all, I am working on an upload script. This one is taken straight from php.net. I tried to get it to work but can't seem to. Could you help out? This is the code: <?php $uploads_dir = 'file:///PETBookPro09/Users/petuser1/Desktop/'; foreach ($_FILES["pictures"]["error"] as $key => $error) { if ($error == UPLOAD_ERR_OK) …

Member Avatar for viktor.jiracek.5
0
195
Member Avatar for viktor.jiracek.5

Hello all, I am working on an upload function and am having problems. This is the message that it says: Warning: move_uploaded_file(../../../../data/C0017593-Human_brain,_PET_scan-SPL.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/...(other stuff) on line 163 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/Applications/XAMPP/xamppfiles/temp/phpMtgNWy' to '../../../../data/C0017593-Human_brain,_PET_scan-SPL.jpg' in /Applications/XAMPP/xamppfiles/htdocs/...(other stuff) on line 163 …

Web Development file-stream file-system php
Member Avatar for viktor.jiracek.5
0
1K
Member Avatar for jstfsklh211

Some browsers will resort a json array by index to make access faster, I understand this. The problem is that when I pass my json object to jeditable using the data setting, in those browsers my options dont come out in the order I need them (Alphabetic). PHP creating the …

Web Development javascript json
0
112
Member Avatar for feoperro

Hi, I would like to have a Combobox where the selected item is the value set in the session attribute. For example: HTML: [CODE] <select name='myCombo'> <option value='--Select Table--'>--Select Table--</option> <option value='OPTION1'>OPTION1</option> <option value='OPTION2'>OPTION2</option> </select> [/CODE] Javascript: [CODE] document.getElementbyName('myCombo').selectedValue = session.getAttribute("choice"); [/CODE] Thanks, -Ashton.

Web Development java-jsp session
Member Avatar for jerin francis
0
1K
Member Avatar for trektrak

I have this code as shown below. I've modified a bit to update the markers dynamically according to xml file extracting from php mysql database. There's nothing wrong with the script. The only thing I would love to do is to move the marker smoothly instead of the markers flickering …

Web Development api google-api seo
Member Avatar for pritaeas
0
1K
Member Avatar for bonsoirval

plz some should help me on how to connect my sim card to my website so that the site can send sms onbehalf of the sim with the sim id to my network provider and my clients thanks in advance

Web Development php
Member Avatar for gacoekchip.pokher
0
79
Member Avatar for vetle.haugen

Hi, Just before I jump from the roof :-) Need some help here - autosuggest jQuery: <!DOCTYPE html> <head> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script type="text/javascript"> $(function() { var timer; $("#txt1").on('keyup', function(e) { var self=this; clearTimeout(timer); if (self.value.length===0) { $("txtHint").text(''); }else{ timer = setTimeout(function() { $.ajax({ type: "GET", url: "gethint.asp?q="+self.value, }).done(function( hint …

Web Development javascript javascript-jquery
Member Avatar for pritaeas
0
279
Member Avatar for bLuEmEzzy

Good day, please help, when i transfer my phpcode in ubuntu I am getting this error * Warning: include(includes/sidebar.php) [function.include]: failed to open stream: Permission denied in /opt/lampp/tg/index.php on line 47* but when I'm using Windows vista my pages are okey... please help thank You..

Web Development php ubuntu windows-vista
Member Avatar for bLuEmEzzy
0
368
Member Avatar for latooplat

if(isset($_POST['add_user'])){ $passw = trim(htmlentities($_POST['password'])); $encrypted = enc_salt($passw); $con = "true"; $sql = "SELECT * FROM users WHERE username='".$_POST['user_name']."'"; $result = $database->query($sql); $row = $database->fetch_array($result); if($row!=""){ $con="false"; } if($con!="false"){ $sql = "INSERT INTO photo_gallery.users (username, password, first_name, last_name)"; $sql .= " VALUES ('".trim(htmlentities($_POST['user_name']))."','".$encrypted."', '".trim(htmlentities($_POST['first_name']))."', '".trim(htmlentities($_POST['last_name']))."')"; $result_set = $database->query($sql); echo '<script type="text/javascript">alert("Account …

Web Development php
Member Avatar for ryantroop
0
414
Member Avatar for coolrana1792

can anybody send me a project ONLINE DISCUSSION FORUM developed in php......

Web Development php
Member Avatar for <M/>
0
49
Member Avatar for napninjanx

I can just buy a machine server kinda shapped like a desktop and create my own blog and my own way and my design.... I do not want to use Blogger or Wordpress lots of people made complaints saying Wordpress and Blogger deleted there content of posting expressing them selves. …

Web Development wordpress
Member Avatar for Ezzaral
0
126
Member Avatar for SunnySideUp

Hi, I am looking for a procedural PHP script that would allow me/my users to upload video content in a number of popular formats. I would also like all the information to be linked into a MySql database as well. I already have a upload script for uploading documents but …

Web Development file-system mysql php
Member Avatar for phpapprentice
0
1K
Member Avatar for BloccPrince

Hi, I have a page that gets adverts and an image from mysql database. Getting the results is no problem. How do I make use of css to align each advert next to each other as opposed to every advert under one another. I also have a problem of the …

Web Development php
Member Avatar for BloccPrince
0
142
Member Avatar for gacoekchip.pokher

Hi All, Help me please...! How to get harddisk serial number and motherboard serial number using php?. Thank.

Web Development php
Member Avatar for gacoekchip.pokher
0
4K
Member Avatar for moblyft

I have two pages one called upload-file.php, this page uploads the image into the database and my folder. My PHP page looks like this. if (move_uploaded_file($_FILES['uploadfile']['tmp_name'], $file)) { $insert=mysql_query("insert into match_item_image set item_id='".$_SESSION["session_temp"]."', image='".$name."', adid='$adid'") or die(mysql_error()); $cc=mysql_insert_id(); echo "success".$cc; My other page consist of a javascript function which displays …

Web Development javascript mysql php
Member Avatar for rotten69
0
330
Member Avatar for empror9

Hello, I know a little about php and I want to develop a website about advertisment. something about register a website and search about available adverstiment. I don't know what is better to use, functions or classes? help me for this other question, how to develop a script and make …

Web Development php
Member Avatar for empror9
0
119

The End.