39,393 Topics

Member Avatar for
Member Avatar for programmer12

Hello, Im trying to show my images with a limit of 2 but the while loop show the codes correctly in the source on the browser but the items are not showing on the web page.. How can i fix this issues... HERE is the codes [CODE] <!DOCTYPE html PUBLIC …

Member Avatar for programmer12
0
85
Member Avatar for miss_indie

Gudeve. sorry for posting again. i was making a simple quiz machine with PHP and a bit of database, i made this code. [CODE]<form action="record.php" method="POST"> <tr> <td><b>Your score is: </b> <br /><input type="text" disabled="disabled" name="score" value="$total"></td> </tr> <tr> <td><b>Date: </b> <br /><input type="text" name="date"></td> <td><b>Student Id: </b> <br /><input …

Member Avatar for sudeepjd
0
105
Member Avatar for ceeandcee

Good Morning, I am writing code for a Hockey Pool site and I am working on the Standings page...typical divisional standings page. My code runs through a loop for the four teams in each division and yields results for each team and outputs fine. Here is my problem...I want to …

Member Avatar for ceeandcee
0
101
Member Avatar for fatpages

Hi All, can anyone suggest the e-commerce engine which is well adopted to sell virtual content (e.g. downloadable content, subscriptions, promo codes)? I tried Virtuemart for Joomla and Ubercart for Drupal, but they both are really limited and don't provide the "off the shelf" flexibility for virtual goods.

Member Avatar for dennishall
0
133
Member Avatar for Aydot22

I need a PHP expression to validate a field value against a list predefined in mysql database So that anything different from that in the database will not be submitted to the database. Looking forward to your assistance.

Member Avatar for sudeepjd
-1
108
Member Avatar for php4ever

I absolutely hate it when I trust a person and never collect a deposit on work only to NOT be paid when I'm done. I recently designed a flash page turn effect that is all XML controlled for a Realtor where the agents could simply upload the images to a …

Member Avatar for dennishall
0
151
Member Avatar for Agent Cosmic

I want to build a large scale web application but I'm torn between the three. The main points I'm looking for are productivity, speed, hosting, community, scalability, learning resources and technology (AJAX, database, threading, MVC etc). Here are my impressions of them: [B]PHP:[/B] de facto for web development, big community, …

Member Avatar for nonshatter
0
70
Member Avatar for lulatam

hi, im tring to make a form with checkbox and i used Selection: " . implode(',', $checkbox ) . "\n im reciving the data tomy mail, but when there is nothing checked im getting this error: implode() [function.implode]: Invalid arguments passed in .... what script can i add thatwhen nothing …

Member Avatar for chintan@dani
0
58
Member Avatar for ibshas25

i have set up users table and succesfully done all the inserts but i want give acess to users based on there roles. how can i do this???

Member Avatar for Stefano Mtangoo
0
83
Member Avatar for niths

hi all, In my page i had a dropdown with some values. so when i select others in dropdown i need a textbox to display under that select option. can anyone help me.... Thank u.. i tried this code but this is not working.... [CODE] <head> <SCRIPT LANGUAGE="JavaScript"> function activate(field) …

Member Avatar for sudeepjd
0
127
Member Avatar for DonaldAlexander

Does anyone know of any PHP and MySQL code that will help me out? I'm looking to translate my website but without the use of Google, Yahoo, Bing and so on, but would like to try drive the website through a database. The idea was to have friends from around …

Member Avatar for pritaeas
0
512
Member Avatar for rajiv_ask

i wanted to make a website serach which can search inside my website... pls help me in this

Member Avatar for DonaldAlexander
0
62
Member Avatar for captain.don

I have a small website,I have created html page having form in it.the form contains 3 text boxes that is.. name,email,comment.I need an e-mail script that can submit this form fields to my gmail or yahoo account.I have tried lots of script on internet but they are not working.Can anyone …

Member Avatar for DonaldAlexander
0
128
Member Avatar for keok

Coding as below havinf error, help me please; echo"<input type='submit' name='submit' value='DELETE' "onclick="return confirm('Are you sure you want to delete?')">;

Member Avatar for keok
0
98
Member Avatar for kinjan772@gmail

hello , I want to develop mlm website.I know concept of parentID but i dont know how to give commision to all parents if any one join at the leaf.please help me ...

0
44
Member Avatar for JoeyWong

Hi all, i don't know how to solve this problem...i want store all the data into database. help pls~ thanks~ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <link href="/style.css" rel="stylesheet" type="text/css" /> <title>Insert New Institution</title> <script type="text/javascript"> function addRowToTable() { var tbl = document.getElementById('tblAddress'); …

Member Avatar for JoeyWong
0
1K
Member Avatar for Smudly

Hi, I'm trying to figure out the best way to determine if a user is currently downloading a file from my website. The way my site works, is the user waits 30 seconds and views an ad. After the timer is up the download becomes available. I heard that I …

Member Avatar for chrishea
0
76
Member Avatar for ebanbury

Hello I'm having trouble solving the following error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '( )' at line 1 I have a php script which I've written in PHP6 which creates …

Member Avatar for ebanbury
0
200
Member Avatar for trilithon

Hi All, Is there a way to have a login system that needs a file that is stored on the users computer present, similar to online banking sites that use a locally stored certificate (file) for verification or redirect to another page? Thank you, Max

Member Avatar for mschroeder
0
88
Member Avatar for toocoded

Hi everyone, I wrote an INSERT for an insert form but for some reason it wont save the data tot he database. In phpMyadmin the rows are taken up with blank nothings. It seems to work but nothing is being stored. code as follows... [CODE]session_start(); $db_hostname = "localhost"; $db_password = …

Member Avatar for toocoded
0
84
Member Avatar for skier

I keep getting a T String parse error. I am not sure what I'm missing? Any help would be appreciated! <?php $filename = "http://www.empowergroupusa.com/cambiolabs/extension/catalog/files/inspection_886.pdf"; if (file_exists($filename)) { echo "<a\href="http://www.empowergroupusa.com/cambiolabs/extension/catalog/files/inspection_886.pdf </a>"; } else { echo "The file $filename does not exist"; } ?>

Member Avatar for hielo
0
727
Member Avatar for jrock2004

I am assuming I will use the date function but I want to get the day that is the 3rd wednesday of the month. My site has dates for meetings and they are always the 3rd wed of the month. I like to show the next 3 meeting dates. Could …

Member Avatar for rch1231
0
56
Member Avatar for ReMoN SaMiR

Hello, Few days ago I was searching online for a way to create a PHP forum though which the visitors can leave their messages and to automatically appear on the page. I found the a code and I used it to create the PHP form, but unfortunately I discovered the …

Member Avatar for ReMoN SaMiR
0
202
Member Avatar for MKIII

Hello all, I am new to php and thus far i'm love the potential this language has as I learn more about it. I have been trying to write a script to no avail. What I am trying to accomplish is to setup a sms site from web to mobile. …

Member Avatar for GreaseJunkie
0
503
Member Avatar for dschuett

I am creating a form that our company uses to send denial emails to customers that we reject. The problem is, I need to know how to store form checkboxes as a variable, so i can use them in my mail_body. the email has the following format: you have been …

Member Avatar for Kieran Y5
0
99
Member Avatar for jogesh_p

hello, i m beginner in php, and i want to download a file, here is my code [code=php] ob_start(); // location with filename $filename = "downloads/code.zip"; if(file_exists($filename)) { header("Content-Disposition : attachment; filename=" . urlencode($filename)); header("Content-Type : application/force-download"); header("Content-Type : application/octet-stream"); header("Content-Type : application/download"); //header("Content-Type : application/zip"); header("Content-Description : File Transfer"); …

Member Avatar for quasipickle
0
171
Member Avatar for ameth

I'm trying to figure out how can i display the value from several text field and it will be recorded on the database. am i going to use an array? it's a code to determine the quantity of the items listed and which of the items is to be replace …

0
52
Member Avatar for TonyDeWittePony

Hello everyone! I have a problem, I need to draw a number of squares along a path. The drawing of the squares I should be okay with, but I was wondering if it's possible to draw them on an invisible path. That way I could calculate how "far" those squares …

Member Avatar for pritaeas
0
106
Member Avatar for kesh1000

hi can any one suggest why this code doesnt work [ICODE] if(mysql_num_rows(mysql_query("SELECT * FROM users WHERE username = '".$username."'")) == 1) { echo "<h1>Error</h1>"; echo "<p>Sorry, that username is taken. Please go back and try again.</p>"; } else { $registerquery = mysql_query("INSERT INTO users (fname,lname,age,email,phone,address,username,password, amount,plan,benefit,prem1,prem2) VALUES ('".$fname."', '".$lname."', '".$age."', …

Member Avatar for fobos
0
88
Member Avatar for ivan3510

Hi! Sorry for my bad english. I have this code: [CODE] <html> <style type="text/css"> #traka{ border:1px solid black; position:relative; width:300px; } #boja{ position:absolute; top:0; left:0; height:100%; background-color:yellow; } #tekst{ text-align:center; position:relative; } </style> <script type="text/javascript"> wid=0; function kreni(){ setTimeout("izvod()",700); } function izvod(){ wid+=10; pos=(wid*100/300); pos=Math.round(pos); pos+="%"; document.getElementById('tekst').innerHTML=pos; document.getElementById('boja').style.width=wid; if(pos!="100%"){ kreni(); …

Member Avatar for ivan3510
0
186

The End.