39,392 Topics
![]() | |
hi frnd... i want to remove/disable ADDRESS BAR from the new pop up window... now i m using this code....its working only for IE6..... [CODE]window.open(url ,'title', 'location=1,menubar=no,resizable=no,scrollbars=no,status=no ,toolbar=no,width=300,height=200')[/CODE] Also i want to remove expand button in browser...plz tell me how can i do it... Thanks in advance... | |
Hi, now i m working for musical website... here my problem is how can i create a playlist and how to pass the selected songs to my player.... i dont have any idea regarding this.. plz give me JAVASCRIPT, php code ... plz give me some suggestions...sorry for asking code..but … | |
hi friends, again a problem I have a mysql table name tbl_admin fields are below id(int), image1(text), image2 (text) , image3 (text) now i want to show these pics, i use randomly function to display them [code=php] $query=select * from tbl_admin where id=5; $result=mysql_query($query); $row=mysql_fetch_array($result) [/code] now for show i … | |
[code=php]//create and issue the first query $add_topic_sql = "INSERT INTO forum_topics (topic_title, topic_create_time, topic_owner) VALUES ('$_POST[topic_title]',now(),'$_POST[topic_owner]')"; $add_topic_res = mysql_query($conn, $add_topic_sql) or die(mysql_error($conn)); //get the id of the last query $topic_id = mysql_insert_id($mysql);[/code] | |
Ok so I wrote a little script that allows me to call information from my database. Basicly this. <table> <tr> <td id="seal"><?php include("sql.php"); echo "$websiteaddress"; ?></td></tr> </table> All this does is connects to the sql file echoing the users website address thus I type in mywebsite.com/index.php?name=aname and it returns their … | |
Hello Friends I am new to PHP can any one help me i am facing one problem whenever i am working on local host my delete command is working without problem but whenever i am uploading this file on internet through FTP the command not deleting any records Every one … | |
This script works with require_once and produces warnings for line 6 when I try to use $mysqli = new... (which I've commented out). Please help me with this script: [codebox]<?php require_once "connect_to_mysql.php"; //$mysqli = new mysqli("localhost","user","pw","db"); $result = mysql_query("SELECT * FROM example") or die(mysql_error()); echo "<table border='1'>"; echo "<tr> <th>Name</th> … | |
<?php session_start(); //Check User Session include ("includes/check_session.php"); include 'includes/config.php'; $current_module = 'MATERIALREQ'; //$related_modules = array('BIDDINGENTRY','PIRRAISING','POLIST','BIDDINGSELECTION','GRV'); include ('includes/check_acl.php'); //include 'includes/config.php'; include 'includes/sqlquery.php'; include 'includes/message.php'; $valid = ''; $current_user_id = $_SESSION['associate_id']; //if the session value is present, set whether the last transaction is stored or not if (isset($_SESSION['mrmsg']) && ($_SESSION['mrmsg']!='')) { $valid … | |
I have images I would like to serve that will need individual information posted on them. Just a word or two. The information will be pulled from our database. The text will depend on the url that is entered. We tried just a simple echo but when you view just … | |
I am generating a PHP error with this function but don't know why. Little help... [CODE] function Validate_Page_Nav($LastPage, $ErrorPage) { if($_SESSION['Staff_ID']) { $trimmed = str_replace($staffroot, '', $_SERVER['SCRIPT_NAME']); $resul = $db->query("SELECT * FROM Page_Access WHERE URI = '$trimmed'") or die("failed to get access data"); $page_access = $resul->fetch_assoc(); $URI_access = explode(",", $page_access['User_Level']); … | |
[CODE]<?php if(isset($_POST['register'])) { $username = $_POST["username"]; $password = $_POST["password"]; $email = $_POST["email"]; $conf_pass = $_POST["confirm"]; $error = false; $connect = mysql_connect("localhost", "stickmi1_data", "electricCompany"); $database = mysql_select_db("account", $connect); $usernameCheck = mysql_query("SELECT username FROM users WHERE username = '$username'"); // Registration Form Validation Script if(!$username || !$password || !$email || !$conf_pass) { … | |
Hi, I have a piece of code below: [code=php] // Check our data if (preg_match('/[^a-zA-Z0-9]/', $new_pagealias)) $error = "Invalid page alias. Use only normal characters."; if (preg_match('/[^a-zA-Z0-9]/', $new_pagekeywords)) $error = "Invalid page keywords. Use only normal characters."; if (!$new_pagealias) $error = "Page alias is missing"; if (!$new_pagename) $error = "Page … | |
i have to crop images. but i have code to crop images. but .png files are not cropping that code. i have to crop .png image files. plz any one help me. | |
Hi, nusoap doesn't support php 5.3 therefore, It is not usable for me. Is there any SOAP+PHP example for me to be run on my localhost rather than pointing/accessing wsdl files of other websites? Everything should be stored in my localhost. Thanks | |
Dear All, Since in Our Country is blocking the FTP port 21 and others port, we only use Web2FTP service. But unfortunately Web2FTP service is also down. Do you know a good PHP based WebFTP script. many thanks in advance, regards, saya | |
Hi folks, my url querystring is [CODE]querytring.php?checkin=10/11/2009&checkout=10/01/2009&minprice=100&maxprice=200&page=1[/CODE] i want to remove [CODE]&page=1[/CODE] from this url. Please help Thanks | |
hi guys, just wanna ask, could you give me some code about session time out? i have a different page for login and index. any help would be very much appreciated. thanks in advance ^^ | |
PHP mailer class is a pretty famous 1 so i believe many of u have used or atleast heard abt it.. The problem i m facing is when i try using it with my application on my local system it works fine but as soon as i upload it on … | |
I need to send sms to my customers. I developed my website using PHP. I need Own SMS gateway to send and receive message. How to create own SMS gateway? | |
Hey! I'm quite new to this whole thing, so please don't fire me with shait on this one =D I'm trying to learn PHP and MySQL, and atm I am trying to make a website which corresponds with a database - a database with customers. 1. I want the page … | |
Hi guys, I'm trying to use the mail php function to send my subscribers emails like news, information, offers,etc. The problem is when I test it on my system (Fedora 11 box and sendmail is up and running without changing any settings) I usually receive the mails after 4 or … | |
HI my host doen't support cron job (I can't see any thing that related to cron function in my control panel of my host. I want to execute a page daily and the server automatically run the page daily.What shloul i do?How can I do that? My host is byethost … | |
what is the script to customise a login. for example if "abc" logs in to the website, how do i get it to display "Welcome abc", if "pqr" logs in "Welcome pqr" and so on... please help! | |
how do i add an image path to a mysql table of mine which has "product image" as a field. i have saved the necessary images to images folder in root folder as well... please help! ![]() | |
Is there a way I can display an image, pdf or word doc that is stored in a my sql database? I tried to pull up a word doc with this: [CODE]$sql = " SELECT * FROM user WHERE username = '$_SESSION[MM_Username]' "; $result = mysql_query($sql); while($row=mysql_fetch_array($result)) { $inv=$row['invoice'];} ?> … | |
When I run my fie and open this one folder, I get this error message Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/ezbiz/public_html/ar/templates/a_settings.html on line 61 Any help will be greatly appreciated. | |
Hello all.. Very new to php and am working on an online strategy game as a precursor to my business websites. I am having a problem coming up with something I thought would be simple. My intention was to have a list of units display on the screen using checkboxes … | |
Hello, I am a training developer in .NET and web 2.0 technologies and this one is an exercise from one of our first lessons in PHP: accessing a MySQL database from a PHP script. The problem I've encountered is that while database is thought to be in Unicode (i.e. the … | |
Hi everbody, can anybody give me the code for payment integration for hsbc,paypro. also i need code for xml aparing in php5 thanks shailesh | |
Hi, This is Ashok from India as I am a student but currently having a training for web development so I made a Job Consultancy Project and face the following problems.... 1. i designed a form on which user can input the information about the candidates and a search will … |
The End.