39,320 Topics
| |
Hi, I've written a php code where I need to save the data entered in a form to the mysql database. For that I'm using the following [icode]$strSaveTD = "<input type = button id=btnSave value=Save onclick='checkform(" .$iMode. "," .$iLevel. ",1)'>";[/icode] When the user clicks on "Save" in IE it works … | |
This query doesn't work. What have I dont wrong? [code=php] mysql_query("INSERT INTO list (title, url, description) VALUES ('$title', '$addtolist', '$description') DELETE FROM spider WHERE url='$addtolist'"); [/code] Heres the whole page if it makes things clearer. [code=php] <?php include('includes/config.php'); $addtolist = $_GET['add']; $open = file_get_contents($addtolist); $title = get_inner_string($open, '<title>', '</title>'); $description … | |
Good day to everyone.! I just want to ask a help if is it possible to fit any size of image in just a 32 x 32 image placeholder. i have already loaded the image from the database by just looking its path.but it it will display on the page … | |
I think I have a PHP configuration problem on my development machine where I am setting up a development environment which interrogates a local MySQL database from Eclipse on a Windows XP platform using an Apache server. I can execute the PHPINFO program so I have a minimal PHP system … | |
I'm slowly getting there with PHP templates! :) Here's my basic PHP page: [code]<TITLE>Star FM</TITLE> <head> <style type="text/css"> CAPTION.MYTABLE { background-color:#8080ff; color:white; border-style:solid; border-width:0px; border-color:black; } TABLE.MYTABLE { font-family:arial; font-size:10pt; background-color:#2554C7; width:780px; border-style:solid; border-color:black; border-width:0px; } TH.MYTABLE { font-size:10pt; color:white; } TR.MYTABLE { } TD.MYTABLE { font-size:10pt; background-color:#2554C7; color:white; border-style:solid; … | |
Ive got a basic moderation script to create but Im stuck as to how to do it because there would be too much data to transfer as post data. So heres the premise [code=php] $result = mysql_query("SELECT * FROM whatstobemoderated"); while($row = mysql_fetch_array($result)) { echo '<input type="checkbox" name="url">' . linkify($row['url']); … | |
Hi please help to get rid of this error/warning... Please see the following code carefully.. Look at the errors first ------------------------------------------- Warning: Cannot modify header information - headers already sent by (output started at /home/compkcom/public_html/includes/config.php:1) in /home/compkcom/public_html/cmpanel/check_login.php on line 20 ------------------------------------------- here goes the php script --------------- [code=php]<?php session_start(); ?> … | |
Hi frnds... i have been successfully uploaded videos to uploads folder through db... now i need to play that videos ....plz provide code for this one....presently ineed mediaplayer format... i got the video path....after i dont know how do that...is there any script to run videos.... plz help me asap... | |
Hi, I have WAMP installed on XP. I put everything under wamp/www folder to be run PHP. I want to use D:\ drive as well to run PHP along with wamp/www. Thanks | |
hi please help me to rid of these following warnings in following php script Actually this script is running smoothly on my local window server, but on mu linux hosted server following warnings are coming.. Please see please please please help me.. -------------------------------------Warnings------------- Warning: mysql_fetch_array(): supplied argument is not a … | |
hi, i want to create application for like 1> real estate & Property or 2> landlord and property ... there is any opensource code to create a this type of application?? or demo links.. | |
Hey whats up guys? I was using thenewboston tutorials on youtube and I am stuck. I was trying to connect to my database that i made. [code] <?php //opens connection to mysql server $dbc=mysql_connect('localhost','kybo13','****'); if(!$dbc) { die('Not connected: ' . mysql_error()); } //select database $db_selected=mysql_select_db("kybo13_game",$dbc); if(!$db_selsected) { die("Cant connect: " … | |
I've aquired some webspace and all I want to do is install phpbb but do not have the slightest clue where to start. Even a point in the right direction will help. Any input is very much appreciate. Can you tell me how to install and setup a phpbb forums … | |
Hi, I am working on a script whereby if you are not my friend where by i need to restrict people who are not my friends to view my profile. for example If I am the logged in user and i am trying to view someone else who is not … | |
Here's my predicament. I Have managed to send and retrieve some HTTP requests using the GET method successfully using the following code: [code=php] function send_to_host($host,$method,$path='/',$data='',$useragent=0){ // Supply a default method of GET if the one passed was empty if (empty($method)) { $method = 'GET'; } $method = strtoupper($method); $fp = … | |
Hi, I'm trying to create a database that stores shoes. Each shoe must have more than one size so I have created a table "mens_boot_test" with a field "size". In the size field I have an integer which holds the delimited values 1,2,3,4,5,6,7,8,9. I'm then trying to retrieve these values … | |
I have IPB 2.3.5. I need to decrypt (or encrypt) the passwords from the database so I can compare them to user input from another page. So, how does anyone happen to know how IPB encrypts their passwords? (Or how to decrypt them?) | |
I've been trying to create a template-based site on my XAMPP server, but it hasn't come to much! I saved [url]http://www.wyvernfm.co.uk/schedule.asp[/url] as testpage.htm using Opera (best browser for saving webpages in!) but am not sure how to set variables in a PHP template for the presenters and images so that … | |
i saw that most of the facebook applications are developed on php so i also want to create a social networking application so i wanna know which language is suitable for social networking application PHP or .NET <URL SNIPPED> | |
Hello. I am trying to edit my event registration site so that after the registration cut off date, the link will no longer be valid and it will display "registration closed" I cannot figure out the syntax error here. [code] <? if ($registerend < NOW()){ print "Registration has ended"; }else{ … | |
Hello all, Actually i am making a osCommerce website in wich i need UPS shipping system. how it can be generated in PHP . Why we use this system . I have no idea about UPS shipping system . Pleas help me. It is very urgent. Thanks Gagan | |
i have three buttons 1.orkut 2.facebook 3.myspace Suppose when i click on orkut button, it ask for username and password 1>how to check this username and password is correct or not?? 2>If Username and Password is correct... I want to show photos from orkut How to do this?? | |
Hello all! I was having a hard time trying to get my pagination to work. Now the following code throws up this error: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource Any idea what could be the problem? Any help is much appreciated! [code] <?php include ("databaseinfo.php"); … | |
Hello, I have not had a huge amount of experience with regular expressions. Any help you can give is greatly appreciated. I have an input file like this: [CODE]Name: Bob, Age: 20, Details: Likes chocolate Hates lettuce, Location: London Name: James, Age: 42, Details: Sometimes goes swimming, Location: New York … | |
Good dat to everyone.! Ive just so tired just to finished my thesis. Ive got problem in php summing up while looping and filtering. here is my code: [code=php] mysql_select_db($database_enamysqldb, $enamysqldb); $query_recpayment = "SELECT amountpaid, username, SUM(amountpaid) FROM paymentsummary WHERE username = %s and foryear = %s and forlevel =%s", … | |
[url]http://www.levelopacity.com/[/url] go to this site and chk out the footer.... its always there...i mean kinda sticky or fixed....how to do this..... | |
Hi All I'm new here and have searched high and low for an answer to my problem, and have so far had no joy. I am trying to create a if/else statement depending on the outcome of a SQL command that should be extremely simple and basic, but for some … | |
i have created paypal sandbox account and while process i got message you will get confirmation mail click on the link to activate.. But issue is i have still not got mail since 1 week | |
I'm having trouble figuring out how to display data from another indexed table. What I have is one table (assets) with a majority of my data in it. I use a simple select statement to display the data. Within that data is a field of "typeid" which is an indexed … |
The End.