38,021 Topics

Member Avatar for
Member Avatar for leemyers

blem I have a probem with my api signup page, the below code $this->obsConfig.... is not working i think it is outside a call but not sure how to put it in a class anyone know how to wrap this up? [code] $this->obsConfig['apiCall'] { ='AddUser.do'; $command = ""; if (!isset($obsAccount['username'])) …

Member Avatar for phper
0
79
Member Avatar for d3rck

Hi everyone, Edited: So I figured out how to show the submit buttons. My next question is how to incorporate a security measure like html_entities in the action of the form? [CODE] <?php require ("core/config.php"); $tablevaluegetter = mysql_query("SELECT * FROM ratingsystem WHERE typeofsite='somthingtorate' ORDER BY ratetotal DESC"); echo "<table border='1'> …

Member Avatar for d3rck
0
226
Member Avatar for rohit b k

hi guys, i want to express the data which is extracted from database in a table in the following fashion item1 item2 item3 item4 item5 item6 item7........... ............itemn dynamically but i can express either row wise or column wise but not as shown above please help me with the code …

Member Avatar for sudeepjd
0
96
Member Avatar for ryanduong

Hi, I hope someone here can help me with this problem. I want to create a button in my site such that when it's pressed, the site database will be exported to an excel file. The codes to export database I got works fine but when I try to merge …

Member Avatar for ryanduong
0
4K
Member Avatar for blackberrycrazy

in a database for a company,what technology is best for enabling for examples certain staff memebers to make bookings/access the database from any location using a **Browser**? how do i implement this and how can i make it work? please HELP! p.s i have been researching and thinking creating a …

Member Avatar for blackberrycrazy
0
137
Member Avatar for tcollins412

i need help with a project im working on. im writing a task manager for school, and lets say i have a section for the due-date. How would i write a calendar that pops up like in Google tasks or phpmyadmin when you go to insert a date. thank you.

Member Avatar for diafol
0
104
Member Avatar for mastermind2

Hi all my friend. i am new in PHP .i am working on open source job portal . i want to ad a common feature dynamical registration from . so that any one can ad any field in registration from from admin. Please Help me do do that . If …

Member Avatar for diafol
0
173
Member Avatar for arshalan

hi, Php developers , need a help here. how to make php shortuts in [code]%shortcuts%[/code] or [code]:shortcuts:[/code] ? I know only a shortcut of [code]$shortcut[/code] But this is not usefull . Thanx in advance :)

Member Avatar for arshalan
0
161
Member Avatar for tcollins412

i need help with something lets say i had a url: [url]http://domain.com[/url] and it was supposed to go to the page [url]http://domain.com/loggedin.php?goto=hi[/url] how would i make it so in the browsers url bar, it only says [url]http://domain.com/?goto=hi[/url]

Member Avatar for chrishea
0
202
Member Avatar for Daniel Liwonde

when I visit some websites I see that their menu bar seem to be a single bar (like an image ) with some demarcations but once you move the mouse over it that part only changes into another color to indicate that the mouse points to that link.How is this …

Member Avatar for diafol
0
84
Member Avatar for facarroll

I am writing a script to register users, but I want to add an incrementing suffix to each duplicated name. The script works and posts to the database. On entering a name for the first time, everything is OK, but when I enter a duplicate name from then on, the …

Member Avatar for diafol
0
118
Member Avatar for Violet_82

Hi there, I have developed (with some invaluable and greatly appreciated help!) a comment box using Java script (see bottom of this page [url]http://www.antobbo.webspace.virginmedia.com/webediting/documents.htm[/url]) but I would like now to be able to receive comments via email. At the moment if you click on the comment button it opens the …

Member Avatar for Violet_82
0
123
Member Avatar for Aser Gado

Okay so I set up a registration form and everything goes well when registering but when I go and check in MySQL database the row is created but only the id field is filled not the First Name, Second Name, Email and Password. Here's the .PHP for processing the registration …

Member Avatar for pzuurveen
0
113
Member Avatar for fuston05

Was curious how to validate a phone number input field? Currently I am requiring that the phone # format be (5555555555) so that i can simply say if(is_numeric($phone_num)) so then when i retrieve it from DB i must manipulate the string to format it properly"(555)555-5555" But i was thinking it …

Member Avatar for fuston05
0
72
Member Avatar for niths

hi all, i am integrating facebook to my website so that user can login into facebook and get his photos from facebook to my website.. so how can i do that can anyone help me.. Thank u..

Member Avatar for niths
0
222
Member Avatar for ymsweb

Hi all, We are having problems in the shopping cart created. It says "Shopping cart" is empty some pc's but on some pc's it is functioning properly. The shopping cart is working from my side but from client side (on client's pc's) it is some pc's working and some pc's …

Member Avatar for pzuurveen
0
203
Member Avatar for jacob21
Member Avatar for ngantuk

help me plzzzz.. mine got problem.. [CODE]<?php $Ticket_No = $_POST['Ticket_No']; ?> <form enctype="multipart/form-data" method="post" action="daily_update.php?id=<?php echo $Ticket_No ?>"> <table width="50%" border="1" cellspacing="3" cellpadding="0"> <br> <tr> <td align="center"><strong>Status</strong></td> <td align="center"><strong>Asignee </strong></td> </tr> <?php require 'connectDb.php'; $query = "SELECT * FROM daily WHERE Ticket_No= $Ticket_No"; $result = mysql_query($query,$db); var_dump($result); die(); //$result = …

-1
36
Member Avatar for Aser Gado
Member Avatar for Daniel Liwonde
0
196
Member Avatar for divyakrishnan

Hi.. I had successfully connected MySQL database usng ADODB.But I could not connect Using PostgreSQL database with ADODB.I had used the following code for connection. [CODE] <?php include("adodb/adodb.inc.php"); $db = NewADOConnection('postgres'); $c=$db->Connect("localhost", "postgres", "postgres", "dbname"); $db->debug = true; if(!$c) { echo "not connected"; } else { echo "successfully Connected"; } …

0
71
Member Avatar for yamot47

[CODE]echo ("<tr bgcolor='B0C4DE'>"); $value=$row['idbook_code']; $author=$row['b_author']; $book=$row['b_name']; echo ('ISBN : '.$row['idbook_code'].'<br/>'); echo ('Title : '.$row['b_name'].'<br/>'); echo ('Author : '.$row['b_author'].'<br/>'); echo ('Books Available : '.$row['b_avail'].'<br/>'); if($row['b_avail']>0) { if (!$_SESSION["valid_user"]) { // User not logged in, redirect to login page echo("Available".'<br/>'); }else { echo("<input type='hidden' name='idbook' value='$value'>"); echo("<input type='hidden' name='author' value='$author'>"); echo("<input type='hidden' …

Member Avatar for yamot47
0
103
Member Avatar for remshad

hey , yesterday i installed fresh apache and php in CentOs 5.5 pc , my problem is my php is not working well ,, every time showing errors .....how i solve this error please help me ... for eg: while i run a simple code snippet [CODE]<?php echo "php execution …

Member Avatar for remshad
0
119
Member Avatar for madval88

I have a Mysql database and I am trying to import multiple records with multiple columns into Flash AS3 using PHP. My problem is I am able to make it work with a single column and multiple records but for multiple columns I am not being able to format it …

0
88
Member Avatar for nats01282

im trying to create a form that redirects the user to anther page and also stores the information in the database. here is the code [CODE]<?php mysql_connect("localhost", "DBname", "Password") or die(mysql_error()); mysql_select_db("DBname") or die(mysql_error()); // Retrieve all the data from the table $result = mysql_query("SELECT * FROM players") or die(mysql_error()); …

Member Avatar for nats01282
0
187
Member Avatar for joshyxux

[CODE]//this function generates the distinct random numbers for the 25 requirment function unique_rand_numbers($numbers) { for($i = 1; $i = 40; $i++) { $numbers = $i; } $array = array(); //get unique random keys from $numbers array. $rand_keys = array_rand($numbers,25); //this sorts the distinct random numbers taken from $numbers in random …

Member Avatar for diafol
0
78
Member Avatar for jacob.irwin

I am getting the Error Registration message... why? [CODE]<? session_start(); include("database.php"); /** * Returns true if the email has been taken * by another user, false otherwise. */ function emailTaken($email){ global $conn; if(!get_magic_quotes_gpc()){ $email = addslashes($email); } $q = "select email from users where email = '$email'"; $result = mysql_query($q,$conn); …

Member Avatar for diafol
0
151
Member Avatar for oxenjo30

hi guys, i'm having this kind of problem Warning: Cannot modify header information - headers already sent by (output started at /home/deleted/public_html/affiliateomega.com/face-fans/style.php:4) in /home/deleted/public_html/affiliateomega.com/face-fans/facebook.php on line 378 i really don't know why what's wrong, i've already check if their is a space or blank line but i got no clue …

Member Avatar for oxenjo30
0
204
Member Avatar for tape enterprise

How do I handle multiple files uploads I know how to upload them but then I want to know how to output like the photo's into the blog post. currently I know how to upload a file and put it in one place into a page template but what wopuld …

0
75
Member Avatar for rkayd

This seems like it should be a simple thing to do but I can't seem to find any information on what codes to use. I want to be able to enter a record, submit it through php to a database then continue entering more records using the same form - …

Member Avatar for rkayd
0
2K
Member Avatar for toasty525

Hi, I have the following .htaccess file in the directory <domain>/ss/c/ [CODE] RewriteEngine On Options +FollowSymLinks RewriteBase /ss/c/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /ss/c/index.php [L] RewriteCond %{HTTP_HOST} !^www\.sexspinner\.com [NC] RewriteRule ^(.*)$ http://www.sexspinner.com/ss/c/$1 [R=301,L] [/CODE] and a index.php file with the following PHP [CODE] <?PHP $cat = $_SERVER['REQUEST_URI']; …

0
79

The End.