39,316 Topics

Member Avatar for
Member Avatar for caps_lock

Looking at the source code of this website: [URL="http://superdialcouk.dmshop.biz/numbers/0207/choose.php?dmb1_SessRef=2009-08-22_15-29-14_8068_0003"]http://superdialcouk.dmshop.biz/numbers/0207/choose.php?dmb1_SessRef=2009-08-22_15-29-14_8068_0003[/URL] What code do i copy and paste to get that table of telephone numbers on my website, the numbers need to remain dynamic in thesense tat if theyre purchased from the site given above - they then should not be viewable …

Member Avatar for Dsiembab
0
154
Member Avatar for veledrom

Hi, I have [inlinecode]header("Cache-Control: private");[/inlinecode] in page1.php to prevent page expiry problem. Let's say, when user click on Submit button it will go to page2.php Page1.php should expire if the user hit Back in the browser to go back from page2.php to page1.php How can do it? Thanks

0
33
Member Avatar for rajeshsprabhu

I am trying to use WSDL file (webservices) to push data in Oracle database through PHP,MySql. While pushing data there is restriction that only 20 records at a time can be pushed in Oracle. Hence I need to create multiple instances so that through one php program I will be …

0
43
Member Avatar for AdventDeo

Hello, I have a MySQL database and I'm trying to make a dropdown list using PHP based on the value stored in my DB. So far I have this (copied, pasted, and edited from another forum): [CODE] <form action="maintest2.php" method="POST"> <table border="0" cellpadding="2" width="100%"> <tr> <td><b>Main Category:</b></td> <td> <select name="Name"> …

Member Avatar for AdventDeo
0
139
Member Avatar for greenglow

Hi, We're using PayPal standard. My understanding is that with the "Make PayPal optional for new users" option turned on in one's account, on checkout a customer will not be automatically returned to the local success page we've created, even though the URL is properly set and the auto-return option …

0
67
Member Avatar for DealthRune

I am making 2 cookies, but when they are set, it shows me this error "Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\forum\index.php:4) in C:\xampp\htdocs\forum\index.php on line 81" But I dont have any headers?? Here is the code [CODE]$expire=time()+60*60*24*30; setcookie('username',$u,$expire); setcookie('password',$p,$expire);[/CODE] I made a …

Member Avatar for Josh Connerty
0
328
Member Avatar for Sanit

Hi everyone, I have a website where you can vote things up and down. There is no login required to vote and it should register that you have already voted on a particular thing you have already voted on the next time you visit. It seems to work fine but …

Member Avatar for Josh Connerty
0
88
Member Avatar for IrishHenshin

Hey so basically as the title suggests I want to develop a PHP website on my Mac, the site will not be hosted on my laptop but will be hosted on an Irish web hosting server. Anyway I am wondering what is needed to develop on the Mac? I just …

Member Avatar for IrishHenshin
1
116
Member Avatar for pabzzmike

hello, i have a php/mysql vehicle database with fields make, model, price and year. in my webpage ALL database records are displayed by default using the select command in a table. i would like add a filtering functionality on all 4 fields as such i have an arrow selector on …

Member Avatar for Will Gresham
0
100
Member Avatar for Raymond_Seger

Okay, first, i'm new on this website. Nice to meet you all :P My english is not perfect but i believe you guys can understand what i am trying to say. Ehem... Okay, i have this problem. I have the knowledge of programming (class, variables type, you name it. I …

Member Avatar for Raymond_Seger
0
106
Member Avatar for whitestream6

I got arrays working first time! :) This is the website's source code, the file is testing.php. Source code: [ICODE]<?php $data = array('test'=>'testingpage', 'test1'=>'test1a', 'cars'=>'mycarpage', 'php'=>'hypertext processor'); // echo http_build_query($data); // foo=bar&baz=boom&cow=milk&php=hypertext+processor // test // echo http_build_query($data, '', '&amp;'); // foo=bar&amp;baz=boom&amp;cow=milk&amp;php=hypertext+processor // include("http://mywebsite.localhost.com/test.php/"); ?> [/ICODE] and when typed in the …

0
43
Member Avatar for crazy4fun

I'm new to this technology. I'd be glad if somebody help me in starting this and guiding me where to start? and how to start? to learn this new technology.

Member Avatar for crazy4fun
0
150
Member Avatar for bsjy

I have been trying to use one of the many ajax autosuggest code snippets available on the web to help me with a table server scheduling form. My scheduler can find the people by their last name, and I can auto-suggest that. The database would like to record the server's …

Member Avatar for bsjy
0
107
Member Avatar for Loony064

Hi everyone I hope someone can help me with this as its rather urgent. I have to create a template for a PHP based website. I won't be doing the PHP coding as there is another programmer who'll handle that. I basically need to create the layout of the pages …

Member Avatar for Loony064
0
133
Member Avatar for DealthRune

I'm making a PHP forum script But, when ever i try to add a new topic it gives me this error: [QUOTE]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 'desc) VALUES (Test, General …

Member Avatar for DealthRune
0
92
Member Avatar for dmorrison

[CODE]include"../../pages/config.php"; $selectrow = mysql_query("SELECT * FROM members"); $query = mysql_fetch_array($selectrow, MYSQL_ASSOC); //Run business removal if ($query['Enable'] == "true"){ if ($query['autoRemove'] <= "0"){ $removeSQL = "DELETE FROM AccLink WHERE autoRemove <= 0"; mysql_query($removeSQL); echo "Business Removed. {$query['username']}<br>"; } $remove1 = "Update AccLink SET autoRemove = autoRemove -1"; mysql_query($remove1); echo "Run Sucessfull …

Member Avatar for somedude3488
0
128
Member Avatar for wd3bbas

hi,,,, my problem is : i need print out php file but the size changed from pc to another i need to print the file in A4 size

0
60
Member Avatar for goldy736

hi, i doubt whether this is possible , if it is possible i ll be delighted . I have a form of php array , with a submit button passing the values , this submit button is so ordinary , so i want to change the look and feel of …

Member Avatar for goldy736
0
251
Member Avatar for shadwickman

Hello, I'm using easyPHP to locally test some scripts I'm building, but I came across a problem that I can't seem to resolve. Within one of my PHP scripts, there's a segment where I end the PHP ([icode]?>[/icode]) and output a form in HTML, then resume the PHP section ([icode]<?php[/icode]). …

Member Avatar for phpbeginners
0
462
Member Avatar for xuexue

i now have a web server and it is running in linux esp. opensuse 11.1, now my problem is that when i view the site, it states an error: database could not connect, what seems to be the problem and how can i resolve it?

Member Avatar for xuexue
0
106
Member Avatar for sam023

Recently only i cam eto know about Mysqli.. . . i was wondering What Esp. does Mysqli have..?? :O i have a store procedure.. which i can call in Mysql..!! than why should i use Mysqli.?? :O One more thing i want to ask.. $link=mysql_connect($server,$serveruser,$serverpassword,0,65536); what two parameters used for..? …

Member Avatar for somedude3488
0
256
Member Avatar for seangdy

I write code as below: [code]<html> <title>Hanuman Database</title> <link href="../style.css" rel="stylesheet" type="text/css" /> <div align="center"> <body> <?php session_start(); $dbhost='localhost'; $dbuser='hanum3_hanumandb'; $dbpass='hanuman2009'; $conn=mysql_connect ($dbhost, $dbuser,$dbpass) or die('Cannot connect to the database because: ' . mysql_error()); $dbname='hanum3_HanumanDB'; mysql_select_db($dbname,$conn) or die('Error, cannot connect to database'); ?> <form id="form1" name="form1" method="post" action="create_user.html"> <div align="center"> …

Member Avatar for seangdy
0
320
Member Avatar for srisree

Hello PHP Parse error: syntax error, unexpected T_VARIABLE in /home/mysite/public_html/guestbook/getdrawings.php on line 1 [CODE]<?php $dir=opendir("data"); while ($file=readdir($dir)){ if(substr($file, -3) == "xml"){ print 'data/'.$file.'|'; } } closedir($dir); ?>[/CODE] Need your suggestions to solve this problom regards

Member Avatar for phpbeginners
0
640
Member Avatar for cali_dotcom

hi, i'm trying to edit something on a site i didn't code myself so i downloaded the files and set them up on a virtual host on my local machine. i am using wamp server with php v 5.2.9-2. the problem is when i go the page on my local …

Member Avatar for cali_dotcom
0
131
Member Avatar for gcombe

ok.. I know how to loop through an array and get the rows to build a table across the page.... that is pretty simple... but I need help creating a table on the fly that lets me pull the values and go verticle by game.. meaing the out put would …

Member Avatar for SimonMayer
0
106
Member Avatar for tirivamwe

i am doing my final year at university and i am supposed to do a project dissertation. Can someone help me with a project topic. I would prefer a project that is inclined to php or web development

0
105
Member Avatar for zeusofolus

I know you can use the if/elseif to make php compare values [code=php] if ( $Quantity != 0){ $a = ( $b * $c ); } elseif ( $Quantity == 0){ $a = ( $b + $c ); } [/code] but what if you want it to do something only …

Member Avatar for zeusofolus
0
107
Member Avatar for pee2002

Hi there folks! I´m pretty blind regarding Callback Url. I only know that someone will dump in information that i want to see. Thats it. I have this to fill out: [URL="http://img18.imageshack.us/img18/1912/clickatell.jpg"]http://img18.imageshack.us/img18/1912/clickatell.jpg[/URL] And this has an explanation: (Full Version PDF [URL="http://www.clickatell.com/downloads/http/Clickatell_HTTP.pdf"]here[/URL]) [URL="http://img29.imageshack.us/img29/5005/manuald.jpg"]http://img29.imageshack.us/img29/5005/manuald.jpg[/URL] I think the XML GET callback URl is …

Member Avatar for pee2002
0
1K
Member Avatar for innocent.boys

[B]I was wondering by using which technique i can fetch data from database more fast...!! . . i have 500 records and i have to do pagination also on it..!! how can i do it more faster...? . . i just want to know what professionals do to make there …

Member Avatar for innocent.boys
0
2K
Member Avatar for i101dotcom
Member Avatar for pritaeas
0
66

The End.