- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Hi, I am pretty new to php. I am trying to get a result from a database display as a link with php tags in it. however I am getting this error: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' on line 53 I don't know what it's … |
|
Hi, I am not sure if this is possible in css or it's a javaScript thing. I have a page where it has many images, If you hover over the image the details of that image appear to the top left. However when the images are over next to the … |
|
Hi, I'm a real javascript newbie, good with php. I am trying to utilize onmouseover, and onmouseout with div's and text. the goal is: when you hover over some text in a <div> it displays other text and then if you hover off it, it keeps the text there. It's … |
|
Hi, I am really new to javascript, really starting to learn it now, so be nice. :) am wondering if it's possible to find out if a user clicks the (X) to close the window or browser? and also if it's possible to find out if they navigate away from … |
|
Hi, I would like to put paypal on my site. I am not sure what I should go for, as its so poorly layed out i can't understand exactly what each product does. What I want to do is: -> When someone clicks on the `payNow` button, a screen pops … |
|
Hi, I am trying to set up a email reminder thing that sends a email to a user after 7 days then also after 6 or 12 months. Not sure if php can do this or where to even start. I know its possible, however is it a script that … |
|
Hi, I have built an entire site with my localhost on my computer, as you do. and everything has worked fine. I have no issues. and still dont' However, I just uploaded it, and am getting this error: [CODE] Warning: Cannot modify header information - headers already sent by (output … |
|
Hi, I am trying to set more than 1 variable in a $_SESSION however I can't seem to get it to work. I also can't find anywhere, if it's actually possible to have 2 sessions set at the same time. Hence the Question. So can you set 2 sessions at … |
|
Hi, I am trying to get something up where by: -> It dynamically displays input text fields that can be edited. -> However I need the current id as well as the current value to display -> when a person submits the form, it updates all / or only each … |
|
Hi, I am about to blow my brains out. Im sure you've been there! I am trying to create a table in my MySQL database and getting this error -> SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds … |
|
Hi, I am pretty new to php and am not sure if what I am attempting to do for a client is possible. Hoping to know if anyone knows if it is and a solution? I want to: - upon registering a new user create a new folder using their … |
|
Hi, I am having a bit of trouble getting my fetch(PDO::FETCH_OBJ) to print the way I want. I am also unsure if fetch(PDO::FETCH_OBJ) is the right thing to use. Code below. [CODE] $sqlTotal = "SELECT SUM(price) FROM `$user` WHERE `cart`=1"; $total = $conn->query($sqlTotal); $total->execute(); $totalResult = $total->fetch(PDO::FETCH_OBJ); $totalResult = print_r($totalResult); … |
|
Hi, I am using some code that I use pretty much most of the time for every insert. However now I am getting this error and have no idea why this is happening. SQLSTATE[42S22]: Column not found: 1054 Unknown column 'NULL' in 'field list' My code is below. [CODE] $id … |
|
Hi, I am trying to get money to display correctly with the decimal points in the right place. I have read the PHP manual, but just don't get it. I want to do 2 things: 1: if someone types in 123.23 -> I want to remove the '.' (so it … |
|
Hey, I am having real trouble with this code, and for the life of me just can't see or figure out why this won't work. It works every other time I have done it. I have checked, double checked, tripple checked the table it's coming from. I'm as lost as … |
|
Hi, I am trying to get some info form my database. I want to see if there is an entry with a certain product_id that also has another column marked as 1. I want to display the number of rows that contain that combination. I have tried a few different … |
|
Hi, I am trying to make a list of products with the product heading at the top. and trying to make it dynamic. I have put a foreach() inside another foreach(), I have all the info in the database, however nothing is displaying. So I am stumped.???. $sql = "SELECT … |
|
Hi, I am getting this error: Warning: implode() [function.implode]: Invalid arguments passed in ... on line 28 I am not sure if what I am doing is possible or if I have shanked the code somehow.. if(!isset($_GET['b'])) { ///// DISPLAY THE NORMAL PROMOTIONAL HOME PAGE } elseif($_GET['b'] == 't') { … |
|
Hi, I am trying to display results from a MySQL database, in a block. Basically, I am trying to achieve: - all the same brand to display in line with each other. - Then this to be repeated for as however many brands their are. However, Each brand has X … |
|
Hi, I have built a form that send the info to the database. However I need the form to put the id of the entry into the url so I can get it on the next page. so that I can add more info. The form goes over 2 pages. … |
|
Hi, I am wondering if there is a way to check if a url has an $_GET[] attached to it. I would like to: 1- Send the url from a search option in the site through the url. However the search page can search 3 different things, "X", "Y", "Z". … |
|
Hey, I am having trouble with some code I am using. I have used this same code on a different site but it doesnt seem to work now on this site. I am trying to insert something into my database. however I keep getting this error: SQLSTATE[42000]: Syntax error or … |
|
Hi, I would like to set up a html email that gets sent to a mailing list for a client. However I have never done this and am really unsure about where to start. The way i am intending it to work, is for the client to just click a … |
|
Hi, I am javascript newbie. I have a slideshow on my site and it works fine if I type in the images for it to display, however I want to get the image files path from my database, so it shows all the photos. Here is the code I am … |
|
Hi, I am very very new to JavaScript, and really am just starting to learn how it works. I found some useful code that I have used on another site, however now I want to use it twice on the same page, but for a different image gallery. it obviously … |
|
Hi, I am developing a website for a club and I am trying to get the next games to show up. I am trying to get some info out of one database and then use that info as a key for the next query, then display all the results that … |
|
Hi, I am trying to set up a section on a site where the results that are shown come from a table. I want to get the number of the 'current_round' then subtract 1 from it and use that value. I have looked up MySQL dev site, and assume that … |
|
Hi, I am trying to display some results where one column is equal to another column in a table. End goal: display all the results where the round and current round are the same number for every team in the table. the number of teams will change as the number … |
|
Hi, I am having real trouble trying to figure out how I can add multiple rows into a MySQL database at one time. I have a form where the person selects a number from the drop down options. then I need to add that amount of new rows into a … |
|
Hi, I am pretty new to php. On my site, I have set up a form to store images in a database, it works fine, and the images are stored in there as BLOB files. However, I can't work out how to display the image from the database. I want … |