39,402 Topics
![]() | |
hello all, i need help with php/mysql syntax that will search a mysql dbase using 3 user-provided (from web form) options. All options are contained in drop-down menus. the mysql database has an auto column which is the primary key allowing for duplicate entries which are neccesary the table has … ![]() | |
Thank you for taking the time to read this. I already have code to download as *.csv/*.xls file from my MySQL database (in place) I need to add a "flag" into the DB as for when the last download was made, and then upon next download, only $fetch_newRecords and reset … | |
Hello all... Can i write all my site pages such as index.htm, support.htm,contact.htm .. etc to [url]www.mysite.com[/url] with URL Rewriting.. Please help on this.. Thanks in Advance.. | |
Hi there, I'm lost in webSpace. I'm building a website for an amateur football team. One of the pages I'm including, "nextGame.html" will enable our players to declare their availability for a certain match by adding their name to a list of names already displayed on that page. I've started … | |
i have a problem in updating the records... it did'nt work... wats the prob with my update code... i edit and when i update record nothing happens... can any1 help me.... thnx and godbless! [code=php]<?php header("location: index.php"); include("conn.php"); $mode=$_GET["mode"]; if($mode=="add") { $MachineNo=$_POST["MachineNo"]; $MnfgDate=$_POST["MnfgDate"]; $sql="insert into $PRD(MachineNo,MnfgDate) values('$MachineNo','$MnfgDate')"; $result=mysql_query($sql) or die(mysql_error()); … | |
hey guys, I have this php code that receives variables form flash to create image which works fine. what i want to do is save that image after its been created on my server instead of showing it as is in the code below. how do i go abut that … | |
I created a database from a turorial, but gets the error message: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\wamp\www\addressbook\MysqlStep3HandleReadRecord.php on line 16 Part of the code is: [ICODE] $db_handle = mysql_connect($server, $user_name, $password); $db_found = mysql_select_db($database, $db_handle); if ($db_found) { $SQL = "SELECT*FROM tb_address_book"; … ![]() | |
I am trying to create a page that has a form on it that will select a technician and then show his/her schedule in table for on the same page. The problem I am having is that when I click the select button it goes to a blank page. It … | |
Hello, [code=php]function dwos($title,$body,$rpcurl,$username,$password,$categories=array(1)) { $categories = implode(",", $categories); function here. }[/code] My question is, how can I put value to categories ? [code]$category = "life, code, love"; // this not works ? dwos($title,$body,$rpcurl,$username,$password,$[B]categories=array(1)[/B])[/code] | |
I want to fetch records from database and want to show listing in xml form. e.g [CODE] <url> <loc>http://www.test.com/about-us/</loc> <priority>0.64</priority> <lastmod>2009-05-04T10:10:21+00:00</lastmod> <changefreq>daily</changefreq> </url> <url> <loc>http://www.test.com/about-us/about-factory/</loc> <priority>0.64</priority> <lastmod>2009-05-04T10:10:21+00:00</lastmod> <changefreq>daily</changefreq> </url> <url> <loc>http://www.test.com/about-us/chairman-massage/</loc> <priority>0.64</priority> <lastmod>2009-05-04T10:10:21+00:00</lastmod> <changefreq>daily</changefreq> </url> [/CODE] the urls are dynamic. I am using statically now but want to use dynamically. … | |
i have 3 tables i want to show the data from them to a page. table1 "trip" table2 "seat" table3 "user_information" show all the data of table one which is working its showing but how can i show multiple table data any ways. show all data of trip and seat … | |
Hello, My brother asked me to create an application where he can save all his data and retrieve at any time, which does all the calculation. A friend of mine suggested PHP and MySQL would be a better option. I know HTML and CSS but very little of PHP. As … | |
I am trying to greatly shorten code on my pages. Is it possible to include variables in my fetch fields? The below will all exist on same php page. Here is the code I want included in my fetch [code] // variables to include in fetch $abc = stripslashes($row->abc); $def … | |
Hi I have a variable which contains this data : $text = [QUOTE]This is the company’s profile info, Please see this. “This is special announcement,” I have this texts.[/QUOTE] Now I want to remove the special characters from this variable. I want to remove ’ “ and some other non-standard … | |
Hello Everyone, I'm a newbie and was just trying to figure out how to get a website published. I'm on a Mac and can set the site up on it but I need a FTP. Is there any where I can get a simple website published for free. I don't … | |
other of my fellow friends says they cant see the website in ie9 and netscape but its running well in mozilla the problem in ie is that the only thing you can see is the background of the website check it out my site in ie if its working on … | |
Hi, I have created an pure OOP e-commerce web site with PHP. I want to make sure that my class files cannot be seen or downloaded by anyone. What do i do now? Other files html, css, js can be seen, no problem. My hosting company provides me a folder … | |
Hi, I am not sure what i am doing wrong. I got my code (below) basically it is to resend user activation email if they for some reason or other did not get it first time etc. It sends the email and everything etc... what i need to do it … | |
Hi there I'm trying to cycle through entries inside a MySQL db and create numbered variables inside a for loop. Currently it doesn't seem to be working. Here's an example of what I'm trying to do: [CODE=php] $i = 0; while($row = mysql_fetch_row($result)) { $i++; $variable.$i = $row[0]; } echo … | |
im working on final year project of my deg its complete finaly i want to show a ticket to be appear after payment which has name and so on. and a ticket number i want to generate a random ticket number for a user which will appear on the ticket … | |
hello everyone .. i am pretty new to php programming and web development and i need to ask this. i have designed a few websites for my clients and i am getting better and now i have started learning php to add dynamic feel to the websites. my question is … | |
Hi, this is my CPP code which i want to convert to PHP [CODE] #include <iostream> #include <string> #include <sstream> #include <set> #include<stdio.h> #include<conio.h> void print_combinations( std::string prefix, const int* arr, std::size_t N, std::size_t start, std::size_t num_comb, bool first_time = true ) { static std::set< std::string > prefixes ; if( … | |
Hi, I want to do a 301 redirect for one of my pages. What I was wondering is am I still able to execute php code on the same page of the 301 redirect? If so how? So far I haven't had luck... Thanks. ![]() | |
i have a ptc script but in that there is only one payment processor "Alertpay" and i want to add "Paypal" as well, for that i need to change following pages: 1.Registration page- paypal needed to be added 2.Withdraw page- withdraw through paypal need to be added 3.Admin section- if … ![]() | |
Hi folks, I am a PHP programmer. I am having a problem with image tag. I need to know the difference and the purpose of using an image tag like this [COLOR="Red"] <img src="/images/new.jpg>" , <img src="images/new.jpg"> and <img src="../images/new.jpg">[/COLOR] i am facing a problem because of this, i am … | |
Hi Guys, I want to convert an HTML document into PDF document. Then user can download a pdf document by clicking on the link. Actually I have a page where Dynamic data is being displayed, I want that data to be converted to PDF document , so the users can … | |
I've noticed some web pages are accessed by associating numbers next to the 'www' part of the url. For example: [code]http://www38.wolframalpha.com/input/?i=1%2B1[/code] What does this mean? How would I be able to configure that for some of my own sites? Is it DNS side? Thanks | |
hey guys i need help as quick as possible about this question i need to submit on Monday please help. the latency experimentation aims to estimate the execution speed for programs.you will measure the perfomance together with scaling by estimating the responce time while increasing the size of a database.In … | |
Hi, Hoping someone can help me. I done a search on Google but must not be using correct search term as cannot find anything. Basically how can i make sure a page is only accessed via a certain link? I have a page that user clicks on that opens a … ![]() | |
[code=php]<?php $query1 = "SELECT `asc_prods.name` FROM `asc_prods` LEFT JOIN `democart` ON `asc_prods.pid` = `democart.tip`;"; $result1 = mysql_db_query($query); while($row1 = mysql_fetch_array($result1)) { echo "<td> {$row1[0]} </td>"; } ?>[/code] I've got the above code, the problem I have with it is that I need to get the value returned by the statement … | |
Hi everyone, I am using a mail function in my contactus form. But for some id it is sending infromation of contac us form but some time it is not sending like on my gmail id i am not getting mail. what is the reason behind this. I have tried … | |
i want this to be happen defult color of seats i mean available color of seats to be green after that if a user book a ticket it goes to red and stays red how can i do this? code im using [CODE=language]<?php $connection = mysql_connect("localhost","root","password") or die("error connect"); mysql_select_db("online_bus_project"); … | |
hi everyone .. i have just finished developing a web application i hope to put on the www very soon. however my application has various folders that i dont want the public to access directly through a URL for example the images, config and includes folder which contain database and … | |
I run a vBulletin forum and Im trying to write a new BB Code. This would be the syntax: [CODE][parts] http://www.link1.com http://www.link2.com http://www.link3.com [/parts][/CODE] This would then be parsed into: [CODE=html] <a href="http://www.link1.com" class="linkclass">Anchor 1</a> <a href="http://www.link2.com" class="linkclass">Anchor 2</a> <a href="http://www.link3.com" class="linkclass">Anchor 3</a> [/CODE] Im a real regex newbie, I … | |
Hello , I recently bought a Facebook app form a person on digital point and I just found out the bank.php file has an error in it, I don't know where but when you put a - in front of a withdrawal amount it will give you the amount of … ![]() | |
I am a total NOOB to ICT, and was wondering if anyone would help me make a website using flash, php, and javascript. Please help, I will work out giving you money when the site is up and running and making money. I have got a graphics designer for free … | |
hi Please help me with code or links i have a text box,when ever some one types a letter or more ,it should search those letters from an array of values or from a mysql table and display all the values starting with value in a text box in a … | |
Hi all, How to merge a forum into a pre-exisiting website? All what i mean is i took a forum(which has its own registration , sigin-in feature) and a preexisting website (which too have its registration and signin feature). Both are now hosted in the same domain and use different … | |
Hi Guys/Gals I have a page that has iFrames on it. Now the pages that are shown in the iFrames each have their own code on them. I'd like to know if it's possible to use variables that are on the page holding the iFrames in the pages inside the … | |
Hiya, I was wondering if there is a need to change the database table names and script variables of an open source script to enhance security. A script I have has lots of pages and variables that are used throughout the site. I have changed database table names as I … | |
hi i was wondering how should i tackle this problem as i got stuck on the delete feature, getting data is fine deteling is the problem since now i made the following: [CODE]<?php include 'cms/core/config.php'; include 'cms/core/opendb.php'; // get data $query = "SELECT id, name FROM ody_admin.templates ORDER BY id"; … | |
Hi, I have a coding problem. I know it is all over the place because I am confuse to what to do with it. The way that I had it in the first coding example if a customer chooses two items of the same product but in different colors my … | |
Hi, I am trying to do calendar with events.The events will take from databse my code is working but its taking only one value.i am using code like this [ [<?PHP echo $events[ 0 ]['date'];?> ,<?PHP echo $events[ 0 ]['month'];?> ,<?PHP echo $events[ 0 ]['date'];?> ,<?PHP echo $events[ 0 ]['month'];?> … | |
Hello guys, A Client walked upto me, and told me he wanna create a SMS portal where by user can by a Card from him and log in with a secret Pin on the card and they can login to the website and with th Issue Card and they will … | |
how to send sms from web site to mobile Can some please help , script to be used php Thank you | |
i made a folder images in d:/wamp/www/images and uploaded photos to it and sent the path to of the images to the database e.g image_path = d:/wamp/www/images/apples.jpg now i want to create a gallery showing thumbnails of the images i created the script below ....its supposed to read the image … | |
Hi There, I'm tinkering with an idea of a database structure for the company i work for, i'm currently compiling a client list using mysql and accessing it via php. The problem i have come across yet not solved is, when i search the database for a surname i would … | |
Hi All... I'm glad to be in this forum. I'm making a system to connect three applications in one and have a user register page. The register page sends an email to the user asking activate the account in order to use the system. I'm having some matters. First: I … ![]() |
The End.