39,316 Topics

Member Avatar for
Member Avatar for Stefano Mtangoo

Hi guys, its me again. How do you write templates for your sites (without template engine)? Pure php or what? I want to hear how you do it

Member Avatar for terrial
0
93
Member Avatar for Stefano Mtangoo

I know you would say ask to JS/AJAX forum! Don't worry, it isn't about codes, it is curiosity. I wan't to know if I can do Ajaxing using JQuery and PHP without writting all Ajax functions myself :) Just that :-/

Member Avatar for diafol
0
93
Member Avatar for bigjoke

Hi everyone, I am trying to figure out the way to check if the file ,that exists on a filestore, is also present in the database. Ultimately i want to flag up the files that exist in the database but are not on the filestore and vice versa. I have …

Member Avatar for bigjoke
0
88
Member Avatar for Kystadio

Right now, I have a PHP script which - ideally - selects "posts" from a table, based whether or not the the time in the post is greater than the current time. [code]if(isset($_POST['id'])) { $id=addslashes($_POST['id']); $time=date("h:i:s"); $sql=mysql_query("SELECT * FROM public_wis WHERE mig_id='$id' AND time >= '$time'"); if(mysql_num_rows($sql)!=0) { while($rows=mysql_fetch_array($sql)) { …

Member Avatar for pritaeas
0
96
Member Avatar for help_lucky

Hi All, Terminate session on closing the browser/tab. I am designing a site for the internal use of company employees at the client place, which contains some important secured data. Whenever a user logs in, modifies the data and they directly close the browser instead of logout. so the session …

Member Avatar for help_lucky
0
195
Member Avatar for vssp

Hai fiends I want to disable the righ click option in my web application. How to hide the right click option usong php? Please send me any idea. Thanks Prabu __________________ Thanks Vssp

Member Avatar for Rajivgandhi
0
240
Member Avatar for itisnot_me

ok so what i am trying to do it have the app that i am working more private as in make the browser clear the data with in the input forms so that it is not displayng info. for example if i was to type my name in a name …

Member Avatar for itisnot_me
0
87
Member Avatar for Borderline

Hi There I'm a newcomer to php trying to develop a basic photo album. I have created a simple template in htm, and am trying to use php to show 15 thumbnails per page. However, I am experiencing the error message: "Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL …

Member Avatar for yashmistrey
0
454
Member Avatar for vizz

How to send SMS on mobile from website for user account registrration using PHP, Mysql ? How to send SMS that contain username & auto-generated password? Plerase, anybody ?......, it's urgent.............. THANK YOU in advance

Member Avatar for vizz
0
702
Member Avatar for gedas

hey everyone, i am trying to create a web page using Ajax to create a dictionary well simply when you write down a word its definition would show up straight away. the definition would be stored in the file followed by the word. can anyone recommend me how to start …

Member Avatar for gedas
0
241
Member Avatar for daneuchar

[CODE]$output[] = '<td><IMG SRC="../cart-demo/images/1.jpg" WIDTH="100" HEIGHT="100"></td>';[/CODE] hi, i am facing a small problem. can any one hint me or help me with the image property i wanna increase the 1.jpg to 2.jpg and so on.. kindly help With Regards danny

Member Avatar for daneuchar
0
91
Member Avatar for Tommy_101

Hi, I am kind of new to php, and have run into a problem. Whenever I try to pass on values from one page to another, using hyperlink, the variables in the session don't carry on. Any ideas as to why? Variables get passed when I use header(location:) code in …

Member Avatar for Tommy_101
0
72
Member Avatar for Stefano Mtangoo

Hi all, I plan sometime to jump into IT business. I plan some tools that I will need. I will go for web as well as Desktop. So far I know that I need to know HTML/CSS/PHP/Javascript and hence I know I need IDE that will support those plus some …

Member Avatar for kireol
0
76
Member Avatar for daryll1

For some reason this is killing me, I am trying to update the field available to '-1' and don to '0' when the user submits the correct string into the input box, the thing I cant work out is why available wont update but don will the code is below …

Member Avatar for daryll1
0
100
Member Avatar for wblakenc

I am currently running IIS 7 on window vista business (64 bit) with PHP 5.3.1 installed and operating correctly. I have also installed PEAR and that is running correctly. What I want to do is use the Printer functions but can't seem to figure out how to get it to …

Member Avatar for wblakenc
0
127
Member Avatar for haiconsoba

Hic.I need to create a dicussion forum page,but i don't know how create it.help me.Thankyou

Member Avatar for Stefano Mtangoo
0
74
Member Avatar for CFROG

I recently got myself into the position where it would benefit me to restructure my site ... mostly just page layout and table structures. I've heard mixed opinions about CakePHP but was thinking that if I was going to redesign that I would give it a shot. The site is …

0
60
Member Avatar for azegurb

Hi, all I would like to creat site with online quiz with registration features. But i couldn't find PHP script with both registration script and online quiz system. So that my need is Someone who wants to take a quiz before must register then he/she can take a quiz. if …

Member Avatar for diafol
0
74
Member Avatar for stoni23

Hey guys, I'm a php newbie that's trying to learn php on the job, and my deadline is quickly approaching. I'm attempting to learn php through a book, which is working just fine. The only problem is it's somewhat of a slow process. Anyway, I'm trying to search using a …

Member Avatar for stoni23
0
98
Member Avatar for ayesha789

Hi dear all I have 2 question to be asked 1. everything is working fine but I couldnot understand [ICODE]$page = $_GET['page'];[/ICODE] what function is performing in the script? 2. when I change limit greater then 2 its not echo any record but for limit=1 or limit=2 its working perfectly. …

Member Avatar for dasatti
0
1K
Member Avatar for balam

Hi, this script wont show the result from my data base and i dont know why it might be here [CODE=php]if ($x==1) $construct .= " description LIKE '%$search_each%'"; else $construct .= " AND description LIKE '%$search_each%'";[/CODE] i tried to change the description to other to another column like location but …

Member Avatar for dasatti
0
93
Member Avatar for help_lucky

Hello All, I am new to PHP and the requirement is, i need to design a form with multiple checkboxes with same name. I tried using arrays and the code is [code] <td> <input type="checkbox" name="eroom_status[]" value="empty" <?php if(isset($_POST['eroom_status'])) { if (in_array('empty',$POST['eroom_status']) { $check = 'checked';} } echo $check;?> > …

Member Avatar for nileshgr
0
92
Member Avatar for chupinette

hello all! :) Well this is my code: [CODE] for ($i=0; $i<5; $i++) { $random= array_rand($ids); echo "<br> $random generated"; if ($check[$random]<>0) { $i--; echo " number generated again"; } else { $check[$random]=1; // set check to 1 to know the array number has been used } } $rnd_num[]= $ids[$random]; …

Member Avatar for kireol
0
116
Member Avatar for Kparas

Hi, I am working in php a mail function in this function in message part i want to use one print button which should be mailed to and if who is getting mail want to print this page that should be print. But which code i am using for print …

Member Avatar for phpbeginners
0
158
Member Avatar for web3

when i use <?php echo $_SERVER['PHP_SELF']; ?> in my forms the get values disappears. How to fix that? Is there some function?

Member Avatar for jcanaway
0
161
Member Avatar for G00SE9

I'm looking for some type of online training that will prepare me to work with Vbulletin & other forum software, and websites in general. I have a CS degree, [although that was back in '84], worked as a "network technician & admin" for several years on a very large Novell …

Member Avatar for OlyComputers
0
204
Member Avatar for peck3277

Hey guys im hoping someone can please help me. I'm trying to get my website to have a simple feed back from and it just won't work for me. This is the script i'm using [CODE]<?php if (isset($_REQUEST['email'])) { $email = $_POST['email'] ; $subject = $_POST['subject'] ; $message = $_POST['comment'] …

Member Avatar for gvwiberg
0
132
Member Avatar for whitestream6

I've been trying to create a database-driven site, am new to this, have looked it up on Google and tried for myself, but need a bit of help. [CODE] <?php // Connects to your Database mysql_connect("localhost", "root", "PASSWORDREMOVED") or die(mysql_error()); mysql_select_db("epguides") or die(mysql_error()); $data = mysql_query("SELECT * FROM epguides) or …

Member Avatar for Arianna
0
111
Member Avatar for haiconsoba

[CODE=php] //xulydangky.php <?php session_start(); $TDangNhap=$_POST["txtDangNhap"]; $Ten=$_POST["txtTen"]; $HoLot=$_POST["txtHoLot"]; $MatKhau=$_POST["txtMatKhau"]; $MatKhauReSet=$_POST["txtMatKhauReSet"]; $TLoi=$_POST["txtTraLoi"]; $Email=$_POST["txtEmail"]; $HK=$_POST["txtHKTT"]; $NOHN=$_POST["txtNOHN"]; $Phai=$_POST["RadioGroup1"]; $Hk=$_POST["txtHKTT"]; $NOHN=$_POST["txtNOHN"]; $DT=$_POST["txtDTLL"]; $TL=$_POST["txtTraLoi"]; $Em=$_POST["txtEmail"]; $Cauhoi=$_POST["cauhoibaomat"]; if(empty($TDangNhap)) { $_SESSION["sMess"][3]="Tên đăng nhập không được bỏ trống"; $_SESSION["DangKy"]=false; } if(empty($Ten)) { $_SESSION["sMess"][4]="Tên không được bỏ trống"; $_SESSION["DangKy"]=false; } if(empty($HoLot)) { $_SESSION["sMess"][5]="Họ lót không được bỏ trống"; $_SESSION["DangKy"]=false; } …

Member Avatar for Stefano Mtangoo
0
143
Member Avatar for veledrom

Hi, I just want to find out which is better? Thanks [code] ...... echo "Database connection error"; exit; [/code] OR [code] ...... die ("Database connection error"); [/code]

Member Avatar for phpbeginners
0
161

The End.