38,020 Topics

Member Avatar for
Member Avatar for Thyvo

Hello, I looking for a piece of code to chop a string into a array with 2 or more delimiters example: this is the text and I want to chop [!FIRST!] here and a bit later [!LAST!] here and if its posible (its not required) [!OPTIONAL!] chop it here and …

Member Avatar for Thyvo
0
204
Member Avatar for rohittripathi

how to search in php by using alphabetic charecter in php i have code which show alphabetic like A to Z but how to search data by using thi alphabetic code is below:- <?php for ($i = 65 ; $i < 91 ; $i++) { printf ('<a href = "%s?result.php?$i=%s">%s</a> …

Member Avatar for twiss
0
460
Member Avatar for branding4you

this has got me stumped, i have a simple few text boxes that users type in the hotel name. Some names have special char in them like: L 'Ermitage I have two tables, the Top3 table has data that i display to users The details are where the main data …

Member Avatar for twiss
0
357
Member Avatar for Fresco Vivir

Greetings everyone i'm new to php and this is what i want to do if you can help me , i have a DB on my web server and there are two column one for the name of the product and the other for the id of the product , …

Member Avatar for Jiaxin
0
101
Member Avatar for jatpatel1

Hi there, I am currently facing some problems with return carriages. I have an address already in a table in the database which has return carriages. Now when you echo the address out it will loose the return carriages and instead will put it all on one line. I have …

Member Avatar for urtrivedi
0
87
Member Avatar for ibakir

guys chk out that link its really hard to solve :O [url]http://businessadmingroup.com/molham/edary.php[/url] i have windows 7 and calling my database from online SQL :'(

Member Avatar for urtrivedi
0
92
Member Avatar for kalambe

Hi everybody , i'm newbie in this forum :) i wanna ask about how to make link in notification email like facebook's notification email? thanks

Member Avatar for diafol
0
119
Member Avatar for matthewkeating

Hello all, I have just converted from Windows to Mac and have been a longtime user and fan of NotePad++. I had heard of a way to run it on a Mac but am having the hardest time finding it. Is this possible? And if not, what are some FREE …

Member Avatar for dekarvn
0
217
Member Avatar for ayathullah

Hi, I am using the twitter api to retrieve some data. I'd like store my followers latest status tweet containing that hashtag #RT and the mention of my name. The staus ID can be retrieved via $xml->status->id. In the code below I'd like to php to search for certain words …

Member Avatar for twiss
0
187
Member Avatar for Spyzker

Parse error: syntax error, unexpected T_CASE in /home/redlimbc/public_html/M2H/article.php on line 757 [CODE]<?php break; case "yorumonay": $id = $_GET['id']; $yorum_adsoyad = str_replace("'", "'", $_POST['yazan']); $yorum_email = str_replace("'", "'", $_POST['mail']); $yorum_yorum = str_replace("'", "'", $_POST['yorum']); $tarih = date("d.m.Y"); if(($yorum_adsoyad == "") or ($yorum_email == "") or ($yorum_yorum == "")){ echo '<script type="text/javascript">alert("Bo? …

Member Avatar for diafol
0
118
Member Avatar for Jollyyy100

Hi, im currently designing a form on dreamweaver and it allows a client to enter their Name, Email and Comments. At the same time i want this data to store in my mysql database which i created. The php code that i used is shown below, but the problem is …

Member Avatar for diafol
0
149
Member Avatar for NuGG

Im new to php and have been struggling with this for some time, but I expect its something simple. Basically I have some code below which I want to use to display an events board. -Info for each event comes from a separate xml file for each event. -XML files …

Member Avatar for NuGG
0
213
Member Avatar for destroyerx15

hi im asking if it can insert form to submit and another form to be submit as the same record in db can any help to show how to make in code ? and tanx

Member Avatar for diafol
0
59
Member Avatar for xxgrplayer

Hello guys, i am a very beginner php developer (i know only the basics) and i am trying to create a website about betting which will retrieve info from mySql databases. the problem is that i have stored some variables (which are written in greek) in databases and then when …

Member Avatar for xxgrplayer
0
2K
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
847
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
163
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
107
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
139
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
102
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
139
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
174
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
273
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

The End.