39,326 Topics

Member Avatar for
Member Avatar for arsala211
Member Avatar for Sorcher

How am i supposed to insert a word into a blank row? [CODE]$sql = "INSERT INTO ue-userfile WHERE id='$imageid' AND userid='$userid' (`albumname`) VALUES('$newalbum')";[/CODE] ? [CODE]$sql = " INSERT INTO `ue-userfile` ( ``, ``, ``, ``, ``, ``,``,`albumname` ) VALUES ('{$albumname}')";[/CODE] ? God damn annoying to not find any solution on …

Member Avatar for Sorcher
1
79
Member Avatar for iThaos

Hi, I was wondering whether it is possible to use a parent class' properties without calling its constructor. In the following example: [CODE]<?php class Shop { public $location; public function __construct($location = ''){ if(!empty($location)){ $this->location = $location; } else { $this->location = 'a place far far away'; } $this->location .= …

Member Avatar for iThaos
0
212
Member Avatar for G&G Designing

Ok, so what im trying to make is an authentication system that gives the user the pin. I have all currently generated pins setup in a mysql database that looks like this.. [img]http://img847.imageshack.us/img847/3621/databaset.png[/img] So now i need to display them, and then after its displayed on the page, i want …

0
69
Member Avatar for saybabs

I need to know if there is a way a folder upload can be made through php in an email.

Member Avatar for G&G Designing
0
107
Member Avatar for Viruthagiri

This is my normal file upload code. [B] HTML[/B] [CODE]<form action="" method="post" enctype="multipart/form-data" name="form1" id="form1"> <input name="theFile" type="file" /> <input name="Submit" type="submit" value="Upload"> </form>[/CODE] [B]PHP Variables to receive file[/B] [CODE] $fileName = $_FILES['theFile']['name']; $fileTempName = $_FILES['theFile']['tmp_name']; [/CODE] Now i would like to use remote upload. So i created a form …

Member Avatar for cereal
0
405
Member Avatar for jacksantho

Hi, I am having the table of the following details. [B]rollno subject standard[/B] reg01 maths III reg01 physics III reg01 english III This reg01 student has registered this courses. He can make changes this registered courses. How can i find the "updation"(or differences) of my table as the previous using …

Member Avatar for ppetree
0
128
Member Avatar for 080346

Hello every body; i hope you all are fine, i need help on my project where i got stuck; i have a page where user browse and then upload the swf file, i want to extract all the existing images from that swf file when user click on upload button..... …

Member Avatar for sDJh
0
637
Member Avatar for 080346

i have a php file where user browse and then upload swf file, now in that swf file i have 3 variables i want to first get those variables and then update those variables with new value...... i don't have any idea about flash. Any suggestions or solutions please Much …

Member Avatar for sDJh
0
137
Member Avatar for youvi

[CODE]<form method="post" action="check.php" onsubmit="return validate()"> <table width="200" border="0"> <tr> <td>Username</td> <td><input type="text" name="uname" id="u"/></td> </tr> <tr> <td>Password</td> <td><input type="password" name="paswd" id="p"/></td> </tr> <tr> <tr> <td>Select Location</td> <td><a href="http://maps.google.co.in/">Click Here</a></td> </tr> <tr> <td><input type="submit" value="Submit" /></td> </tr> </table> </form>[/CODE] Hello friends, how can i implement this form using joomla mvc architecture?? …

0
63
Member Avatar for KBL

Hey I have a slight problem here, I got my php login script, But it doesn't do what I want it, anyways when I enter details into the login box, if it is invalid I want it to refresh the page and say invalid login, but all it does, is …

Member Avatar for vibhaJ
0
240
Member Avatar for minitauros

Hello there, I'm trying to create a rewrite condition for a set of rewrite rules. Currently this is what I have: HTML and CSS Syntax (Toggle Plain Text) [CODE]RewriteCond %{HTTP_HOST} ^/?forum [NC] RewriteRule ^([\w]+)/([\w]+)/?$ index.php?p=$1&s=$2 [NC,L,C] RewriteRule ^([\w]+)/?$ index.php?p=$1 [NC,L][/CODE] What I want is to have the following uri, [url]http://www.mywebsite.com/page1/page2[/url], …

Member Avatar for vibhaJ
0
135
Member Avatar for shahbaz13

Hi, I have made a script to search my database. But when I execute it, it shows only one result. I even checked the database but there were many entries like this. here's the code... [CODE]<?php // Made by Shahbaz Singh July 2011. All Rights Reserved. Webdhaba.in $q = $_GET["q"]; …

Member Avatar for shahbaz13
0
111
Member Avatar for mhaselip

Hi I would be greatfull is somebody could help me. Ok vut a long story short I am trying to create a website which has the facility of a database driven banner system, on either left and right hand side of any page. the purpose of this is so that …

Member Avatar for mhaselip
0
129
Member Avatar for ibrahimbit17

Hello all, I have a problem. I need to make a php application with manual licensing not using any software for it but I didn't find anywhere a tutorial or a book about this. I have only found some tutorial about different types of licensing but could not find any …

Member Avatar for ibrahimbit17
0
393
Member Avatar for vizz

How to check browsers javascript and cookies are enabled or not? And How to redirect on error page for each condition separately ?

Member Avatar for IIM
0
130
Member Avatar for Helinxed

[CODE]<?php $login = $_POST['login']; $nickname = $_POST['nickname']; $senha = $_POST['senha']; $email = $_POST['email']; $conexao = mysql_pconnect("localhost","rodrigue_incub","xxx24df") or die (mysql_error()); $banco = mysql_select_db("rodrigue_incubadora"); //Utilizando o mysql_real_escape_string voce se protege o seu codigo contra SQL Injection. $login = mysql_real_escape_string($login); $nickname = mysql_real_escape_string($nickname); $senha = mysql_real_escape_string($senha); $email = mysql_real_escape_string($email); $consulta = mysql_query("SELECT * …

Member Avatar for karthik_ppts
0
272
Member Avatar for ebanbury

Hi I have 3 image placeholders taken from a recordset. If the image URL is in the database table column then the image shows as you would expect. However if no image exists I want to force the code to pick up a blank image from location: propertyimages/dot.gif Current code …

Member Avatar for ebanbury
0
90
Member Avatar for Sanket_s

I'm working on small PHP project. i have data in following text COMPANYgreenwayLOCATIONmumbaiPHONENO2222457sÿû)wÕ !$&),.0368:=@BEHJMORTWY\_acgikmqsux{}€‚…‡ŠŒ’”—šœž¡¤¦¨«®°²µ¸º½ÀÂÅÇÊÍÏÑÔ×ÙÛßáãæéëíðóõ6r¯€$ÀF€CwÕ_âT useful values i want to get from text COMPANYgreenway LOCATIONmumbai PHONENO2222457 remaining text is useless for me i want to store those values in database so what i need to do to get those values..?

Member Avatar for chrishea
0
80
Member Avatar for moerpheus

hi guys, I am developing a website, and it needs people to upload images. I can write code for single upload but not multiple, please help. Thanking you in advance!

Member Avatar for nagarjuna.king
0
242
Member Avatar for sarithak

Hi Team, I have 2.6 years of exp in PHP tech(complete exp on core php,mysql,javascript)... 8 months back i resigned my job due to marriage.. now i am trying to get job on PHP...but now without any CMS/ZEND there is no calls for core php. so.. i m trying to …

0
63
Member Avatar for Clarkeez

Hi, I'm in the process of making a forum system for my clan website. I'm currently making a function that convert bbcode tags to html tags ready for echoing in the div. Additionally, it will check all the images posted in forum post to see if they are over a …

Member Avatar for ddymacek
0
120
Member Avatar for k9huey

I am making what I call a PM (Preventive Maintenance) Kit list. My users will use this list to generate a printable sheet to tell me what they used out of there kit. The list includes pricing per part and I would like the list to calculate the costing as …

Member Avatar for k9huey
0
2K
Member Avatar for azhpool

Hi, i'm trying to update a mysql table with values, and i get this error: Error: 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 'WHERE StockID= 23' at line 1. Here is my …

Member Avatar for ddymacek
0
3K
Member Avatar for ErangaD

I am a VB.net programmer and I am very new to PHP HTML and Java Scripts I am doing a project for my company using PHP HTML and Java Scripts and I want to Know how to make readonly a text box after it gets the input This text box …

Member Avatar for ErangaD
0
4K
Member Avatar for felix001

Can anyone help. Im trying to create 2 drop down lists (using the select tag). Based on the choice of the first drop down list the second list is populated. Thanks,

Member Avatar for felix001
0
139
Member Avatar for jacksantho

hi, I am facing parser error while embedding php tag in text box value. print "<tr><td><font color=\"#0080FF\" face=\"sans-serif\" size=\"2\"><b>emp :$nbsp</b><input type='text' name='txt1' size='10' style=text-transform:uppercase maxlength='7' [B]value="<?php echo $_POST[txt1];?> >[/B]</font></td></tr>"; please help me out.

Member Avatar for jacksantho
0
155
Member Avatar for Awah Mohamed

hi guys i want to use php websockets... i made a web socket but it didnt work i hope you guys know some javascript couz the client page is made with javascript and html5 this is the server's code: [CODE] <?php error_reporting(-1); $host = "127.0.0.1"; $port = 8000; $socket = …

Member Avatar for Awah Mohamed
0
247
Member Avatar for manzoor.ilahi77

Hi please help me on php form to pdf conversion and at the same time it should save to database visit this [URL="http://servunity.in/form_classII.php"]http://servunity.in/form_classII.php[/URL] I want pdf to look like as in the url [CODE] <form id="form_pdf" action="classII.php" method="POST"> <input type="text" class="f_input input1" style="width:200px;" name="surname" maxlength="30" value="Surname" onBlur="if(this.value=='') this.value='Surname'" onFocus="if(this.value =='Surname' …

Member Avatar for cereal
0
159
Member Avatar for vboopathicse

hi I'm need changes in my code. I'm display records by search. but i want to export those search records into excel, PDF, and word format. I'm creating only export to excel format. but it exports all rows in entire table. i need only that searching records to export. See …

Member Avatar for vboopathicse
0
169

The End.