39,316 Topics

Member Avatar for
Member Avatar for dpmattox

This is my first of I figure many threads. Before this year between Photoshop and Dreamweaver, I made HTML websites. I upgraded to notepad++ and Gimp/Photoshop and continued making HTML websites with occasional PHP for forms and such. I have my own private development server and it's not a recycled …

Member Avatar for chiiqui
0
330
Member Avatar for mary_forum

hi guys, i just want to add selected products into cart without payment gateway process.i want the coding tnx

Member Avatar for Stefano Mtangoo
0
145
Member Avatar for ABUMIN

hi, i am trying to make my own 'truncate' function for strings, in which if the string is longer than desired length, i should truncate and add '...', but if the truncation occurs in the middle of a word, there should not be any word pieces, just whole words, so …

Member Avatar for Stefano Mtangoo
0
71
Member Avatar for lyrico

Hello Guys, Can anyone help me to get time difference in PHP? For example: [code] <?php $Start = "09:18 AM"; $End = "04:10 PM"; $diff = ???? [/code] Can anyone show the code for $diff? thanks in advance and more power.

Member Avatar for Stefano Mtangoo
0
109
Member Avatar for garymae14

hi dear ! i would like to ask on how to create list box in php .. can u give me a full sample code .. from the start til end? thanks so much and more power to to u

Member Avatar for epixeltechno
0
125
Member Avatar for manchurianCEO

As I am adding google +1 button and such things, i am getting new stuff to add to my opening html tag. It is a real hassle having to go back and add the new links or piece of code inside the opening html tag. Can I feed the open …

Member Avatar for epixeltechno
0
193
Member Avatar for momo219

Hi peeps I wonder if someone can tell me about having includes inside of includes. Basically I have a $code_block =. "some small content" but inside this small content, I need to refer to another include, something like this: "page.php" if (...){ $display_block = "text text"; }else{ include('../code_block.php'); $display_block = …

Member Avatar for vibhaJ
0
100
Member Avatar for mukororokudo

Hi .. i need some help here .. i'm a 3rd year student of computer science .. and i'm pretty new to these stuffs .. my problem is i have to validate the the checkbox and i have to make computations from it .. here's the code : [CODE]<h1><center>LOAN AMOUNT</center></h1> …

Member Avatar for epixeltechno
0
139
Member Avatar for wolfgangcs

I have a friend with a dinner and he wants to take his iphone and add up how many drinks are being had by each specific person at the bar and store them with date stamps while adding how many drinks they have had total in the life of their …

Member Avatar for diafol
0
116
Member Avatar for andreas.cyp

I want to build a web app that student be able to enter his/her student id and shows his/her assigned advisor. I think that I 've to build a table in SQL with two attributes 'studendID' and 'advisorName'

Member Avatar for smantscheff
0
76
Member Avatar for smackthat9876

Hi there, I have a question related to this topic, i dont know if I should make a new thread or how to make a new thread. I am making an adult website and I just need a disclaimer and 2 buttons one that verifies age or one that redirects …

Member Avatar for smackthat9876
0
1K
Member Avatar for TheHaxx0r1215

PHP is a Server-Side Language, which means It processes commands through the server, and delivers the results either in HTML, or doing a certain server-side command, such as Creating a MySQL Database. You don't need to know HTML to put Text on a page with PHP in SOME Cases. Here …

Member Avatar for diafol
0
69
Member Avatar for digital_plunder

i m working with sessions.. i have problem with sessions here is my coding " <?php session_register("admin_id"); if($_SESSION["admin_id"]=="") { header("location: login.php"); } ?> " i want to register a session but when i use session_register function i got error ""Deprecated: Function session_register() is deprecated in C:\xampp\htdocs\xampp\c\admin\session_check.php on line 2"" help …

Member Avatar for vidjin
0
102
Member Avatar for woopi

I have a form with checkboxes [CODE]<input type="checkbox" name="yo[1]" value=1 <input type="checkbox" name="yo[2]" value=1 <input type="checkbox" name="yo[3]" value=1[/CODE] I want to to insert values into db exactly like this create table tablename yo1 tinyint default 0 , yo2 tinyint default 0, yo3 tinyint default 0 insert into table set yo1=value, …

Member Avatar for diafol
0
226
Member Avatar for TheHaxx0r1215

I am getting a [B] frustrating[/B] error with my PHP Code. I am not using short tags, or anything else that causes this error. I checked the brackets, they are all in place. Can you help me? [CODE]<?php require_once('recaptchalib.php'); require_once('config.php'); $privatekey = CAPTCHA_PRIVATE_KEY; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); …

Member Avatar for diafol
0
102
Member Avatar for Jake6177

Hey guys, I'm looking for a way to build a 404 page that shows what page they were looking for, how they could possibly fix it, and to send me an email at [email]errors@mydomain.com[/email].. How would I do this w/ php? My current 404 is located at: [url]www.stellarrecharge.com/typewhateveruwant[/url] -Jake P.S …

Member Avatar for diafol
0
104
Member Avatar for meghanetpulse7

So, i saw these websites which create graphically rich text. You put simple text , hit "start" and sysem generate completely new text with different colors. Something qhich require photoshop tobe used. I want to create a website around this same concept. I looked into some options and imagemagick came …

Member Avatar for diafol
0
145
Member Avatar for pilipinas

Hi Guys, Can you help me out create a real time quiz. i have no idea where to start so please help me. thanks a lot.

Member Avatar for diafol
0
43
Member Avatar for dearroshan

[CODE]<form id="form" class="formular" method="post" action="answer.php"> <?php while($row = mysql_fetch_array($result)) { echo "<input type=hidden name=no value=".$row['no']."/>"; echo "<tr><td rowspan=2 bgcolor=lightblue width=20 align=center>".$row['no']."</td>"; echo "<td colspan=4 bgcolor=lightblue width=740>".$row['question']."</td></tr>"; echo "<tr>"; echo "<td width=50> <input name=".$i." type='radio' value='a' />".$row['a']."</td>"; echo "<td width=50> <input name=".$i." type='radio' value='b' />".$row['b']."</td>"; echo "<td width=50> <input name=".$i." type='radio' …

Member Avatar for diafol
0
72
Member Avatar for dearroshan
Member Avatar for diafol
0
45
Member Avatar for titosd

Hello, I need to calculate dates, e.g: if i have this date on string "12-07-2008" and I want to add to this date 17 month. How can I calculate this date. are the a func that do this calculate ? or I nedd to write it ? Thank you

Member Avatar for diafol
0
144
Member Avatar for max4444

sorry if this seems silly, i am trying to learn php and mysql i have tried a few times and all i do is crash the code. What is am trying to do is change the cell background colour to green if echo $row['s1']; is "2" and red if "3" …

Member Avatar for max4444
0
93
Member Avatar for axxxpua

Hey, I am creating a website with two forms which contain checkboxes and displays and sends the values input by the user to display on the page as well as save onto a database. The languages I'm using are xhtml, php and sql. The problem for me is that only …

Member Avatar for axxxpua
0
197
Member Avatar for calebcook

Hi. I need a function which will convert a decimal to a fraction, so that I can put in [CODE]echo dec2frac(1.75);[/CODE] and it'll output 1 3/4. Any suggestions? Thanks

Member Avatar for diafol
0
3K
Member Avatar for davy_yg

I wrote the following codes: [CODE] <?php $nama = ('a' => 'John', 'b' => 'James', 'c' => 'Ray', 'd' => 'Lime', 'e' => 'Kit') sort $nama reset($nama) $i=1; do { $i++; echo "The key is " . $i . "and the value is “ .$i <br />"; } while ($i<=5); …

Member Avatar for pritaeas
0
84
Member Avatar for Virangya

hi.. i'm going to host my project and on clients site, a user always have to login to view what he can view. So the user has a user name and a password. Is there a way i can enable a user to login automatically without just entering user name …

Member Avatar for Virangya
0
205
Member Avatar for rakwel10

How can I make my website work like this: User forgot to logout its account to PC1. Then he goes to PC2 and login the same account he uses to PC1. User successfully logs in to PC2 while its account in PC1 is autamatically logged out. How is that?

Member Avatar for rakwel10
0
240
Member Avatar for harsha.netpem

hello, I need the coding of only selected users allow the certain pages and they don't have a permission in admin section in php. Please reply ASAP.

Member Avatar for vidjin
-1
133
Member Avatar for vidjin

Hi, Is there any possibility to use Coda in windows for PHP Developement ?!?!?!? I have seen CODA on a Friend's Macbook Pro and it is wonderful and have great features. Anyway to use it on Windows? Thanks

0
103
Member Avatar for ericwalter

Hi, I need some help in editing the theme ''allure real estates theme''. I got stranded when adding a new country to the 4 countries listed. I managed to add a country at (/home/dbname/public_html/wp-content/plugins/placester/core/const.php) but when I try add a listing, the reply in the country field is that the …

0
58

The End.