39,326 Topics
| |
Hello again :D Now that I have my member's profile, how can I let other members post comments/messages on his profile? Thanks, | |
Hi, I use an example to explain what I mean. Logo of Google is an image. Is tere any way of reading that logo and print Google on the screen? Thansk in advance [CODE]$content = processImage("google.png"); $textInsideLogo = extractText($content); echo $textInsideLogo; //This should print [[B]Google[/B]][/CODE] | |
Hello friends, I want to know how to open a pdf file in PHP when a user clicks on that pdf link. Like [B][U]Rules pdf [/U][/B]when a user click that link,in the next tab pdf file of rules will open Thanks | |
How I can write down a code which uses two Two AJAX-es in combo-boxes? For [B]Country[/B], when user clicks Country combo-box, [B]State Combo-box[/B] will fetch with respective Country, and if when user clicks [B]State combo-box[/B], [B]cities Combo-box[/B] will fetch with respective State. All data will came from database. I successfully … | |
Hi i have developed a photo gallery in php and now i want to add comment section to those photos in the gallery.Actually i have table to store the comments regarding the particular image.I'm able to retrive the recent comments for the image,but the problem here is i'm not getting … | |
when i try to update my table i get the following error: Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Beste witte wijnmaker van de wereld' door het toonaangevende Engelse Wine … | |
Hi, i have just transfered to a different host and there servers use CGI Scripts to parse the php code, however the last host didnt and on uploading my site to the new server it is displaying all my code as text after i use include('includes/header.php'); Any help in this … | |
| |
//I used the following command to hyperlink: $result_id1 = mysql_query("SELECT * FROM query order by case_id"); for ($i=0; $row1=mysql_fetch_array($result_id1); $i++) { //case_no is a field in the table "query" echo "<TD><b><a href='http://localhost/test/details.php?case=$row1[case_no]'> $row1[case_no]</a></b> </TD>"; } //now the file details.php is something like: $case= $_REQUEST['case']; // after the connection and all … | |
Hey there, Now I have my member Logged in, now After he logs in he is taken to his profile, now I want to Show his Full name and Email... knowing that I already created a database and everything... here is the code im talking about: [CODE] $result = mysql_query("SELECT … | |
Hi!! This is some of the code I am using to add dynamic rows when user clicks the Add Row button.I want to show the calculated amount like: line_total=qty*unit_price; sub_total=total of line_total; total=sub_total+tax-advance; [CODE]<script type="text/javascript"> function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; if(rowCount<3) { var row … | |
Alright, another post. This one seems to be the most complex thing I have ever tried. So, I am making a site where a user can post jokes and vote on them. They can only vote up, so a digg like system. I want the users to be able to … | |
Hey. I'm trying to open a dir under safe mode. and i keep getting this error : Fatal error: Uncaught exception 'RuntimeException' with message 'DirectoryIterator::__construct() [<a href='directoryiterator.--construct'>directoryiterator.--construct</a>]: Unable to access /home/mypath/mysite.com/public_html/path/to' in /home/mypath/mysite.com/public_html/site/loaddir.php:7 Stack trace: #0 /home/mypath/mysite.com/public_html/site/loaddir.php(7): DirectoryIterator->__construct('/home/mypath...') #1 {main} thrown in /home/mypath/mysite.co/public_html/site/loaddir.php on line 7 my question is : … | |
Hi! I'm unable to connect to my ODBC data resource from PHP. The code I have written is given below. Secondly, I'm not sure what username and password combination to use in the odbc_connect function when the ODBC data source is MS-Access. Joy. [CODE] $connect = odbc_connect("SerMas", "Joyji", ""); # … | |
Hi I'm trying to parse a recordID from a table of data in one page and pass data based on the chosen record to another page. The data is taken from a database and I've used recordsets: I have one recordset called rs_search which contains data from 2 tables called … | |
Hi! I'm pretty far from the best coder in the world, but I recently moved to a new host and re-uploaded my files. I was clicking around to check that they still worked and noticed one of the pages wasn't loading properly anymore. When I look at the code, it … | |
I have a script that I am using to retrieve zip codes within a certain radius using a foreach php statement. However, with these zip codes that I am getting, I want to add a comma between each value (for example: 11111,22222,33333) to use in a SQL query using the … | |
I am trying to create a page where a registered user can go, view the information from their profile, and update that information if necessary. I've started putting something together however it's inefficient in my opinion. Here's what I'm trying to figure out: [LIST=1] [*]Is there a way to check … | |
I copied this code from some forms that work and changed some information to apply to the new situation but something is wrong. The form "editreg.php" seems to be working fine. It populates the fields correctly. When it gets redirected to "editregsubmit.php" I get the message that the record was … | |
I am in the process of creating a website in PHP/mySQL and the next thing I wanted to tackle was creating an option for users to be able to upload a small avatar (maybe max of 50x50 let’s say). I’m not as familiar with how images are stored/retrieved in a … | |
I suspect there isn't a way to do this, but in case there is: Does anyone know how to pick up all the possible set values for a particular field from php? The reason I'm asking is that it means adding a new set value will not break all the … | |
how it works ? it is activated in Word press Plugin Directory but asking for license is it beneficial for SEO point of view? | |
Hi I have LAMP stack as server and doing my development work on windows. What version system would be perfect in this scenario? Thanks | |
Hi i have a php script that create a new user account on my online backup server via a api, when i open in i.e or firefox i get this error message Parse error: syntax error, unexpected $end in /home/public_html/123-backup.com/test.php on line 297 I' am not sure what is missing … | |
hi guys, i wanted a table to get created with the table name submitted from the form. how shall i go about this, i have tried it with my basic knowledge its here bellow but it dint work well, please help me anyone. [CODE] <?php if (isset($_POST['update'])) { mysql_connect('localhost', 'root', … | |
Hi, I cant sent email using smtp and php. I am using one form with email,subject message, etc i want to sent an email to that email (in form) while submit button click. I am givin the code bellow(only php) [CODE] if(isset($_POST['Submit'])) { require ("req_mail.php"); $from = "support@somecompany.com"; $to = … | |
After successfully creating a Registration/Signin/user profile... now I am assigning a profile picture for a user ... I have a question... Everytime I hit upload it doesnt upload I added an "echo' to say if no file is chosen "Please Select a file", it shows this even when I select … | |
i made a dropdown menu on top of my page, i thaught everything went well. you can see the example @ [URL="http://www.thijscream.nl/wijnkado"]http://www.thijscream.nl/wijnkado[/URL] the only problem is that the page is kinda wide, so the menu isn't centered. is there a solution for this? this is my menu: [CODE]<div id="menu"> <ul … | |
Hi I cannot figure out the results when the code reaches at line 41 (while loop) . ! it throws an error. displaying records of two different tables, want the solution but with the JOIN statement. Thanks, and kindly look into the Attachment file as it contains jpg file. | |
I want to replace a part of a string but ignore some other parts of it. I have pattern but don't know how to use it. [CODE] $message = '<div class="sacred">http://www.daniweb.com/ is inside the div tag so I do not want it replaced.</div>http://www.google.com/ is outside the div tag so I … |
The End.