38,023 Topics

Member Avatar for
Member Avatar for opawix

if (@$_GET['action'] == "Edit Record") { print "<font color=black size=14><center>Edit Student Records</center></font><br>"; $result = mysql_query ("SELECT * FROM students"); $rows = mysql_num_rows($result); if ($rows != 0) { print "<form>"; print "<font color=black><center><b>Select Student:</b><center></font><br>"; print "<select name=idnum>"; for ($i=0; $i< $rows; $i++) { $row = mysql_fetch_row($result); print "<option value=$row[0]>$row[1] $row[3] $row[2]"; …

Member Avatar for pritaeas
0
116
Member Avatar for daniel36

i am having a string in a variable similar to $school="bal bharti vidhya mandir"; i want to change this string into 'bal-bharti-vidhya-mandir'.Is it possible?I also need its reverse in my project.

Member Avatar for lps
0
94
Member Avatar for alvin.decker

Hey! I am an experienced programmer (php, javascript, mysql, some ajax) who is looking for an experienced and competent graphic and/or web designer with whom to create a text-based RPG. I will assume the financial risk and the programming responsibilities. I need someone to make the banners, logos, icons, and …

Member Avatar for rotten69
0
219
Member Avatar for garyjohnson

I am trying to join two database tables, the tables are set up like this, This is table fgusers3, which stores my users login information. id_user name email phone_number username password confirmcode 1 Bob bob@email 000000 bob1 bobby 12345 This is table videos, which stores my users video upload information. …

Member Avatar for garyjohnson
0
237
Member Avatar for bulbul.sust.9

what is built in function in php ? and whts the difference of it with user defined functions? i think isset, unset, gettype,settype, strlen, strpos etc are built in function and when we write a function like this > function name{} that is user defined ? im little bit confused …

Member Avatar for diafol
0
109
Member Avatar for showman13

Good Morning, I am working on a script that requires multiple embedded function calls that could go up to 5 levels deep My Question is this... I need to be able to use the accumulating variables from function D outside of all the functions to display data. if I have …

Member Avatar for DarkMonarch
0
143
Member Avatar for gilgil2

Hi I have the following code being used to insert some data into a MySql database, all the error checks etc. are done before and those are fine, and the code returns connected successfully but nothing is put into the database, nor does the database check for duplicate usernames, because …

Member Avatar for iamthwee
0
2K
Member Avatar for jacob21

Hi, my website svnnews.in is hacked yesterday. Now its showing some hackers messages. I need my website back.Need suggestion to make my website hack free.

Member Avatar for iamthwee
0
122
Member Avatar for andyy121
Member Avatar for andyy121
0
263
Member Avatar for Angle90

Hello Everyone, I need your help please, using htaccess, I like to know how to deny access to an index.php file from all visitors except me. I have tried the following; <files index.php> order allow,deny deny from all </files> That works denying all access to that file. I would like …

Member Avatar for Angle90
0
176
Member Avatar for gilgil2

Hi I am trying to write a password reset script. An email with a link is sent to the user, and then if the username and a 32 character string in the link match the info in the database they can change the password for that account. Here is what …

Member Avatar for iamthwee
0
1K
Member Avatar for andyy121

hi i wont to change the activatet value of user log in in database example:when i log in in the page the value must change from 0 to 1 any idea

Member Avatar for andyy121
0
232
Member Avatar for devianleong

Currently all the images got no extension after I upload and mysql store the images with no extension too. Any solution? This is the code: <?php if(!empty($_POST['Name'])){ if(!empty($_POST['SellPrice'])){ if(!empty($_POST['RentPrice'])){ if(!empty($_POST['Quantity'])){ if(!empty($_POST['CostPrice'])){ $name = $_POST["Name"]; $SellPrice = $_POST["SellPrice"]; $RentPrice = $_POST["RentPrice"]; $Quantity = $_POST["Quantity"]; $CostPrice = $_POST["CostPrice"]; $Category = $_POST["Category"]; $name …

Member Avatar for pritaeas
0
170
Member Avatar for dante123

Hi I have a menu that is included in all my pages. When the menu item is clicked it opens a new page and the clicked item changes his color to magenta this, is perfect. Each Item has a submenu the problem starts when i open one of the submenu …

Member Avatar for broj1
0
226
Member Avatar for garyjohnson

I have found the program ffmpeg and have been looking into it, and I can see that you can use php to convert the videos that are being uploaded but I want to know where I need to start with this program to get it working.

Member Avatar for LastMitch
0
187
Member Avatar for garyjohnson

Here is a basic join code for two database tables, I want it to compare the two tables with a users email, it would have to be the current user logged on. How do i do so with php? SELECT column_name(s) FROM table_name1 INNER JOIN table_name2 ON table_name1.column_name=table_name2.column_name

Member Avatar for garyjohnson
0
2K
Member Avatar for garyjohnson

Hello I have made a php file upload for the visitors of my site to upload small videos too, now I want the users that are logged into their account to have the videos they upload be linked to their user id, so anyone vewing the small video can know …

Member Avatar for garyjohnson
0
3K
Member Avatar for Ulfang

<head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <title>Upload photo 1</title> <form method="post" action="upload.php" enctype="multipart/form-data"> <p> Photo name: </p> <input type="text" name="Name"/> <p> Category : ---> Choose Between Animals, Cars , Landscapes , People </p> <input type="text" name="Category"/> <p> Creator </p> <input type="text" name="Creator"/> <p> Upload your photo : <input type="file" name="photo"> …

Member Avatar for Ulfang
0
243
Member Avatar for onofej

Please could someone tell me the best way to wrtite this in PHP i am validating gender in a text box i do not want to use radio button. at present my code is like this but not working if(preg_match("/gender/i",$field)) { if(!preg_match("/^M,F $/",$value)) { $errors[] = "$value is not a …

Member Avatar for LastMitch
0
167
Member Avatar for onofej

I have a xampp database user log in with username and password, but i want to send each user an ID after registration and this ID should auto increment in my database. at the moment i can only achieve this if i include a field on the registration form, but …

Member Avatar for LastMitch
0
1K
Member Avatar for morrisproject

Hi, Please can someone tell me how to upload images to my database table images. I would like to be able to link to these images eventually from a link on my webpage. I would need to be able to upload more than one image at a time.

Member Avatar for LastMitch
0
157
Member Avatar for logicaweb

I'm making a B2B portal that can see just loggedin business customers that I add to base, I finished almost all, but there is one problem. When customer add some goods to his cart, goes to checkout and confirm his order he will have a link to invoice.php?ids=156 and that …

Member Avatar for urtrivedi
0
169
Member Avatar for AshokKumart

Hi, I am Developing one website.There is textrea box where i need to fetch the datafrom database and need display it in textarea box using java script.The text contains special charectars like single quotes and double quotes. how to escape quotes please help me am using **mysql_real_escape_string();**but the query results …

Member Avatar for AshokKumart
0
173
Member Avatar for Albert Pinto

Hi People, Got an issue with css in php. Actually I'm trying to create and send a html email. My front-end form consists of To(textbox where recipients email address will be entered) and then I've embedded ckeditor in place of Textarea where I will be typing the message... Now this …

Member Avatar for jstfsklh211
0
3K
Member Avatar for bLuEmEzzy

Hello guys, do you have an idea how to add rows in php? Like datagridview in which you can add rows when you want to. Any idea what should I do? Thank You.

Member Avatar for lps
0
115
Member Avatar for paine_today

I just launched my first website I fully wrote myself in php/mysql - [www.TomPaineToday.com](http://www.TomPaineToday.com). After testing it on my own computer for a while, I decided I might as well launch it and see what problems I run into. The first issue I came across was that my link redirect …

Member Avatar for stevenpeter
0
283
Member Avatar for scholarwithfire

Hello guys, i want to populate a textbox based on the selected index of a combobox. For example, the textbox will only be displayed if the selected index is "5". But the problem is, i generate a series of comboboxes through a loop which is based on the number of …

Member Avatar for lps
0
977
Member Avatar for phphit

I am really in mess as I am unable to solve problem with Smarty Multi Dimension array. Below is the way I want to execute Smarty. First of all I will list all customers. Than I want list of all items purchased by that customer. I have two tables inside …

Member Avatar for lps
0
515
Member Avatar for Riu 2009

how can i let image overwriting when uploading? and if uploading an image titeld different how can i make it to change to specific file tite?im trying to make an image replacement to change images on the web page like for example logo. how can i make the file name …

Member Avatar for Riu 2009
0
309
Member Avatar for weemy

i have tow tables, posts and sections, i want to get the last 10 posts WHERE section = 1, but use the 10 results in different places, i make a function function sectionposts($section_id){ mysql_set_charset('utf8'); $maxpost1 ="SELECT max(id) from posts WHERE section_id = $section_id ORDER BY ID DESC LIMIT 10"; $maxpost10 …

Member Avatar for weemy
0
182

The End.