Jump to content

kruzayn

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

kruzayn's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. [!--quoteo(post=371723:date=May 5 2006, 05:09 PM:name=ober)--][div class=\'quotetop\']QUOTE(ober @ May 5 2006, 05:09 PM) [snapback]371723[/snapback][/div][div class=\'quotemain\'][!--quotec--] Add single quotes around $sku. [/quote] i knew it was something stupid, had been at it for quite a few hours, ran it and that part failed. Thanks! kruzayn
  2. [code] //get product ID for just entered item $sqlgetid= "select product_id from jos_vm_product where product_sku=$sku"; $productid=mysql_query($sqlgetid) or die ("FAILED2");[/code] Can anyone tell my why this is failing? I am entering items into a database, with product_id being automatically assigned. the line above this one works and enters them like needed into the DB, but this one fails. I need to store the product id (ex: 1567) in $productid. Thanks for any help! kruz
  3. I have a PDF right now that is 400 pages long. It contains advanced item information. On an ecommerce website i want to link to the product info of only the product that is being looked at and not all 400 pages. I am willing to do the work to make it easier, but creating 400 individual html files isnt what i want to do. What is the best way to do this with PHP/MySQL. Thanks for any feedback, i really appretiate it. Kruzayn
  4. I am kind of new to PHP, and have come upon a task. We have a large (400 page+) PDF manual with product information listed. We have an ecom website, that offers descriptions, but we would like to link to the very detailed info if they want it. If i was using HTML i would anchor and call the anchor so they can just see the part they need. But 400 pages seems like too many. I would rather have them click the link and only be presented the information that is relevant. Is there a way to put in some sort of anchor in PHP, that will, on call of the page, only display the part that is needed. Here is my example (very very rough and wrong syntax and wrong code): sku 7145 page.php: (anchor 7144)Item 7144 INFO INFO INFO (end anchor of some sort) (anchor 7145)Item 7145 This is the information that i need (end anchor) Now onc all of page.php?7145 (this is just an example) it would only display: Item 7145 This is the information that i need. I know im probably really far off base, but that is what i was looking for. I can comvert the pdf to text then make it php. Any insight would be greatly appretiated. Thanks, Kruz
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.