39,402 Topics

Member Avatar for
Member Avatar for Venom Rush

What I'd like to do is store the "selected" value of the drop down box in a DB. At the moment the selected value for the drop down list is pulled from the DB. Now what I want to happen is if I don't want to change that specific option …

Member Avatar for Venom Rush
0
1K
Member Avatar for theimben

Im trying to delete records. Most delete ok but some don't and Im completly lost as to why... The information Im storing are just URLs. Could it be to do with some irregular characters within these URLs? Is there a recomended way to store a URL? Please help me out. …

Member Avatar for theimben
0
130
Member Avatar for jeffc418

Hi all! I've been working on the validation for my web site, and I am currently trying to write a script so that if I have the following usernames in the username column of my MySQL table entitled "members": -Jeff -Pete -Bob That no one who is registering a name …

Member Avatar for jeffc418
0
100
Member Avatar for progurammaar

please check it out [url]www.gojyotish.com[/url] i use a gif background....its not appearing a it should in chrome, just see the difference in appearance in firefox.....

Member Avatar for theimben
0
88
Member Avatar for dmanw100

Hello, I am new to php and enjoy the fact that it is very similar to languages that I'm much stronger with (mainly C++ and Java). While working through the w3 school's tutorials I noticed a foreach() loop. What loop in C++/Java would this be similar to? It seems like …

Member Avatar for Stefano Mtangoo
0
190
Member Avatar for justinmyoung

Hi I must now seek help after too many hours of failure. I'm using a basic form with Ajax (prettyPopin), but the form is not connecting to the database. I'm obviously overlooking something. Here is the basic form: retailer.html [CODE] <h3>Retailer Contact</h3> <form name="ajaxForm" action="ajax/form_submit.php" method="post" class="genericForm"> <label><span>* Full name</span> …

Member Avatar for theighost
0
107
Member Avatar for zerugaze

For instance, I have the following string: table:column I need to get "table" as the result of the php regular expression. So, I need everything before the ":" symbol After that regular expression is performed, I would also like to get everything after the ":" symbol, or "column" as well.

Member Avatar for jedi_ralf
0
146
Member Avatar for theimben

Can anyone see anything wrong with this. Im stuck :( [code=php] $sql1 = mysql_query("DELETE FROM spider WHERE url='$addtolist'"); if (!mysql_query($sql1,$con)) { die('Error Deleting: ' . mysql_error()); } echo "Record Deleted <br />"; $sql2="INSERT INTO list (title, url, description) VALUES ('$title','$url','$description')"; if (!mysql_query($sql2,$con)) { die('Error Adding: ' . mysql_error()); } echo …

Member Avatar for theimben
0
113
Member Avatar for rEhSi_123

Hello Everybody, Wondering if any of the experts could help me out. I am trying to create a forum system for my university website. I have created the tables by using WAMP-phpMyAdmin, where the data from the forum would be inserted. Now, I would like to implement this using PHP. …

Member Avatar for Will Gresham
0
90
Member Avatar for Stefano Mtangoo

Hi All, Please help me to understand it better. I want to have a simple site with Header, navigation bar, side bar and opposite to side bar, main contents. I want to Include files for this sections in index.php. Here is a thing I dont understand: ---- If I divide …

Member Avatar for Stefano Mtangoo
0
114
Member Avatar for Besherek

Hi folks, I've used a while loop to call about 5 category names from a database to make a navigation. I didn't want to hard code the categories because I want to be able to change them using Content Management and have the nav update from the database. [CODE]<a href="category.php?cat=<?php …

Member Avatar for Besherek
0
193
Member Avatar for pecussionist

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 …

Member Avatar for cwarn23
0
150
Member Avatar for npandu_24
Member Avatar for cwarn23
0
103
Member Avatar for theimben

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 …

Member Avatar for theimben
0
96
Member Avatar for PinoyDev

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 …

Member Avatar for PinoyDev
0
94
Member Avatar for rouse

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 …

Member Avatar for rouse
0
1K
Member Avatar for whitestream6

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; …

Member Avatar for Will Gresham
0
84
Member Avatar for theimben

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']); …

0
62
Member Avatar for hbk_star2006

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(); ?> …

Member Avatar for mschroeder
0
124
Member Avatar for ahmksssv

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...

Member Avatar for ahmksssv
0
93
Member Avatar for veledrom

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

Member Avatar for veledrom
0
91
Member Avatar for hbk_star2006

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 …

Member Avatar for hbk_star2006
-1
120
Member Avatar for Aamit

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..

Member Avatar for chrishea
0
108
Member Avatar for gangsta gama

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: " …

Member Avatar for gangsta gama
0
138
Member Avatar for jonojo

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 …

Member Avatar for Andrieux
0
210
Member Avatar for oskido2010

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 …

Member Avatar for oskido2010
0
133
Member Avatar for humbug

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 = …

Member Avatar for hielo
0
167
Member Avatar for Roybut

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 …

Member Avatar for Roybut
0
88
Member Avatar for Andrieux

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?)

Member Avatar for Andrieux
0
646
Member Avatar for whitestream6

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 …

Member Avatar for whitestream6
0
162
Member Avatar for arnoldsmith

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>

Member Avatar for chrishea
0
96
Member Avatar for jzimmerman

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{ …

Member Avatar for jzimmerman
0
106
Member Avatar for gagan22

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

Member Avatar for almostbob
0
60
Member Avatar for Aamit

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??

Member Avatar for Aamit
0
105
Member Avatar for designingamy

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"); …

Member Avatar for death_oclock
0
92
Member Avatar for jedi_ralf

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 …

Member Avatar for jedi_ralf
0
179
Member Avatar for PinoyDev

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", …

Member Avatar for PinoyDev
0
94
Member Avatar for progurammaar

[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.....

Member Avatar for progurammaar
0
94
Member Avatar for frostiecuk

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 …

Member Avatar for frostiecuk
0
105
Member Avatar for snadboy6371

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

Member Avatar for ShawnCplus
0
60
Member Avatar for rickarro

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 …

Member Avatar for rickarro
0
160
Member Avatar for RockNRoll

How would i go about making a music uploader / player or were could a get a script that does that? I want the user to be able to listen as well as contribute music to the site..

Member Avatar for uncle_smith
0
126
Member Avatar for shadiadiph

Hi I don't get this it works fine but any file i upload that is over 300kb doesn't get emailed or saved to the server but if i upload two files for example 260kb 290kb they both upload and are both saved to the server. here is what I am …

Member Avatar for shadiadiph
0
96
Member Avatar for ahmksssv

Hi fnds... i am doing polling system to a perticular topic. i want to display yes/ no results in progressbar, after submittimg user vote(yes/ no) from radio buttons.... everything i can do, but the only problem is display results in progress bar.... plz give me a suggetions....how can i do....

Member Avatar for ahmksssv
0
105
Member Avatar for shahab.burki

What this error means in PHP? Call to a member function getStrippedName() on a non-object

Member Avatar for cwarn23
0
61
Member Avatar for nawabsheriff

[code=php]</script> </head><body> <form action="naw1.php" onsubmit="return validate_form(this)" method="post"> contactgroups<br><br> <?php $instance=1; //$conn=new mysqli('192.168.1.50','root','adm1ns','nagios'); $db=new mysqli('192.168.1.50','root','adm1ns','aptus') or die ('Cannot connect to MySQL server'); $sql="select alias from aptus_contactgroups where instance_id=?"; $stmt=$db->stmt_init(); $stmt->prepare($sql); $stmt->bind_param("i",$instance); $stmt->execute(); $stmt->bind_result($time); echo "<select multiple=\"contact_groups[]\" >"; while($stmt->fetch()) { echo "<option value=\"".$time."\">".$time."</option>"; } <input type="submit" value="Submit"> <?php $cg=count($_POST['contact_groups']); for($i=0;$i<$cg;$i++) { echo …

Member Avatar for somedude3488
0
77
Member Avatar for rcasinillo_s

Good day! Could somebody help me with this problem: When i'm using [U]header() [/U] to redirect page it giving me error message like this: [U]Warning: Cannot modify header information - headers already sent by (output started at /exxport/www/httdocs/waff/teng/HTML/Jobss/loginn_hrm.ph p:10) /exxport/www/httdocs/waff/teng/HTML/Jobss/loginn_hrm.phpon line 336[/U] Thanks... Roland (rcasinillo_s)

Member Avatar for clmirand
0
340
Member Avatar for rEhSi_123

Hello everybody, I am trying to implement a private message system into a website I am working on but I am not sure as how to do this. I know I can use phpBB to do this but not sure on this aswell:$ I was wondering if any body could …

Member Avatar for rEhSi_123
0
119
Member Avatar for ahmadjhoney

I m New To php , and gernate a signup form, that send an E-Mail at success of signup to the user, . But the problem is that in inbox it shows " ANONyomous" the link work fine, but th only problem is the above i mentioned. Here is my …

Member Avatar for fobos
0
118
Member Avatar for MSK 7

Hi to all , In a form what validation should be applied for the textbox of "Full Name" field , so that if anybody enters any Numeric value or invalid characters in the textbox an alert should be given as :- " Invalid value entered ! Please Enter Non- numeric …

Member Avatar for phper
0
80

The End.