39,320 Topics

Member Avatar for
Member Avatar for dr.4030

i wanna create news page in my project & i have to many newsletters for showing but i wanna show the certain numbers of newsletters in each page for example in each page i want to show 4 number of them. nevertheless i wanna create <next> page numbers <previous> for …

Member Avatar for diafol
0
25
Member Avatar for sujitrulz

Hi fellas i am in desperate need of fototrix or photofunia type of script i have already googled many thing but couldnt real one which could solve my problem..Help Pls..

0
39
Member Avatar for aci.herobo

I am trying to set up a form for potential students to give their information for a language academay. When I tested the form with <input type="text" name"Nombre"> type of fields everything went fine. As soon as I tried to introduced drop down menus or typ radio elements the data …

Member Avatar for antonioatt
0
213
Member Avatar for thecameraman

hello, I am trying to learn to create a login and log out profile. I am fairly new to php and web coding in general. I know the basics. I found a tutorial that logs you into a profile and then logs you out. I want to be able to …

0
120
Member Avatar for bettybarnes

Hi guys i'm new to PHP, I have been doing a simple login system using php, and now I'm face with this error "Could not select database because Access denied for user ''@'localhost' to database 'loginsystem'" anyone knows how to fix this?

Member Avatar for bettybarnes
0
1K
Member Avatar for IWDesigns

hi everyone... not sure if this belongs here or in the javascript section as it uses both js and php? move it if needed. anyway....i have a script that pulls the faq results from my database and shows them in order of categorie. what im trying to do is use …

Member Avatar for Matthew N.
0
179
Member Avatar for silvercats

[url]http://uom-leos.blogspot.com/[/url] This has facebook comment boxes under every post.When Some one comment on one chat box or post,it duplicates to other chat boxes too.duplicate comments on every post.help! how should i edit the page?

Member Avatar for silvercats
0
30
Member Avatar for charlesliumy

Hi, I'm trying to built / link 3 drop down menu's: but I can't seem to get the 3rd drop down menu, and the answer below to work right. can someone please offer some guidance? [CODE]<body> <?php $p=$_GET["p"]; $q=$_GET["q"]; ?><br> <select onchange="window.open(this.options[this.selectedIndex].value,'_top')"> <option >Select Your Topic</option> <option value="?p=1" <? if($p==1){ …

0
57
Member Avatar for garwil

Hi all... Am hoping someone can show me what I have done wrong here. I had a form with two select lists and one set of checkboxes that needed to get completed.. all well and good and it worked fine but I have eveolved the system and added a condition …

Member Avatar for garwil
0
578
Member Avatar for minitauros

In the ZEND Reference Guide I saw this: [CODE]$select = $db->select()->from('posts')->order('date_created DESC');[/CODE] Now I'm wondering: what does that second arrow do? What does using more than one arrow when working with an object do? And can I use it all the times? For example [CODE]$myclass->function()->anotherfunction()->hello;[/CODE]?

Member Avatar for minitauros
0
472
Member Avatar for shandoosheri

hi how can i include a range of numbered files like file1.php,file2.php,file4.php i have tried this code but it didn't work [CODE]<?php foreach (range(0, 7) as $fileno) { include "files/file" + $fileno + ".php";}?>[/CODE]

Member Avatar for cwarn23
0
116
Member Avatar for fernandodonster

How do we validate URL either with PHP/javascript? could u help me?for example, whether input text is in the format [URL="http://www.google.com/"]http://www.google.com[/URL] or not?

Member Avatar for prof php
0
588
Member Avatar for dr.4030

Hi, i wanna select some details from db and i wrote select query and i punted it in the while but, i wanna show the details in the columns instead of rows is there any body to help me ???? [CODE]$brush_price = 5; $counter = 10; echo "<table border=\"1\" align=\"center\">"; …

Member Avatar for broj1
0
55
Member Avatar for volum

I want to make a linkpage where visitors can enter their webpage (title-url-description) and there are a few downloadable scripts around, but all I have found are for reciprocal linking. Does anybody have a simple php script for this purpose?

Member Avatar for volum
0
297
Member Avatar for gaforhad

Hi all, I have two select field in a form.first one is "Zone" and the second one is "District".now what I want is that when I will select a zone from the first select field then only the destrict of the selected zone will be appeared in the second select …

Member Avatar for cwarn23
0
34
Member Avatar for JamesPublic

Hi all, I'm trying to insert an array (which I've decoded from a JSON object) into a mysql database (for the first time!) and keep coming back with a "Could not connect - Column count doesn't match value count at row 1" error message. My server and database connections are …

Member Avatar for JamesPublic
0
306
Member Avatar for davy_yg

[CODE] <?php echo $header; ?> <script type="text/javascript" src="view/javascript/ckeditor.js"></script> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <div id="content"> <div class="breadcrumb"> <?php foreach ($breadcrumbs as $breadcrumb) { ?> <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a> <?php } ?> </div> <?php if ($error_warning) { ?> <div class="warning"><?php echo $error_warning; ?></div> <?php } ?> …

Member Avatar for davy_yg
0
248
Member Avatar for wonderlhily

[code=php] <?php include("C:/xampp/htdocs/mySalon/connect_database.php");?> <?php if(isset ($_POST ['username']) && $_POST ['password']){ $username = $_POST['username']; $password=$_POST['password']; $query=mysql_query("SELECT * FROM admin WHERE username='$username'"); $numrows=mysql_num_rows($query); if ($numrows!=0) { while ($row=mysql_fetch_assoc($query)) { $dbusername=$row['username']; $dbpassword=$row['password']; } //check to see if they match! if ($username==$dbusername&& md5 ($password)==$dbpassword) { header ('Location: http://localhost/mySalon/admin/admin_page.php'); $_SESSION['username'] = $username; } else echo …

Member Avatar for cwarn23
0
139
Member Avatar for ebanbury

Hi This is just a straight-forward dynamic field, but I still can't seem to get it to stay sticky....I have tried all kinds of things, including [CODE]if (!empty($add_area)) echo......[/CODE] or equivalent fieldnames... Any help would be really appreciated...many thanks [CODE] <label for="add_area"></label> <select name="add_area" id="add_area"> <?php do { ?> <option …

Member Avatar for ebanbury
0
141
Member Avatar for DaveyMoyes

Hi everyone, looking for some advice please. I had a mkdir working great on a shared hosting account I had, I have since moved from a shared hosting account to a virtual dedicated server, now the mkdir is not working as previous. Before i moved server is was using a …

Member Avatar for cwarn23
0
273
Member Avatar for turpentyne

I'm completely stumped and going cross-eyed. I'm trying to add a second field for "bio" to edit in this script, but it doesn't work. It pulls the information from the database fine, and the bio field in the DB is a varchar field, not numeric. When I submit the changes, …

Member Avatar for diafol
0
83
Member Avatar for Infame

Hi. I'm currently trying to make a comment system. It works great, 'cept, if the user writes </html> or... any other html tag that doesn't close. Now, my initial idea was to convert string, i.e: space(' ', 32) -> &lpsb;, \n -> <br />. For that, I made an array, …

Member Avatar for diafol
0
167
Member Avatar for neovantage

Hello, I am using fancy upload in my application. I easily integrate fancyupload in my page as per advised in the fancyupload website. When i get response after uploading the file on server, i want to append the filename of uploaded file in multiple selectboxes in my page. I found …

Member Avatar for diafol
0
655
Member Avatar for blaaam

Hi! I'm start learn php and i have few problems what i can't fix it. Before i say what is my problem, YES i have search for my problem in google and other. So my question is how to make 1)table with few data column and after few column i …

Member Avatar for diafol
0
210
Member Avatar for Ravi tiwari

I want to know that wheather php is good or java for web apllication development?

Member Avatar for Tofayel
0
181
Member Avatar for roottybrian

I have php code running fine from the server. but if i use any mysql functions e.g. [CODE]mysql_connect()[/CODE], the server does not render the page. it keeps on "waiting for localhost...". what could be the problem.

Member Avatar for roottybrian
0
96
Member Avatar for Dragan.

[CODE]if(isset($_POST['addreservation']) and $_POST['addreservation'] == 'Add'){ include $_SERVER['DOCUMENT_ROOT'] . '/TattooSite/include/db.inc.php'; $username=$_SESSION['username']; //Geting the id of loggedin client $result=mysqli_query($link, "SELECT id FROM client_tbl WHERE user_name='$username' "); if(!$result){ $error='Error identifying user ' . mysqli_error($link); include $_SERVER['DOCUMENT_ROOT'] . '/TattooSite/include/error.html.php'; exit(); } $row=mysqli_fetch_array($result); $clientid=$row['id']; //Geting the values generated in reservation form $id=mysqli_real_escape_string($link, $_POST['id']); $tattoo=mysqli_real_escape_string($link, $_POST['tattoo']); …

Member Avatar for Dragan.
0
95
Member Avatar for reco21

hello. i've created this with help from a friend. |uid || id ||url| i have input fields to add the data. [CODE]<table width="100%"> <tr> <td width="140" style="padding:4px;">url 1:</td> <td ><input type="text" class="edit bk" name="urls[]" style="width:350px"></td> </tr> <tr> <td width="140" style="padding:4px;">link 2:</td> <td ><input type="text" class="edit bk" name="urls[]" style="width:350px"></td> </tr> <tr> …

Member Avatar for cwarn23
0
259
Member Avatar for davec271

Hi all. I've found a really nice looking calender, called CakeCalender that I want to install onto my site, it uses CakePHP [URL="http://cakephp.org/"]http://cakephp.org/[/URL]. I am having a problem setting this up and was wondering if anyone has used Cake before and if possible they would have a spare couple of …

Member Avatar for Reimo
0
267
Member Avatar for wonderlhily

[code=php] <?php session_start(); if (isset($_POST['submit'])) { // clean and check form inputs including the secure image code $name = trim(strip_tags($_POST['name'])); $email = trim(strip_tags($_POST['email'])); $comments = trim(strip_tags($_POST['comments'])); $secure = strtoupper(trim(strip_tags($_POST['secure']))); $match = $_SESSION['captcha']; // the code on the image // input error checking if ($name=="") { $err.= "Please provide your name<br/>"; …

Member Avatar for ko ko
0
101

The End.