52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ASHIQUE

Good day, I need help with my ajax based dynamic drop down list. Right now, ajax.php pulls up data depending on value at a single column. I need it to pull up data based on value at certain columns. I am new to php and its going over my knowledge. …

Member Avatar for pritaeas
0
379
Member Avatar for AARTI SHRIVAS

hello all i have to work in joomla virtuemart for my client he wants to give discount on products in some other manner there are 2 category of products 1stcategory and 2nd category now 2nd category have more sub category and sub-sub category now i what client want that when …

Web Development php
0
303
Member Avatar for aripaka

Hi, I am a novice in .Net. Can anyone please help me by clarifying the below doubts... :cool: How can we include a client side script like Javascript or VBscript in an ASP.Net page? Can we have multiple <script> blocks in ASP.Net page?

Web Development asp asp.net java javascript vbscript
Member Avatar for Ravi_10
0
561
Member Avatar for programmer12

Hi, I am confused on why my function is not being executed. I have setup the AJAX to insert data into the database and on success to grab information from the database and print it out on the site, but I also added a function to be called or executed …

Web Development javascript
Member Avatar for programmer12
0
17K
Member Avatar for Mohamed_26

Hello Everyone, I have written code to create Temporary Table using PHP script. Now, when I run the script, it seems to have created the temporary table. Now, my problem is when I try to do INSERT statement in PhpMyAdmin into the temporary table I create, I am getting an …

Web Development php
Member Avatar for Mohamed_26
0
3K
Member Avatar for Iikeloa

Hi I wrote this code and I hope that you can tell me what is wrong with it .! $sql = "INSERT INTO offers (title,description,location,type,status,img,real,username) VALUES('".$title."','".$description."','".$location."','".$type."','".$status."','".$img."','".$real."','".$username."')"; $query = mysql_query($sql) or die(mysql_error()); The error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL …

Web Development mysql php
Member Avatar for Iikeloa
0
177
Member Avatar for Julia25

i have two product categories which customer can preview when click, and wish to show a message on each item. Ive found a nice script but need help to make this in 2 sets. need help. Happy new year! <!DOCTYPE html> <html lang="en"> <title>Untitled Document</title> <script type="text/javascript"> var current = …

Web Development html-css javascript
Member Avatar for Airshow
0
567
Member Avatar for Borderline

Afternoon I set up a substring on the raceid column of my database; the raceid column consists of the season+individual race number, to produce a unique id number. Image of the database below - my code was doing what I expected (hoped for?!) and outputting the four digit season. http://www.arabianraceform.co.uk/form/horses/dbimg.jpg …

Web Development php
Member Avatar for Borderline
0
159
Member Avatar for mattyd

I am still working on the redirection issue (As noted in a previous thread here). I think I may have found a nice solution via a video tutorial on the subject. When running this test script, it should simply load google.com; The result though is a "Page not found" screen. …

Web Development php
Member Avatar for nauticalmac
0
193
Member Avatar for CraigWinder91

Hi there, I am getting the following error. Could you review my code and help me as to why? I am using the mod_rewrite extention also. Notice: Undefined index: in /var/www/incpages/mylines.php on line 48 <?php if( basename( __FILE__ ) == basename( $_SERVER['PHP_SELF'] ) ) { exit(); } include("includes/config.php"); if ($maintancemode …

Web Development php
Member Avatar for diafol
0
182
Member Avatar for Amr87

Give that array I want to use the random string attached to the tab-title and tab content keys which are rEXMp and 3T2IV respectively , I want to use those to split the array into two arrays and getting rid of these characters in the new array and also add …

Web Development php programming-construct
Member Avatar for Amr87
0
211
Member Avatar for rajatchak

# Hello. I am working on bootstrap 3 and here is the problem i am facing below: # 1. *This is the problem i am facing : http://oi44.tinypic.com/14b5ob8.jpg* * When i click on the top navbar, the bottom navbar opens up too and vice versa/ * I assume that i …

Web Development css-bootstrap data-science ui-ux
0
255
Member Avatar for ngonix

Hello, I have an issue with my ajax script. Basically I want to be able to stop a php script from executing when I click on the Cancel button of the Confirm Dialog box. Here are the code snippets for my application: policy.html: .... $(document).ready(function(){ $('#process').click(print_check); }); function print_check(){ var …

Web Development php
Member Avatar for PcPro12
0
1K
Member Avatar for chrisschristou

hello friends i want to creat a calculator in my form for calculate total price in real time for exemple" total field = price field + quantity field" my form is a html form and price value is php value <form action="" method="post" name="formulaireajout" class="formulaireajout" id="formulaireajoutid"> <input name="price" type="text" id="pricefield" …

Web Development javascript javascript-jquery php
Member Avatar for chrisschristou
0
3K
Member Avatar for chrisschristou

Hello and mery christmas and happy new years. on my site i would like to create a simple php/mysql shopping cart use html form to insert product in shopping cart table. with the help on forum i created a md5 hash it generate beatyfull code... every time when i click …

Web Development php
Member Avatar for chrisschristou
0
339
Member Avatar for DjFumon

hello, i need help to scrape the image of the movies from http://www.yaske.to/es/pelicula/0003735/ver-you-39-re-next-online.html i have this but not works fine: $jm_anime_imagen = cut_str($pagina, '<meta property="og:image" content="', '" />'); $imagen = str_replace("http://yaske.to/upload/images/", "", $jm_anime_imagen); copy($jm_anime_imagen, 'imagen/'.$imagen); echo '<img src="http://www.masfriv.com/imagen/'.$imagen.'" width="148" heigth="220" />';

Web Development image php
Member Avatar for DjFumon
0
155
Member Avatar for Zahid_4

Hi, I want to build a web application for customers to run on their local servers on their computers offline. I want that my code logic be protected and no one can edit and use my code without my permission. Even administrator(client) of that application don't have permission to edit …

Web Development php
Member Avatar for Zahid_4
0
316
Member Avatar for hriti

is it possible to add any font in ckeditor?? if yes then how???

Web Development php
Member Avatar for chrishea
0
88
Member Avatar for prem2

Hi, I have recently getting the follwing error when using soap in my php. Fatal error: Class 'SoapClient' not found My php version : PHP 5.4.19 (cli) Installed: php-soap.x86_64 0:5.3.3-23.el6_4 Currently using centos $client = new SoapClient('https://sandbox.cashu.com/merchants/cashUPayments.wsdl',array("trace" => 1)); Kindly, let me know how to fix it out. I have …

Web Development api php
Member Avatar for cereal
0
994
Member Avatar for leadcrumb

Wordpress - I want to use a title condition for displaying info on a page, from a MySQL table "country". The condition must compare the title with the names in the column "name" and when it match a value than display on the page the text from column "description" from …

Web Development mysql php wordpress
Member Avatar for nauticalmac
0
487
Member Avatar for DjFumon

Hello, i have this code for extract the categories of the movies in one site: <?php $jm_anime_genero = cut_str($pagina, '<tr> <td width="133" align="right" valign="top">Genero : </td> <td width="329" align="left" valign="top">', '</td> </tr>'); echo $jm_anime_genero; ?> this is the original source: <tr> <td width="133" align="right" valign="top">Genero : </td> <td width="329" align="left" …

Web Development php
Member Avatar for cereal
0
428
Member Avatar for marifard

Dear, I make a php page to upload the images, pdf, swf etc etc for specific orginisation entered in same form. In the form i made the input type files to upload a maximum of three files but i know how to upload one of them only. here i upload …

Web Development file-system image mysql php
Member Avatar for nauticalmac
0
367
Member Avatar for Dani

I was wondering if there's a site out there that gives statistics towards the percentage of sites that use jQuery UI? (Note I'm not looking for the actual number of sites nor jQuery itself ... just jQuery UI). I rolled a custom version of jQuery UI that only uses about …

Web Development cdn javascript javascript-jquery
Member Avatar for Troy III
0
366
Member Avatar for Linddha

Im new in Ajax, i try to learn Ajax to change my PHP script into Ajax,. when i look for an reference, i found a defferent Ajax Script, and Ajax JQuery? so what is deference between AJAX and JQuery?

Web Development javascript javascript-jquery
Member Avatar for Troy III
0
334
Member Avatar for hriti

hello i have a problem if anyone can solve it please help me... i have a page from which i get type on left side of page from refrence page...and when i click any one of the reference it shows list on same page regarding to that reference when i …

0
89
Member Avatar for Mohamed_26

Hello Temporary table is not being deleted once the connection is closed. I am not sure if the code is used correctly. Because when I run the code it just says table not found. SO, i had to create a table manually and then it worked. Thank you <?php $hostname …

Web Development php
Member Avatar for Mohamed_26
0
179
Member Avatar for nidhinmohanan

<?php ob_start(); require( 'fpdf.php' ); $pdf = new FPDF(); $pdf->AddPage(); $pdf->Open(); $con = mysqli_connect( "localhost", "root", "", "my_db" ); // Check connection if ( mysqli_connect_errno() ) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $result = mysqli_query( $con, "SELECT * FROM Persons" ); while ( $row = …

Web Development pdf php
Member Avatar for nauticalmac
0
159
Member Avatar for RascelleGrepo

Hello. I am having a hard time in figuring out how to view the pdf file after uploading it in your system. My plan is retrieved PDF files that is stored in mysql database and display them in the browser when the user click the view button. please help me. …

Web Development mysql pdf php
Member Avatar for nauticalmac
0
3K
Member Avatar for RascelleGrepo

I am having a problem on notifying the user when he/she submit a empty form. When I submit an empty form, the system doesn't notify or alert the user that the form is empty. And when I put a title and I leave the content textbox empty its still add …

Web Development mysql php
Member Avatar for RascelleGrepo
0
265
Member Avatar for mattyd

*I apologize if this has already been asked/answered* I am have trouble with this, although I imagine the solution is rather simple: 1. User completes form and submits 2. Page either reloads displaying User-entered data *or* redirects to a *new* page displaying said data for User I have been trying …

Web Development php
Member Avatar for mattyd
0
278
Member Avatar for Mohamed_26

I am getting this error. This is my code Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /studhome/0/1104107/public_html/mysql_connect.php on line 33 I HAVE NO IDEA WHAT I AM MISSING!!!!!!!!!!! <?php $hostname = "localhost"; $username = "1104107"; $password = "r940c1"; $database = "db1104107"; //echo '24'; //connection to the …

Web Development php
Member Avatar for cereal
0
4K
Member Avatar for muhammad.ibraheem_1

using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.IO; using System.Text; public partial class _Default : Page { protected void Page_Load(object sender, EventArgs e) { if(!IsPostBack) Textbox.Text = "Enter your Name here"; } protected void Button_Click(object sender, EventArgs e) { string Filename = "http://localhost:55688/TextFile.txt"; if …

Web Development asp asp.net
Member Avatar for pritaeas
0
3K
Member Avatar for noel9

hieee i want to develope email system for my project so which free email server and email client should i used it should be scalable please help.... thnkss in advance

Web Development email php
Member Avatar for Pinaci
0
129
Member Avatar for Mits#
Member Avatar for AARTI SHRIVAS
0
76
Member Avatar for dinhunzvi

how do i write a regular expression to validate user input to ensure that the user input contains 1 digit, a space and any number of letters.

Web Development php
Member Avatar for pritaeas
0
157
Member Avatar for sourabhgkr

here is the code for menu. (document).ready(function(){ $("#main-nav li a.main-link").hover(function(){ $("#main-nav li a.main-link").removeClass("active"); $(this).addClass("active"); $("#sub-link-bar").animate({ height: "40px" }); $(".sub-links").hide(); $(this).siblings(".sub-links").fadeIn(); }); $("#main-nav").mouseleave(function(){ $("#main-nav li a.main-link").removeClass("active"); $(".sub-links").fadeOut(); $("#sub-link-bar").animate({ height: "10px" }); }); }); HTML code <div id="sub-link-bar"> </div> <div id="wrap"> <div class="roundfg"> <ul id="main-nav"> <li><a class="main-link" href="#">Home</a> <ul class="sub-links"> <li><a class="main-link" …

Member Avatar for PcPro12
0
2K
Member Avatar for jaejoong

Hi, I would like to know what does this mean? I have this script loaded in page_load from my master page Page.ClientScript.RegisterStartupScript(Me.[GetType](), "onLoad", "DisplaySessionTimeout()", True) and a javascript data in my mastepage.aspx var sessionTimeout = "<%= Session.Timeout %>"; function DisplaySessionTimeout() { //assigning minutes left to session timeout to Label document.getElementById("<%= …

Web Development asp.net session
Member Avatar for JorgeM
0
184
Member Avatar for chen.fisher

Hi, I'm having a problem when my friendly url path contains ".aspx". When the path contains ".aspx" all usage of "~/" is resolved incorrectly. For example: When the friendly url is something like this: [url]http://www.example.com/a/b/c/d.aspx[/url] then the tilde "~" is resolved as "../../../" which is good. BUT, when the friendly …

Web Development asp.net perl
Member Avatar for balajijadhav
0
674
Member Avatar for FaheemSajid

Hi! I am facing a problem that i have redirected a website to the new one in htaccess but google webmaster is showing the "Links to Your Site" problem in webmaster and according to my knowledge this problem is very critical and serious. Is there any solution to get rid …

Web Development abuse php seo
Member Avatar for FaheemSajid
0
396
Member Avatar for Mohamed_26

Hello Everyone, I have to create a temporary table for basket. I have to include certain fields from different table. Now I know the code to create a temporary table "CREATE TEMPORARY TABLE", is that right? But I dont know how to choose different fields from different table. Let me …

Web Development mysql php
Member Avatar for Mohamed_26
0
309
Member Avatar for Nadeem_2

Hi folks I want to universal website crawler using PHP, so my crawler will work on any given site. By using my web application, user will input any site, will provide input, what he needs to get from given site and will click on Start button. Then my web application …

Member Avatar for cereal
0
414
Member Avatar for Abdul Waseem

Read first row from csv file and create table automatically according to it(csv file fields) in mysql. Looking for PHP script? I have tried this. <?php $arr = array(array(),array()); $num = 0; $row = 0; $handle = fopen("./contacts.csv", "r"); while($data = fgetcsv($handle,1000,",")){ $num = count($data); for ($c=0; $c < $num; …

Web Development file-system mysql php
Member Avatar for Bachu
0
5K
Member Avatar for Iikeloa

Hi I have this code and the code is working very well but I have an error : Notice: Undefined index: id in /var/www/core/myaccount.php on line 9 Here is my code: <?php session_start(); require_once('inc/config.php'); require_once('inc/header.php'); require_once('inc/functions.php'); login(); if(!$_GET['id']) { header("Location: index.php");} switch($_SESSION['id']) { case $_GET['id']: $id = $_GET['id']; $query = …

Web Development php
Member Avatar for broj1
0
319
Member Avatar for judah.raine

Hi there, totally confused and hoping someone can help. I have an existing article template which suddenly developed this error when viewing the article: Parse error: syntax error, unexpected $end in /home/classicr/public_html/components/com_cobalt/views/record/tmpl/default_record_library.php on line 324 My confusion is because I was previously using the template without errors, and to the …

Web Development php
Member Avatar for Dani
0
270
Member Avatar for momonq1990

hi sir! little bit lost here in php. Pls help! how can I add css file for may xml created from php? <?php bla bla bla..... ---------<?xml-stylesheet type="text/css" href="markers.css"?>-------how can i add this line? echo '<markers>'; while ($row = @mysql_fetch_assoc($result)){ echo '<marker '; echo 'name ="' . parseToXML($row['name']) . '" …

Web Development html-css php xml
Member Avatar for Bachu
0
271
Member Avatar for Aamit

Hi, I want to do like: 1> [COLOR="Red"]browse file and upload .xls file only[/COLOR] (Not csv or other format) 2> save into mysql database. Any sample demo example?? Or link please?

Web Development mysql php
Member Avatar for Abdul Waseem
0
134
Member Avatar for João_5

Hello guys, i have been working on a new script that will import data from a TXT file to mysql. Using this code works ok: $sql = 'LOAD DATA LOCAL INFILE 'logons-16-12-2013.txt' INTO TABLE pcvsuser COLUMNS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY '\\r\\n''; But if i …

Web Development mysql php
Member Avatar for Abdul Waseem
0
4K
Member Avatar for Iikeloa

Hi when I run my code the loop doesn't stop! which force the browser to freez.I don't know what is wrong with the loop I have around 4 users only ! and my query select only one of them here is my code : $id = $_GET['id']; $sql = "SELECT …

Web Development php
Member Avatar for cereal
0
195
Member Avatar for The_Thorn

To begin, I adore PHP. Wow. The "problems" with PHP is not PHP, it's me, honestly. I am having issues coding at times and a tad of frustration. But, I am receiving great results with reseach, help and hard work. My current issue is rather simple I believe but I …

Web Development php
Member Avatar for cereal
0
290
Member Avatar for sk4nyk

Please check my PHP mail attachment program. its only sending the attachment not the mail body. I have tried to open the attachment but the attached files is corrupted. Full Code with JQuery http://pastebin.com/T0WtnxbT PHP mail Attachment Script <?php error_reporting(E_ALL ^ E_NOTICE); // hide all basic notices from PHP //If …

Web Development php
Member Avatar for sk4nyk
0
212

The End.