39,320 Topics

Member Avatar for
Member Avatar for destroyerx15

hi i want to update or insert to my exit db that have patient id and staff_id i make lke this for my form : [CODE]<table class="table"> <form action="cheekbox.php" method="post"> <tr> <th class="th">ORDER_DESC </th> </tr> <tr> <td class="td"><input type="checkbox" name="checkbox[]" value="CSF"/> CSF </td> </tr> <tr> <td class="td"><input type="checkbox" name="checkbox[]" value="LFT"/> …

Member Avatar for destroyerx15
0
108
Member Avatar for belper

Hello, Could anyone help me with next problem: Visitors come to a website through a Clickbank affiliatelink http: //nick.vendor.hop.clickbank.net But they will land on different websites based on an URL parameter, for example http: //nick.vendor.hop.clickbank.net?x=prod1 they’ll go to www.websiteA.com http: //nick.vendor.hop.clickbank.net?x=prod2 they’ll go to www.websiteB.com http: //nick.vendor.hop.clickbank.net?x=prod3 they’ll go to …

Member Avatar for belper
0
856
Member Avatar for JustmeVSI

Hey guys. A few days a go I bought my self a notebook and installed Ubuntu 10.10. I have not used Ubuntu before and recently started using PHP. I have used EclipsePHP as my IDE on my windows machine. Long story short, I want to implement SVN between my laptops …

Member Avatar for packofsunshine
0
70
Member Avatar for didi00

Hi guys! I'm trying to make a PHP mailer and I have a little problem with the eregi() function. This is the code: [code] if (!eregi("^[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,6}$", $senders_email)) { $error = "1"; $info_error .= $lang_invalidemail . "<br>"; } [/code] and it gives me this error: Deprecated: Function eregi() is deprecated in …

Member Avatar for didi00
0
166
Member Avatar for PinoyDev

I want this javascript to directly compare the username and password of the user who login to mysql table that holds all the registered username and password.. [code=javascript] <script type="text/javascript"> $("#login_form").bind("submit", function() { if ($("#login_name").val().length < 1 || $("#login_pass").val().length < 1) { $("#login_error").show(); $.fancybox.resize(); return false; } $.fancybox.showActivity(); $.ajax({ type …

Member Avatar for PinoyDev
0
108
Member Avatar for PinoyDev

Good day! Ive been working with fancy box login and now Im almost at the point to accomplish it. I want to get the login username and password from the array that fancy box was created.. The main task is to pass the login username and password value from login …

Member Avatar for PinoyDev
0
150
Member Avatar for newbe123

Ive been trying to figure this out for 36 hours now. I have easyjobportal and everything works fine except when you try to apply for a posistion. When you click apply is redirects to "Internet Explorer cannot display the webpage" Please help... system_job_apply.php [CODE]<? $action = "apply"; setcookie("cjobs" , "-$job-" …

Member Avatar for newbe123
0
103
Member Avatar for patraghost

i got something really stange going on with mysql.look [CODE] <?php $numid=$_POST['numid']; $query1="select * FROM datatable LEFT JOIN datatable2 ON datatable.numid=datatable2.numid WHERE "; $connect=mysql_connect("xxx","xxx","xxx") or die ("Check your server connection"); $db_found = mysql_select_db("mydb",$connect); if ($db_found) { echo "Database FOUND <br>"; if (strlen($numid)>0){ $query1.="numid='$numid' AND "; } $query1=substr($query1,0,(strlen($query1)-4)); $result = mysql_query($query1); …

Member Avatar for patraghost
0
141
Member Avatar for seularts

I need some help with this one guys. I made a small script that inputs only numbers with 4 digits. Now the trick is that I need to input only numbers higher than 0 (ranged from 1 to 9999). Easy enough, I said, if I only make this rule: $val<=0. …

Member Avatar for diafol
0
143
Member Avatar for navi17

Hello friends, I want to built a website in php but i am short of ideas? Target audience:- Youth Can any one help? Thanks navi

Member Avatar for diafol
0
132
Member Avatar for Ghost

Hi Everyone! It's been a while since I've posted! Anyway, I'm building a website and I need one user to be able to pay another user, while a percentage of that money goes to me. Here's an example: Two Users: User A User B User A pays User B $100 …

Member Avatar for chrishea
0
175
Member Avatar for destroyerx15

hi i need to link my select to another page (form) i write : <? session_start(); if(!session_is_registered(myusername)){ header("location:main_login.php"); } ?> <html> <link href="style.css" rel="stylesheet" type="text/css"> <body> Login Successful <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("project", $con); $result = mysql_query("SELECT * FROM patient"); …

Member Avatar for destroyerx15
0
89
Member Avatar for panhwer

hi guys.. I mostly use resources variable when fetch data from database... But I don't have clear concept about resources variable , How it work , what is it's nature.. Can anybody tell me about it nature.

Member Avatar for pritaeas
0
57
Member Avatar for zubaircs

Occasionally I have had trouble sending emails using the builtin mail() function in PHP. Sometimes emails never reached their intended destination. Naturally I have assumed that there might be a problem with some spam filters used. However, lazy as I am, I have not given it a second thought. Instead …

Member Avatar for twiss
0
274
Member Avatar for rolyestemonio

Hi Guys...can anyone help me out? I just to have the list of topics. Example: About Nature About man About Society Now, this is what i want to do...if I will go to each of it. I can post comment of each of them. And when I view one of …

Member Avatar for rolyestemonio
0
129
Member Avatar for razgrizz25

Undefined variable: no in C:\xampp\htdocs\war\cPanel\pollingTampil.php on line 28 [CODE]<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Daftar Polling</title> </head> <body> <table width="702" border="0" cellspacing="1" cellpadding="2"> <tr> <td width="58">no</td> <td width="232">pertanyaan</td> <td width="122">op1</td> <td width="104">op2</td> <td width="96">op3</td> <td width="59">&nbsp;</td> </tr> <?php include "inc.session.php" ; include 'C:\xampp\htdocs\war\librari\inc.koneksi.php' ; $sqlTampil = "SELECT * FROM polling …

Member Avatar for ko ko
0
177
Member Avatar for destroyerx15

hi guys im beginning in php im using dream waver and php my admin i have problem for insert when in insert it give me two record i want to be in same record to insert for my form :[CODE] <table class="table"> <form action="11.php" method="post" name="form2"> <input type='hidden' name="ORDER_DESC" id='hidden' …

Member Avatar for svilla
0
385
Member Avatar for abhi10kumar

I need to join 3 tables (superseller, adexmart and generictable) and fetch following fields from above 3 tables: 1. url, price from table superseller, and 2. url, amount from table adexmart where 3. pid='somevale' from generictable a. superseller table url, price, id (fields) b. adexmart table url, mount, id (fields) …

Member Avatar for blocblue
0
98
Member Avatar for alexia_net

Hi. I am trying to send the name of a file which is going to be launched for execution using a script from a *.js file. So in the original *.php file i have imported the *.js file like this: [CODE] <script type = "text/javascript" src = "getListsInfo.js"></script> [/CODE] Then, …

Member Avatar for alexia_net
0
210
Member Avatar for lokodomain

Hey guys, creating a simple script for registration and login. Managed to get the registration form working and adding users to a simple 4 table database. Having problems with the login form. I am not sure how to write the code that validates the user and password because every time …

Member Avatar for jogesh_p
0
192
Member Avatar for RazorRamon

Im thinking about taking on a chat room php based project. I want to make sure my logic is right though. This is very raw so please feel free to contribute if you see any problems that might occur. [B][U]MYSQL[/U][/B] [U]TABLES[/U] Username chatroom1 chatroom2 etc.. [B][U]PHP[/U][/B] [U]Sign up.php[/U] Insert username …

Member Avatar for FreddieBambino
0
176
Member Avatar for altarek

Hello I want to make cron job for php page Every day at 12 am how can i do that?

Member Avatar for vibhaJ
0
48
Member Avatar for dubery

Hi all, I have been trying to remove the URLS with [url]http://www.CHickenHead.com[/url] that have areguments ?s= and ?sul= fromt some text. I can remove them but it is not case insensitive on the domain name part. How can I modify this regex? I have tried (chickenHead.com)i but this doesen't work. …

Member Avatar for dubery
0
325
Member Avatar for sarz87

Would appreciate any ones help or advice!! We have a website for our business where customers log in and book their children on to an activity course. At the moment they have to re enter the childs data every time they want to sign up for the course, however what …

Member Avatar for karthik_ppts
0
144
Member Avatar for MoreBloodWine

[url]http://www.myu2sig.com/checkit.php[/url] The below code is from the above URL, what I would like to have done is have some code added that takes the (Delete) beside each name and turn it in to a clickable link that deletes ONLY the mage it's attached to. So if delete is hit for …

Member Avatar for diafol
0
100
Member Avatar for Loved

I'm creating a form: Page 1 has multiple input fields, as well as dynamic form fields (using jquery load to add additional inputs as necessary). Page 2 reads these inputs and sets the values to a session variable (the only values I'm storing in the session are the dynamic inputs). …

Member Avatar for vibhaJ
0
93
Member Avatar for yongj

So I have this code for my webpage but whenever I put in the "include" php code [CODE]<?php include('include/mysqli.inc'); ?>[/CODE] everything below that disappears. Basically I'm trying to enter in the appropriate variable data from the quotes database that I'm using into the correct table fields. But I can't do …

Member Avatar for urtrivedi
0
195
Member Avatar for yongj

I was wondering how you take a value given by the user via textbox/form/etc, and propagate it to other links within my webpage. For example, I'm building a website that retrieves stock quotes. I have a form where the user can type in a stock symbol (i.e. GOOG, MSFT, KKD, …

Member Avatar for FreddieBambino
0
141
Member Avatar for DarkBerzerk

Hey All, I'm making online simple fighting game, this script is the attack.php which calculate the atk from the primary weapon and secondary weapon and calculate the def from the equipped armor and get them from the db what i want is if i add new item like Shield and …

Member Avatar for FreddieBambino
0
187
Member Avatar for begueradj

Hello people, If I want to access to my admin back-end, you will get a form to input your name and password. I have created a class that sets my session in a file called [CODE]StartSession.class.php [/CODE]here it is: [CODE] <?php class StartSession{ static $admin_s; static $password_s; function __consrtuct($admin_session,$password_session){ session_start(); …

Member Avatar for burgercho
0
180

The End.