39,316 Topics

Member Avatar for
Member Avatar for branding4you

Hi I am new to PHP and looking to create a search php page, the search needs to be by Country, State and city. I have tried several methods over the last three weeks and none work, im slamming my head against my desk! Basicly I have three dropdown boxes …

Member Avatar for jayapalchandran
0
3K
Member Avatar for navp

Hey i have to make a pizza website for my assignment. I am done the HTML part and have finished the PHP more than half. I am trying to decorate it a bit and trying to use "\t" for tab, but its not working. Any suggestions? P.S. I have made …

Member Avatar for diafol
0
3K
Member Avatar for Tempest will

hi all, how do i use a drop down box to show my fields in my sql table ? below is what i have so far, i need to display all of the EmployeeIDs in the drop down box. [CODE]<select name="name"> <?php $sqlName="SELECT * FROM employeedetails"; $queryName = mysql_query($sqlName,$connection); $recordName …

Member Avatar for vibhaJ
0
112
Member Avatar for mikes1471

Hi I'm looking to provide a web based Email service on my own domain name, I could liken this to hotmail or gmail etc so you have an idea of what I mean. I am looking to create the web page in PHP and wonder if anyone knows if an …

Member Avatar for atom6402
0
76
Member Avatar for gambit_1607

Hi I have a select list on my form as the following [CODE] <form name="source_form"> <select id="sel_source_zero" name="sel_source_zero"> <?php $sources = _ajax_get_news_sources(); foreach ($sources as $key => $value) { print ("<option value=\"$key\">$value</option>\n"); } ?> </select> <input type="submit" value="Submit" /> </form> [/CODE] When the user selects a value from the list, …

Member Avatar for thephpdev
0
77
Member Avatar for puvi

Hi ppl, I have been using fpdf for a quite sometime now and it works fine, but at times when i make some changes(changes does not include printing/echo/redirecting before genrating pdf, but yes i do use lot of empty space/indentation for readability n this did not create problem earlier.) in …

Member Avatar for puvi
0
85
Member Avatar for kofawais

dear now i explain the specific problem here as i described earlier about the fruits so see the code as when i assign new currency from the drop down list , all the available currencies are there but for editing only the assigned currencies appear that i have assined earlier …

-1
39
Member Avatar for BBoz

I have had a business/website idea for the past few months now and know nothing about creating one from scratch. It is a very detailed idea and the site would be very large. I was just looking for suggestions on where to start with my idea, and what would be …

Member Avatar for chrishea
0
76
Member Avatar for GreaseJunkie

I hate to post a thread on this since I know this topic has been discussed ad nauseum, but I've been searching for weeks and cannot find exactly the answer I've been looking for. I'm new to arrays and loops - I get the concept, but not the syntax. Here's …

Member Avatar for hielo
0
375
Member Avatar for wzzcivic

Hi all, Can anyone direct me to a tutorial or help me out with this issue. I'm trying to import a word doc (.docx/.doc) and display it as a .php. Workflow 1) User logs in 2) User uploads doc or docx file 3) .php converts the doc file into a …

Member Avatar for diafol
0
47
Member Avatar for netroxy

Hello guys. I am trying to build a games website using PHP for database to store game information. I'm trying to learn how to fetch ID information. For example: [url]www.blabla.com/games.php?id=12345[/url]' As you can see, right after games.php, there is '?id=12345'. Anyhow, when a user clicks or types this link, that …

Member Avatar for diafol
0
30K
Member Avatar for ankit.pandey3

[PHP]<html> <title>Micro Elite Brigade - Participated Events</title><LINK REL="SHORTCUT ICON" HREF="images/favicon.png"><?php require_once('upper.php'); if($_COOKIE['LoginIdCookie']){ require_once('database.php'); require_once('LoginStatement.php'); $LoginId=$_COOKIE['LoginIdCookie']; $query="select * from participation where LoginId='$LoginId'"; $result=mysqli_query($dbc,$query) or die ('Not Connected'); //echo "<div class='search_output_data'> echo "<table border='0' cellspacing='0' cellpadding='0'>"; echo "<tr><th align='left' valign='top' width='100' height='20'>Event Title</th> <th align='right' valign='top' width='250' height='30'>Date of Participation</th> </tr>"; while($row=mysqli_fetch_array($result)) …

Member Avatar for diafol
0
96
Member Avatar for youvi

Hello, Please provide me the query to join 3 tables using INNER JOIN... Thanks

Member Avatar for diafol
0
87
Member Avatar for karthik_ppts
Member Avatar for karthik_ppts
0
2K
Member Avatar for xxreenaxx1

I am printing question number with the correct answer as 1 and wrong answer as 0. Now I would like to count how many correct answers for each question. Example of this: Question number: 8 00110 For this example there are two correct answer. [CODE] $scoree = 0; $intt = …

Member Avatar for xxreenaxx1
0
95
Member Avatar for jpknoob

Hi, I decided to try and upload images by storing their path in a database, but have run into an error when displaying the images. The form works and the folder is populated whenever I run the script. I have tried a lot of solutions from similar threads, but to …

Member Avatar for jpknoob
0
110
Member Avatar for raf.fredi

How to read multilingual emails using php? I don't want any webmail script. I want to use imap/pop3 functions [URL="http://www.php.net/manual/en/function.imap-open.php"]http://www.php.net/manual/en/function.imap-open.php[/URL] Following code works well for listing emails but have some errors and it cannot read email other than ENGLISH language Help Anybody [CODE] <?php // Inbox // Display Messages from …

Member Avatar for mr_sps
0
548
Member Avatar for Dmennite

Ok the issue I get is passing variables to dynamic pages for example page1 has a combobox with all states to used to search a database for example: [CODE]<tr> <center><form action="page2.php" method="post" name="statesearch" id="statesearch" > <td><div align="right">State</div></td> <td width="25%" align="center"><select name="state" onchange="statesearch.submit();"> <option value="" selected></option> <option value="AL">Alabama</option> <option value="AK">Alaska</option> <option …

Member Avatar for karthik_ppts
0
619
Member Avatar for joomphp

Hi! how can create advanced api in php/mysql authenticate with api key, userid username etc. any good tutorials etc Please post links for me

Member Avatar for joomphp
0
70
Member Avatar for dalip_007

Hey Guys, i have a twitter like website, where user can post tweets longer then 140 characters as well. But what I want is to make just 140 character visible initially and then show there a link preceded by dots like: "sample text sample text sample text sample text sample …

Member Avatar for vibhaJ
0
60
Member Avatar for jrotunda85

So I'm trying to figure out the best way to go about setting up an image upload system for my site. Basically we have, let's say, 2,000 stores in our database currently (that number expands by the day). I want users to be able to upload images for each store …

Member Avatar for diafol
0
136
Member Avatar for divyakrishnan

Hi , I want to access a pdf file by clicking a hyperlink using PHP.the pdf file is stored on a shared folder of a storage machine.It work with internet explorer.But with firefox and chrome its not working.Showing error on chrome as "The loading of the URL has been blocked …

Member Avatar for divyakrishnan
0
142
Member Avatar for xxreenaxx1

I am working on a rule to find out which question has the highest correct answer. Not sure how to work with this. But here is an explanation of what I have so far and what I want my program to do. I have question and answer table Question: questionid,QuestionName, …

Member Avatar for Akash Saikia
0
78
Member Avatar for clarkthe

Is it possible to create a bot in php along the lines of something that acts like a irc trivia bot. if so could someone steer me in the right direction to get that started. thanks.

Member Avatar for Wraithmanilian
0
64
Member Avatar for erza26

Hello...i'm new here...juz want to ask some help from anybody..i've done search coding..the problem is, how i want to print it in pdf form...or can i use this coding <input type="button" value="Print Vendor Detail" onClick="window.print()" /> to print the details...hope someone can help me...thanks...:$

Member Avatar for erza26
0
74
Member Avatar for Awah Mohamed

hey people. this is my 1st time to get this error. i usually save cookies using this code: [CODE] <?php $time = time()+60*60*6; // the time is saved for 6 hours // then save the cookie with the $id data setcookie("ln", $id, $time); ?> [/CODE] but with my new website. …

Member Avatar for diafol
0
188
Member Avatar for Cece Skies

Hello. Is PHP hard to learn? :sweat: I would like to incorporate it on my website. Thanks!

Member Avatar for chrishea
0
98
Member Avatar for Chubbymouse

Hi there, I have some code on a page to extract info from a database (like a back end system) and I just wondered if there was anyway I could do a shortcut around the code to avoid doing multiple SELECT statements. e.g [CODE]<?php $result = mysql_query("SELECT * FROM quackedup …

Member Avatar for gokhanfil
0
160
Member Avatar for nitnayak

This is probably a stupid question, but I don’t know this stuff and need some help. I have a form with 2 text box, and I want to pass the user-entered contents of the 1st text box to a php variable ($size)(without posting the page) on onBlur of 1st textbox. …

Member Avatar for tomato.pgn
0
172
Member Avatar for xxreenaxx1

I am trying to read from a file and insert this to a database. But the error message is giving me trouble [QUOTE] Notice: Undefined offset: 1 in C:\xampp\htdocs\test\try2.php on line 15. This is the error message. On line 15 is: $userName = $tmp[1];[/QUOTE] my code is [CODE] <?php mysql_connect("localhost", …

Member Avatar for xxreenaxx1
0
107

The End.