39,402 Topics

Member Avatar for
Member Avatar for emhmk1

Hi All, Okay, this has been bugging me for the past two days and i cannot think straight! Basically, the theory is, the member will upload a video, link is stored in database and on the video page all the videos are displayed click on video and page opens with …

Member Avatar for Agarsia
0
85
Member Avatar for alfredferg

Hi to all wordpress masters :$ I created a custom plugin that tracks my customers orders. Now, my problem here is how to integrate or to create a custom search that play only on the specific table I created for orders. Thanks in advance! -Alfred

Member Avatar for anditucker
0
155
Member Avatar for Brianbc

[CODE]<?php /* +-----------------+------------------------------------------------------------+ | Class | setup | | Author | Brian Onang'o | | Version | 1.0 | | Last Modified | 10:16 AM 10/2/2010 GMT+3 | +-----------------+------------------------------------------------------------+ | This program is free software; you can redistribute it and/or | | modify it under the terms of the GNU …

Member Avatar for Brianbc
0
239
Member Avatar for TheIdiot

I keep getting a syntax error in this code and I need a new set of eyes to show me what I am doing wrong. It is coming back and saying that I have an unexpected } on line 36. [CODE]<?php require_once("config.php"); //Connect to mysql server $link = mysql_connect(DB_HOST, DB_USER, …

Member Avatar for TheIdiot
0
153
Member Avatar for keval_hack

I need simple product management script which is able to perform -add new product. -delete product. -update product. -view product -keval

Member Avatar for sudeepjd
0
54
Member Avatar for ptara1

I'm trying to search a mysql table column for a number. However when I enter a number into the search form I get told that no query has been entered. Here is my code. Database connection information left out on purpose. [CODE] <?php if(isset($_POST['submit'])){ if(isset($_GET['go'])){ if(preg_match("/^[ a-zA-Z]+/", $_POST['search'])){ $search=$_POST['search']; $db=mysql_connect …

Member Avatar for smantscheff
0
79
Member Avatar for TheIdiot

I am wanting to create an online attendance sheet that would allow users to log on and use check boxes or option buttons for twelve weeks corresponding to wk1, wk2, wk3, etc... I have no problem retrieving the members of the group (records from db) but do not know how …

Member Avatar for shdwmage
0
128
Member Avatar for Imratzio

Hey everyone I was hoping if you can help me fix errors on a admin login form im using. Heres the code [CODE]<?php session_start();//works with session cookies, helps have persistant data i.e. if user is not logged in there will be no session variable if(isset($_SESSION["manager"])){//if it does not set session …

Member Avatar for Imratzio
0
226
Member Avatar for dschuett

Hi all! I am working on making a dashboard for the inventory of our trucks. I'm having some problems with figuring out how to calculate the percentage of the total SUM of trucks per MAKE without running two different queries. You can see below what I have working this far, …

Member Avatar for diafol
0
165
Member Avatar for elson.james

Hi everyone, I'm having a problem on passing values from my combo box. Let me show you first my code. I have 2 files [B]test.php and view.php. [/B] This is what's [B]inside the test.php[/B] [CODE] while($row = mysql_fetch_array($strSQL)){ $data .= "<tr>"; $data .= "<td>"; $data .= "<input type='checkbox' class='memberchk' name='membersID[]' …

Member Avatar for sudeepjd
0
161
Member Avatar for Masks.be

Hi folks, I have used my connection for all my scripts, but when I am trying to INSERT the BIRTHDATE of a register user scripts i get the ERROR below: [CODE]Check for mysql_real_escape_string() support. if (function_exists('mysql_real_escape_string')) {global $dbc; // Need the connection. $data = mysql_real_escape_string (trim($date), $dbc); } else { …

Member Avatar for sudeepjd
0
61
Member Avatar for george61
Member Avatar for ditty

Hi i have a news table. I am using the query "select * from news_table where news_id in(8,3,6,1)". This query is working properly. But the problem is i need to return the rows in the same order what we give in the 'in' clause. ie, first record with news_id 8 …

Member Avatar for mahavir123
0
90
Member Avatar for ian paul
Member Avatar for mahavir123
0
60
Member Avatar for thijscream

hey, it has been a couple of months since i have been here, and let's get strait to the point. someone told me you can change the page title of a dynamic link with the .htaccess file. for example i have a page. [url]http://www.mywebsite.com/page.php?id=1[/url] i include this page for different …

Member Avatar for smantscheff
0
2K
Member Avatar for ian paul
Member Avatar for smantscheff
0
52
Member Avatar for sea

Does anyone have an example of how to disable PHP Safe Mode for a specific directory? My PHP is configured as an Apache module. Thank you

Member Avatar for karmafunk
0
1K
Member Avatar for veledrom

Hi, How does a barcode reader stores barcode data? I heared that it stores as simple txt file. Let's say I've scanned 5 barcodes. Does it create 5 individual txt files with info in them or Does it create only one txt file and store information related to the all …

Member Avatar for pritaeas
0
91
Member Avatar for jackparsana

I have a Problem regarding wordpress Redirect. I have panel in Right-side in this there is one form page. its for contact mailing. In this form i have submit button. when i click on the submit button i want to get the thanks page on the left side body contain. …

Member Avatar for jackparsana
0
197
Member Avatar for rohit b k

hi guys, My project is based on online shopping so admin is the of the users of our s/w we want to provide an option of storing images of newly introduced products along with all details through a form.. and when customer logs in he should be able to view …

Member Avatar for smantscheff
0
100
Member Avatar for Silenta

Am trying to get a php script working. I have done a few reviews and corrected a few errors but it doesnt seem to work properly still. Its a quote script and instead of picking up a random quote its picking up all of them. I have tried amending the …

Member Avatar for Javvy
0
104
Member Avatar for ridzii

hi i have a species database (php/mysql) with more then 1000 species in it. each species has multiple localities. i want to show these localities on a map for each species. is it possible to directly pull the data from the database and plot these points. i want to know …

Member Avatar for pritaeas
0
154
Member Avatar for McLaren

Have no idea how such simple thing can not work :( [CODE]<form action = "<?php echo base_url()?>admin_/groups/preview" target = ""> <strong>Pavadinimas: </strong><br> <input type="text" name="title" /><br><br> <strong>Tekstas: </strong><br> <textarea name = "text" cols = "90" rows = "90"></textarea><br> <input class = "save" type="button" name="submit" value = "IÅ¡saugoti"/> <input class = …

Member Avatar for McLaren
0
282
Member Avatar for ebanbury

Hello I am trying to create a one-field search form with fields that match fields in a database, carry out a search for records which match the word put in the search button, and show the results in a table on the same page. I have got myself a bit …

Member Avatar for Javvy
0
255
Member Avatar for MagicMedia

I'm creating a forum like this one and I need to display my topics by last post. I want to create it so that the topic gets bumped back to the top whenever someone adds a new reply, like most forums including this one. I have a timestamp on both …

Member Avatar for MagicMedia
0
159
Member Avatar for ujjval dave

hey, i have problem with paging,i need to use two tables to fetch data. i am submitting my developed code. i hope some body will help me. [CODE] mysql_connect("localhost", "root", "") or die(mysql_error()); mysql_select_db("dummy1") or die(mysql_error()); $START=$_GET['start']; if(!$START) { $START=0; } $data = mysql_query("SELECT * FROM scrapmsg ORDER BY date …

Member Avatar for diafol
0
98
Member Avatar for robinthomas

Can anyone help me to find some questions for php practical interview test ? I need some question in the following pattern . 1) what is the output of the following program ? 2) Some tough multiple choice questions 3) Write a PHP program to ......

Member Avatar for mschroeder
0
194
Member Avatar for mdminternet

Hi guys, I'm not great with PHP and the guy I normally work with who does know a thing or too about it is on holiday. Currently, I'm having problems using a contact form mailer which returns the following error when it is sent. Warning: session_start() [function.session-start]: Cannot send session …

Member Avatar for ko ko
0
203
Member Avatar for tcollins412

i am writing code and i keep getting the error: mysql_fetch_array: supplied arguement is not a valid mysql resource. here is the code: [CODE] <?php include"dbconnect.php"; $item=$_POST['item']; $query3="SELECT * FROM selling WHERE name LIKE %item% AND state='$state' LIMIT 0,30"; $result3 = mysql_query($query3); while($item = mysql_fetch_array($result3)){ echo "<img src='$item[pic]' alt='pic'><a style='color: …

Member Avatar for ko ko
0
109
Member Avatar for fluffybunny69

Searched hours online to no avail. This should be fairly easy for anyone experience with PHP (aka not me!) All i'm trying to do is create a text search box and send button. 1. Users will add a keyword and click send. 2. Link to an external website that loads …

Member Avatar for ko ko
0
226
Member Avatar for designalex

Hi,i have a small problem with the following... a users posts a vehicle to the database, the form allows for posting with 3 images. when i display the form using a while loop i need to display the images, my problem is that i want to check 3 images 0r …

Member Avatar for designalex
0
213
Member Avatar for jakizak

I've seen over the last few days many people on the internet and various forums asking for how this is done. Now there is plenty of posts out there that explain how to do this. However I have yet to find one that explains how you work it into a …

Member Avatar for jakizak
0
160
Member Avatar for benqb

[CODE]<?php $rainbowmsg =""; $var =""; $scale=""; $out=array(' Ann',' james',' rejo mathew',' sjo d emmanual',' mary varghese','devan','benqb','riya'); $links=array(' Ann',' james',' rejo mathew',' sjo d emmanual',' mary varghese','devan','benqb','riya'); //color arrays $rainbow = array('#C36546','#006633' , '#000099' , '#FF0000' , '#FF6699' , '#0099FF', '#FFFF00' , '#33FF00'); //get the message for( $j=0; $j<1; $j++ ) …

Member Avatar for paulrajj
0
97
Member Avatar for luweegee

I cant update my data i know theres something wrong in my code...pls help me guys i need this code ASAP... :( [CODE] <?php $con = mysql_connect("localhost","root",""); $sql = mysql_select_db("luweegee",$con); ?> <html> <head><link rel='stylesheet' type='text/css' href='Style.css'/></head> <body> <table border=0 align='center' width=900 cellpadding=20 cellspacing=0> <tr><td class='title' colspan=2><h1>Update Record</h1></td></tr> <tr> <td class='borderBaba' …

Member Avatar for luweegee
0
166
Member Avatar for red angel

Hi all, Can anyone help me ragarding my new project, im having a hard time working on the report part, computing the subtotal of the quantity per device!! thanks in advance attach is my code

Member Avatar for Shanti C
0
533
Member Avatar for Layerphp

Hi i have a requirement of uploading images to server in which i want to select multiple images from local system on clicking the browse button once.i found many scripts for single image selection but i want the script for multiple image selection.I want script related to PHP Javascript. Can …

Member Avatar for Shanti C
0
277
Member Avatar for chrisglasier

I have made a couple of preliminary versions of a web machine as an HTA and as a web dialog plug in for Google's Sketchup. The machine has moving sliders (hence machine) that get populated with names of real objects in a hierarchical structure set by the user's associations e.g. …

Member Avatar for chrisglasier
0
254
Member Avatar for Rotten Elf

Hopefully someone can help me. Explaining this may be a pain for ya, but I would really appreciate any assistance that you may be able to give me. Here is my scenario. -I am trying to import a csv file into phpmyadmin. -The MySQL database is for Wordpress. -The .csv …

Member Avatar for smantscheff
0
173
Member Avatar for ebanbury

Hello I would also like to have a form, where users can input their search criteria and then the results show on the same page in a table. Currently absolutely nothing happens.:-( [CODE]<?php require_once('Connections/iwalletc_localhost.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if …

0
90
Member Avatar for yamot47

[CODE]# <form name="Item Search" method="post" action="search1.php"> # Item Search:<br> # <label> # <input name="swords" type="text" size="30" maxlength="30"> </label> <br> <label> <input name="search" type="submit" id="search" value="Search"> </label> <a href="logout.php">Logout</a> </form> <?php if(isset($_POST['submit'])||isset($_POST['swords'])||isset($_GET['swords'])){ if (isset($_POST['swords'])) { $search=$_POST['swords']; }else { $search=$_GET['swords']; } $newurl = "search.php?swords="; $searchwords = addslashes(htmlspecialchars($_POST['swords'])); { $words = explode(' ',$searchwords); …

Member Avatar for yamot47
0
79
Member Avatar for tcollins412

i am writing a website that loges somebody in by cookies. i want to make it so if the person goes to the main page, (index) but did not log out from their last session it redirects them to the members page. how would i do that? also, how would …

Member Avatar for Stefano Mtangoo
0
118
Member Avatar for petrakid

I am writing a script for an events calendar for one of several websites I manage (I know there are plenty of scripts out there, but it's easier for me to do this from scratch). It has been requested of me to incorporate recurring events into the events creation page. …

Member Avatar for petrakid
0
915
Member Avatar for puvi

Hi ppl yestday i posted a thread and that issue was solved, but a similar issue is raised again. this time, 1)i am populating the options(eg: base material, film, glass pane) in dropdown from database. 2)user selects a option, enters other details and click submit. 3)on clicking submit, all the …

Member Avatar for puvi
0
72
Member Avatar for BlueCharge

Hello Everyone, I have some code which i use for BB codes in my forums. It works fine but I want to be able to not show the links if the user is not logged in. So below is the code I'm using for all BB codes used and the …

Member Avatar for BlueCharge
0
108
Member Avatar for devinodaniel

Hey everyone. So for example sake I have this: [CODE] <title>index.php</title> <form name="form1"> <select name="useraccounts" id="" value="" onChange=""> <option id="" value="">cant login</option> <option id="" value="">forgot password/option> </select> </form> <form name="form2"> <select name="computers" id="" value="" onChange=""> <option id="" value="">physically broken</option> <option id="" value="">needs repair</option> </select> </form> ////////////////////////////////////////// <title>popup.php</title> <form name="form"> <select …

Member Avatar for devinodaniel
0
129
Member Avatar for darkslide

Hello, i have a question about mod_rewrite. I have the following url: [url]www.example.com/listen.php?title=U2_with_or_without_you&youtube_video_id=hTgnDLWeeaM[/url] Now, i want to rewrite it like this: www.example.com/U2_with_or_without_you->hTgnDLWeeaM Now, my question is, since i can't use the caracters - or _ as separators between the get parameters, it is "safe" to use -> ? Is it …

Member Avatar for EvolutionFallen
0
226
Member Avatar for Javitri

Hello I am working on php website. Now here im working on sending orders. So once it is ordered the confirmation e-mail goes to one who ordered(he enters his e-mail id manually) and the head of the department(e-mail ids written in code). But now I have put a checkbox that …

Member Avatar for Javitri
0
128
Member Avatar for grayceworks

Here is what I am trying to accomplish: I have a form, reschedule requests. I have gotten it to autofill the logged in user and email using the site's global variables. In other database tables, I have info on who they're scheduled with, and their scheduled time. I need to …

Member Avatar for grayceworks
0
5K
Member Avatar for ballchain

Hello All! This is my first post, as I just joined this forum after finding lots of information about my problem, but no actual solutions... Same basic issue as most, but I've tried everything, and nothing is working! 1. User Logs in - upon authentication, user is taken to "member's …

Member Avatar for ballchain
0
129
Member Avatar for Melanie22

Dear Friends, I am a web designer hence i only know very little of PHP programming. I need help on the PHP script for me to post data from other server to my server. Due to my lack of knowledge in PHP so i'm using JetForm.com as a third party …

Member Avatar for grayceworks
0
294

The End.